Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 12
Default SUMIF does not work with blank cells

Can SUMIF be used if there are blank cells in the range of data? (The
worksheet has been formatted for a purpose, so I do not want to remove any of
the blank cells.)
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,268
Default SUMIF does not work with blank cells

It would be really helpful if you would explain what does not work, I am
assuming you got a result that you think is incorrect. Are you trying to sum
based on blank cells then there is an old bug with regards to the used range
but we won't know unless you spill the beans

However you can use SUMPRODUCT as well


=SUMPRODUCT(--(A2:A100=""),B2:B100)

will sum B2:B100 where the cells in A2:A100 are blank (meaning empty or ""
derived from formula)



--
Regards,

Peo Sjoblom



"uncreative" wrote in message
...
Can SUMIF be used if there are blank cells in the range of data? (The
worksheet has been formatted for a purpose, so I do not want to remove any
of
the blank cells.)



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 281
Default SUMIF does not work with blank cells

Hi,

SUMIF looks at the range you specify for your criterea and sum the
appropriate amount in the sumrange and blank cells are not essential.

=SUMIF(range,criteria,sumrange)
--
Farhad Hodjat


"uncreative" wrote:

Can SUMIF be used if there are blank cells in the range of data? (The
worksheet has been formatted for a purpose, so I do not want to remove any of
the blank cells.)

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 12
Default SUMIF does not work with blank cells

Thanks for responding so quickly, I was receiving an error message that the
formula referred to blank cells, and I was not getting a result at all.
However, almost right after I posted this message, I noticed a typo in the
formula! Thanks anyway..

"Peo Sjoblom" wrote:

It would be really helpful if you would explain what does not work, I am
assuming you got a result that you think is incorrect. Are you trying to sum
based on blank cells then there is an old bug with regards to the used range
but we won't know unless you spill the beans

However you can use SUMPRODUCT as well


=SUMPRODUCT(--(A2:A100=""),B2:B100)

will sum B2:B100 where the cells in A2:A100 are blank (meaning empty or ""
derived from formula)



--
Regards,

Peo Sjoblom



"uncreative" wrote in message
...
Can SUMIF be used if there are blank cells in the range of data? (The
worksheet has been formatted for a purpose, so I do not want to remove any
of
the blank cells.)




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
Alt Down Arrow Shortcut doesn't work when there are blank cells Techy Wannabe Excel Discussion (Misc queries) 5 March 6th 07 08:17 PM
Sumif Cells Are Not Blank Powlaz Excel Worksheet Functions 12 March 15th 06 05:40 PM
Sumif function does not add up cells, even when criteria is blank Beckster Excel Worksheet Functions 5 January 13th 06 07:24 PM
Automatic coloring of blank cells when sheet work complete bigdaddy3 Excel Worksheet Functions 14 August 5th 05 05:00 PM
Using SUMIF with non-blank cells Peter Aitken Excel Worksheet Functions 7 February 10th 05 03:11 PM


All times are GMT +1. The time now is 09:30 AM.

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

About Us

"It's about Microsoft Excel"