I am trying to write a formula that includes an IF(IsBlank) and Index Match formula.
If the Hotel Code is blank, I do not want to display Hotel Info. I have tried the two following formulas and received a #Incorrect Argument Set error
- =(ISBLANK([Inn Code]@row, INDEX({SystemSize and Pipeline Current Range 1 hotel info}, MATCH([Inn Code]@row, {SystemSize and Pipeline Current Range 2 Inn Code}, 0)), ""))
- =IF(ISBLANK([Inn Code]@row, INDEX({SystemSize and Pipeline Current Range 1 hotel info}, MATCH([Inn Code]@row, {SystemSize and Pipeline Current Range 2 Inn Code}, 0)), ""))
The hotel info cell is referencing a difference sheet.
When I remove the If IsBlank portion of the formula the index match works. An Inn Code may not be assigned for all of the Hotel Info rows. Those cells are blank. When that happens SmartSheet locates the first Blank Inn Code and assigns the Hotel info for the blank.
Thoughts?