SUMIF across a range

Colin Janssen
Colin Janssen ✭✭✭
edited 12/09/19 in Formulas and Functions

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.







  • L_123
    L_123 ✭✭✭✭✭✭

    your criteria cannot be a matrix for the final range given. in other words you have



    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

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!