Suggested formula not working

paigemcd
paigemcd ✭✭✭

I found out you can't return a column name in a formula, so I added them into the first row. I am trying to find the name of the fruit associated with the highest value, 2nd highest value, etc.

image.png

Smartsheets suggests: =INDEX([Apple]1:[Clementine]1, MATCH(MAX([Apple]2:[Clementine]2), [Apple]2:[Clementine]2, 0)) but I get an error every time. Anyone see something I'm missing?

Best Answer

  • heyjay
    heyjay ✭✭✭✭✭
    edited 07/12/24 Answer βœ“
    =INDEX([Apple]1:[Clementine]1, 1, MATCH(MAX([Apple]2:[Clementine]2), [Apple]2:[Clementine]2, 0))
    

    Add 1 before your MATCH function since you will be looking at a single row. Your MATCH function will provide the column arguement of the INDEX function.

    ...

Answers

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!