Re: SUMIF() with AND() function??

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Ron H (Ron.H.182tah_at_excelforum-nospam.com)
Date: 06/19/04


Date: Fri, 18 Jun 2004 21:29:07 -0500

You're referring to the unary operators.
Essentially the "double minus" coerces TRUE into -1 and then 1.
A FALSE remains 0.
Do a search for "unary" operators on the newsgroup.
There was one good discussion at
http://tinyurl.com/3d6tk

Ron Hekier

Ann Scharpf wrote:
> *Thanks, Peo, I will try that. I did look in the help
> under SUMPRODUCT() but I didn't get the impression that it
> would help me.
>
> I am assuming you mean the dashes to be in the formula.
> What do those mean?
>
> Thanks again.
>
> Ann
>
> >-----Original Message-----
> >One way
> >
> >=SUMPRODUCT(--(System="difms-c"),--
> (LaborType="maintenance"),Reg)
> >assuming you want to check the 2 first ranges for your
> criteria and when TRUE sum the 3rd. *

---
Message posted from http://www.ExcelForum.com/

Quantcast