lookup and match questions

G

Guest

I have data as follows:
column column column C
A b(date) c(result)
1 2006/5/1 c
1 2006/5/2 c
1 2006/5/3 a
2 2006/5/1 b
2 2006/5/2 a
2 2006/5/3 c
What formula should I input that would come out result with 'b' in cell f1
when I type in d1=2, e1=2006/5/1?

Thank you for your help.
 
B

Bob Phillips

=INDEX(C2:C20,MATCH(1,(A2:A20=D1)*(B2:B20=E1),0))

which is an array formula, it should be committed with Ctrl-Shift-Enter, not
just Enter.
Excel will automatically enclose the formula in braces (curly brackets), do
not try to do this manually.
When editing the formula, it must again be array-entered.

--
HTH

Bob Phillips

(there's no email, no snail mail, but somewhere should be gmail in my addy)
 

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

Similar Threads


Top