Formulas and Functions

Formulas and Functions

Ask for help with your formula and find examples of how others use formulas and functions to solve a similar problem.

Sum of column values that come from function formula

I have created a formulation of a drop down with prices associated with each selection that population on a different column:

=IF([Repairs Needed]@row = "Tuck Point", "125", IF([Repairs Needed]@row = "Tuck Point Panel", "450", IF([Repairs Needed]@row = "Tuck Point Column", "150", IF([Repairs Needed]@row = "Tuck Point Major Column", "225", IF([Repairs Needed]@row = "Repair", "200", IF([Repairs Needed]@row = "Repair Panel", "225", IF([Repairs Needed]@row = "Repair Column", "125", IF([Repairs Needed]@row = "Repair Major Column", "450", IF([Repairs Needed]@row = "Replace Panel", "950", IF([Repairs Needed]@row = "Replace Column", "550", IF([Repairs Needed]@row = "Replace Major Column", "1125", IF([Repairs Needed]@row = "Mow Strip", "350", IF([Repairs Needed]@row = "Soldier Course", "125", IF([Repairs Needed]@row = "Rowlock Course", "150"))))))))))))))

But now when I try to sum up the column with my values after selection has been made I get "0"

I'm using =SUM([WO Value of Repairs]3:[WO Value of Repairs]1105)

What am I doing wrong, can it be because some rows don't have a selection?


Answers

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!

Trending in Formulas and Functions

  • I'm trying to create a SUMIF formula that looks at the salesperson name in a column and adds up or totals their $ sales in another column. To ultimately show in Dashboard of Totals Sales by Salesperso…
    User: "Allan Z"
    Answered ✓
    9
    2
  • Good day Smartsheet Team, Getting an unparseable error on this formula: =IF($Name@row <> "",(SUMIFS({Expense}, {Period},1, {Type}, OR(@cell = "RES602782", @cell = "RES602497")),"") Trying to pull in a…
    User: "stratman"
    Answered ✓
    15
    2
  • I have a sheet that compiles all the responses from a form. The sheet has multiple start and end date columns, but only one start and one end date cell is NOT blank depending on the activity selected …
    User: "m_anderson"
    Answered ✓
    13
    2