SUMIF across a range
Options
Colin Janssen
✭✭✭
Hi All,
I'm trying to use SUMIF to sum the total of all rows that meet a specific criteria
- =SUMIF([SERVICE TYPE]:[SERVICE TYPE], "Monthly Charge", [2017-12]:[2018-01])
This however returns #INCORRECT ARGUMENT. Not sure what I am doing wrong. Any suggestions would be most appreciated.
Regards
Colin
Tags:
Comments
-
your criteria cannot be a matrix for the final range given. in other words you have
[2017-12]:[2018-01]
which references two columns when a sumif can only check one at a time. in order to have the sumif have this functionality you need to duplicate the formula and add the first to the second.
- =SUMIF([SERVICE TYPE]:[SERVICE TYPE], "Monthly Charge", [2017-12]:[2017-12]) + SUMIF([SERVICE TYPE]:[SERVICE TYPE], "Monthly Charge", [2018-01]:[2018-01])
-
Thanks. This solved my problem
Help Article Resources
Categories
Want to practice working with formulas directly in Smartsheet?
Check out the Formula Handbook template!
Check out the Formula Handbook template!