I am trying to use SUM to add the values from multiple cells in that were populated by an IF formula

I am trying to use SUM to add the values from multiple cells in that were populated by an IF formula.

Example of 2 IF formulas: =IF([Member 2 Registration Type]@row = "Golf & Dinner - General Public", "135") and =IF([Member 2 Registration Type]@row = "Dinner Only", "60")

The IF formulas are working as they should and are populating the cell.

In another cell, I am trying to sum the 135 and 60 that were generated from the IF formula, but I do not believe it is recognizing the "135" and "60" as numerical values.

Is there any ways to fix this?

Best Answer

Answers

  • Ro W
    Ro W ✭✭✭
    edited 06/12/23

    I had the same issue, all I had to do was remove the " " quotation marks around the numbers (see below) that way Smartsheet will treat the value as a number instead of a text allowing you to sum the column correctly.

    =IF([Member 2 Registration Type]@row = "Golf & Dinner - General Public", 135) and =IF([Member 2 Registration Type]@row = "Dinner Only", 60)

  • Jhinkle
    Jhinkle
    Answer ✓

    Thanks! That worked!

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!