View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
Peo Sjoblom Peo Sjoblom is offline
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.)