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.

Formula Help trying to combine IFERROR with reference and a "then"

Im trying to amend this formula.

The formula (below) works and references a cell in another sheet and displays the color ball entered in that sheet.

=IFERROR(INDEX({CS - Health}, MATCH([Project Key]@row, {CS - Project Key}, 0)), "")

I want to add a condition that says if the reference cell in the other sheet is empty, my sheet should display a "Gray" ball

OR another option would be that if the % Complete column (to the left in row) is =0% the ball is gray

ss examp,e.png

Answers

  • Community Champion

    =IFERROR(IF(INDEX({CS - Health}, MATCH([Project Key]@row, {CS - Project Key}, 0))="","Gray",INDEX({CS - Health}, MATCH([Project Key]@row, {CS - Project Key}, 0)), "")

    I'm just free-styling it, so I might've missed a comma or parenthesis. But basically what you want to do is say that IF <input your index/match formula> = "" then show "Gray", otherwise do the normal formula, if error show blank.

  • ✭✭✭

    oooh thank you - let me try that.

  • ✭✭✭
    edited 03/13/25

    seems to work but may be false positive, will keep noodling but thank you

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!

Trending in Formulas and Functions