SUMIF

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

=SUMIF(B194,"DHC2",F194:I194)

I am using this to add F194, G194, H194, and I194 if B194 = DHC2 the problem
is it is only adding F194, not the other three.

I am using Office 2007
 
Thanks Peo,

If I wanted it to add the same cells if B194 was to = DHC3 as well as DHC2
would I enter it like this

=IF(B194="DHC2",SUM(F194:H194),0)+IF(B194="DHC3",SUM(F194:H194),0)

or is there a better way
 
The formula you gave me =IF(B194="DHC2",SUM(F194:H194),0) works, but if B194
does not = DHC2 it enters 0 in the cell. How do I get rid of that and have
nothing in the cell?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Excel - Countif 3
Lookup returns message box when an exact match is not found 3
ZLOB trojan - how to stop 3
SUMIF excluding #N/A 3
=SUMIF 2
Too many fields for Excel 8
SUMIF Criteria 5
3D array SUMIF 2

Back
Top