using Vlookup to lookup a value in a matrix.. ????

T

TG

Hello,

I hope someone can help me out with a problem am trying to solve..
ok here it is.

so i have a matrix:
a b c d e
1 qw qe qr qt qy
2 as ad af ag ah
3 zx zc zv zb zn
4 df dg dh dj dk
5 er et ey eu ei

I have two drop down menues that lets the user select a number (1-5) and a
letter (a-e), so if someone selects a "1" and a "b" the solutions should be
"qe" and so on... how can i do this, with vlookup or something else?
hopefully without any VBA but if i must then i will.

Thank you in advance.
TG
 
T

T. Valko

Try this:

Assume your table is in the range A1:F6

A10 = drop down menu for the row number
B10 = drop down menu for the column letter

=VLOOKUP(A10,A1:F6,MATCH(B10,A1:F1,0),0)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top