excel - Lookup value in column based on table -
i have table:
i c h o p s t c d e m v w r 4.76 04 08 04 05 04 04 08 5.56 05 09 05 06 05 05 09 03 6.35 03 02 04 06 11 06 07 06 06 11 04 06 7.94 04 03 05 07 13 08 09 08 07 13 05 08 9.525 05 04 07 09 16 09 11 09 09 16 06 10 12.7 07 05 09 12 22 12 15 13 12 22 08 12 15.875 09 06 11 15 27 16 19 16 15 27 10 15 19.05 11 07 13 19 33 19 23 19 19 33 13 19 25.4 14 10 18 25 44 25 31 26 25 44 17 25 31.75 18 13 23 31 54 32 38 32 31 54 21 31 given these 2 inputs:
- a letter corresponding 1 of other headers (h o p s t c d e m v w r) and
- a number in column header,
i want lookup value in column i c on same row number.
for example: w , 03 inputs, formula return 5.56.
how do using excel formula?
with letter in a14 , "number" in b14 can use formula:
=index(a1:a11,match(b14,offset(a1:a11,0,match(a14,a1:m1,0)-1))) 
explaining inside out:
- match(a14,a1:m1,0) find column number of letter
- offset(a1:a11,0,match(...)-1 gives array of column
- match(b14,offset(... gives match of value in column (row number)
- index(a1:a11,match... gives value in column
Comments
Post a Comment