Doing a conditional sum in Excel is a piece of cake as long as all the values to be totaled are in one column. Summing multiple columns is a problem because both the SUMIF and SUMIFS functions require the sum range and criteria ranges to be equally sized. Continue reading
by
Comments page 2. Total comments: 57
Please can the SUMIF with conditions return a blank cell?
Hi!
The SUMIF function returns a number. If nothing is found, it returns 0. You can replace zero with an empty value using the IF function.
For example,
=IF(SUMIF(B2:B10, F1, C2:C10) > 0,SUMIF(B2:B10, F1, C2:C10),"")