Lookup & Match question

L

Learn-more

I need to match value1 in Column A and value2 in Column B then get the text
from Column C. I know how to use filterin the worksheet to do it, but this
case I need to get the text in the sheet as someone key in 2 values then
display the corresponding text message.

Any expert can help me? Thanks.
 
T

T. Valko

Try this:

E1 = value1
F1 = value2

This array formula** :

=INDEX(C1:C100,MATCH(1,(A1:A100=E1)*(B1:B100=F1),0))

** array formulas need to be entered using the key combination of
CTRL,SHIFT,ENTER (not just ENTER)
 
L

Learn-more

I got it work. Thanks.

T. Valko said:
Try this:

E1 = value1
F1 = value2

This array formula** :

=INDEX(C1:C100,MATCH(1,(A1:A100=E1)*(B1:B100=F1),0))

** array formulas need to be entered using the key combination of
CTRL,SHIFT,ENTER (not just ENTER)
 

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