Index/match and Isblank?

Graham Rimell
Graham Rimell ✭✭
edited 12/09/20 in Formulas and Functions

Hi,

I've got an Index/Match formula that looks for the latest date on a row and references a particularly column on that row.

Example:

=INDEX((pH:pH), MATCH(MAX(Created:Created), Created:Created, 0))


I'm after a way to make it return a set text "Awaiting Results" if the cell is blank.

I tried IFERROR() but that didn't see the blank as an error. I can't seem to get ISBLANK() to do what I want either.

Anyone know how I would achieve this?


Thanks

Best Answer

  • Leibel S
    Leibel S ✭✭✭✭✭✭
    Answer ✓

    @GrahamR

    Typo on my end. See below fixed

    =IF(ISBLANK(INDEX(pH:pH, MATCH(MAX(Created:Created), Created:Created, 0))), "Awaiting Results", INDEX(pH:pH, MATCH(MAX(Created:Created), Created:Created, 0)))

Answers

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!