Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
=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 |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
=IF(B194="DHC2",SUM(F194:H194),0)
-- Regards, Peo Sjoblom "Kevin" wrote in message ... =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 |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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",S UM(F194:H194),0) or is there a better way "Peo Sjoblom" wrote: =IF(B194="DHC2",SUM(F194:H194),0) -- Regards, Peo Sjoblom "Kevin" wrote in message ... =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 |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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? "Kevin" wrote: 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",S UM(F194:H194),0) or is there a better way "Peo Sjoblom" wrote: =IF(B194="DHC2",SUM(F194:H194),0) -- Regards, Peo Sjoblom "Kevin" wrote in message ... =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 |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Change the 0 in the formula to ""
-- David Biddulph "Kevin" wrote in message ... 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? "Kevin" wrote: 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",S UM(F194:H194),0) or is there a better way "Peo Sjoblom" wrote: =IF(B194="DHC2",SUM(F194:H194),0) -- Regards, Peo Sjoblom "Kevin" wrote in message ... =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 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
sumif for multi conditions. i.e sumif(A1:A10,"Jon" and B1:B10,"A" | Excel Worksheet Functions | |||
SUMIF with AND | Excel Worksheet Functions | |||
Embedding a Sumif in a sumif | Excel Worksheet Functions | |||
nested sumif or sumif with two criteria | Excel Worksheet Functions | |||
SUMIF - Range name to used for the "sum_range" portion of a SUMIF function | Excel Worksheet Functions |