If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
lookup matrix
I have the following matrix. I'm given the values of C and bb
How would i write a macro to get the result? which is 8. aa bb cc A 1 2 3 B 4 5 6 C 7 8 9 D 10 11 12 E 13 14 15 thanks Jack |
#2
|
|||
|
|||
lookup matrix
Jack wrote:
I have the following matrix. I'm given the values of C and bb How would i write a macro to get the result? which is 8. aa bb cc A 1 2 3 B 4 5 6 C 7 8 9 D 10 11 12 E 13 14 15 thanks Jack With your data in A1:B6 here is a worksheet function that will do it. =INDEX(B26,MATCH("C",A2:A6,0),MATCH("bb",B11,0 )) |
Thread Tools | |
Display Modes | |
|
|