mgirvin
Well-known Member
- Joined
- Dec 15, 2005
- Messages
- 1,245
- Office Version
- 365
- Platform
- Windows
Dear Smartest Excelers Around,
Below are two formulas for adding when cells are not blank. Does anyone know how to get the SUMIF to work? The SUMPRODUCT works, but not the SUMIF.
Excel 2010
Below are two formulas for adding when cells are not blank. Does anyone know how to get the SUMIF to work? The SUMPRODUCT works, but not the SUMIF.
Excel Workbook | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | H | I | |||
1 | Name | Test1 | Test2 | Test3 | Test4 | Test5 | Test6 | Test7 | Test8 | ||
2 | Max | 100 | 100 | 100 | 50 | 50 | 50 | 100 | 200 | ||
3 | Name1 | 85 | 91 | 100 | 41 | 39 | |||||
4 | |||||||||||
5 | Total Possible | 750 | 400 | ||||||||
... |
Cell Formulas | ||
---|---|---|
Range | Formula | |
B5 | =SUMIF(B3:I3,"<>""",B2:I2) | |
C5 | =SUMPRODUCT(--(B3:I3<>""),B2:I2) |