#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 504
Default SUMIF

=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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,268
Default SUMIF

=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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 504
Default SUMIF

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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 504
Default SUMIF

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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default SUMIF

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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
sumif for multi conditions. i.e sumif(A1:A10,"Jon" and B1:B10,"A" Harry Seymour Excel Worksheet Functions 9 June 12th 07 10:47 PM
SUMIF with AND vicvega Excel Worksheet Functions 2 February 24th 06 03:51 AM
Embedding a Sumif in a sumif C.Pflugrath Excel Worksheet Functions 5 August 31st 05 07:31 PM
nested sumif or sumif with two criteria dshigley Excel Worksheet Functions 5 April 5th 05 03:34 AM
SUMIF - Range name to used for the "sum_range" portion of a SUMIF function Oscar Excel Worksheet Functions 2 January 11th 05 11:01 PM


All times are GMT +1. The time now is 04:47 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"