Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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.) |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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.) |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Alt Down Arrow Shortcut doesn't work when there are blank cells | Excel Discussion (Misc queries) | |||
Sumif Cells Are Not Blank | Excel Worksheet Functions | |||
Sumif function does not add up cells, even when criteria is blank | Excel Worksheet Functions | |||
Automatic coloring of blank cells when sheet work complete | Excel Worksheet Functions | |||
Using SUMIF with non-blank cells | Excel Worksheet Functions |