I have a nested IF statement with a VLOOKUP that seems to have stopped working. For debugging, I've stripped out all but the VLOOKUP function and made the search value static, "DSHS".
Formula: =VLOOKUP("DSHS", [Agency & Administration]23:[Agency-Div Sort Order]24, 22, false)
"Agency & Administration" is the Primary Column and column 1 in the lookup table.
"Agency-Admin Sort Order" is column 22 in the lookup table. (23 total columns in the table.)
With the lookup table restricted to a single row, 23, the formula works with a result of "10000". When I expand the lookup table to include row 24, it returns "#INVALID OPERATION".
When I change the search value to "ALTSA" and the lookup table rows to 25-33 it correctly returns "11100". When I expand the lookup table by 1 row to 25-34, it's "#INVALID OPERATION".