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.

Horizontal Dates with Index Match

Having trouble with an Index Match function. I have the Match portion working, but not the Index.

  • Goal is to display the name of the current stage.
  • Yes the three Stage columns and "Index(Match)" column are set as Dates.
  • I have the Stages backwards since the Match function reads left to right and some Stages might be completed same day, as shown in example.

  • Match Column (working) =MATCH(MAX([Stage C]@row:[Stage A]@row), [Stage C]@row:[Stage A]@row, 0)
  • Index(Match) Column (error) =INDEX([Stage C]@row:[Stage A]@row, MATCH(MAX([Stage C]@row:[Stage A]@row), [Stage C]@row:[Stage A]@row, 0))
  • Stage Name Column (General Idea) =IF(MAX([Stage C]@row:[Stage A]@row) = INDEX(MATCH()),
    IF(INDEX(MATCH()) = [Stage C]@row, "C",
    IF(INDEX(MATCH()) = [Stage B]@row, "B",
    IF(INDEX(MATCH()) = [Stage A]@row, "A", "Error"))), "")
Tags:

Best Answer

Answers

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!

Trending in Formulas and Functions