I have a simple sumif formula which I can't get to sum. My current formula is
=SUMIF(M3,"x",F3:G3). What I want to do is check to see if cell M3 has an x
in it; if it does I want to add the values in cells F3 and G3. Now all this
formula does is check for the x in M3 and puts the F3 value in the cell. It
doesn't add F3 and G3.
Jim
RagDyer - 18 Dec 2007 01:12 GMT
One way:
=(M3="x")*(F3+G3)

Signature
HTH,
RD
---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
>I have a simple sumif formula which I can't get to sum. My current formula
>is
[quoted text clipped - 7 lines]
>
> Jim
Jim - 18 Dec 2007 06:32 GMT
Thanks that worked!
> One way:
>
[quoted text clipped - 11 lines]
> >
> > Jim
RagDyeR - 19 Dec 2007 16:16 GMT
Appreciate the feed-back.

Signature
Regards,
RD
-----------------------------------------------------------------------------------------------
Please keep all correspondence within the Group, so all may benefit !
-----------------------------------------------------------------------------------------------
Thanks that worked!
"RagDyer" wrote:
> One way:
>
[quoted text clipped - 13 lines]
> >
> > Jim
Bob Umlas, Excel MVP - 18 Dec 2007 17:22 GMT
More straightforward:
=IF(M3="x",SUM(F3:G3),0)
> I have a simple sumif formula which I can't get to sum. My current formula is
> =SUMIF(M3,"x",F3:G3). What I want to do is check to see if cell M3 has an x
[quoted text clipped - 3 lines]
>
> Jim