Reputation: 21
I would like to get a formula in Excel to search for the value in the green box using two inputs,
Thanks in advance.
Upvotes: 0
Views: 242
Reputation: 8375
So index() with match() twice, once for row and once for column:
=index(A2:I24,match(19.5,A2:A24,0),match(870,A2:I2,0))
All ranges based on cell A2 is “Temp C”
But I would put 19.5 and 870 in cells to make the formula more useful.
Also, the 3rd argument (0) in match can be 1 or -1 to get the closest result either larger or smaller.
Upvotes: 2