A vlookup/index-match type problem
Try this
=INDEX(C2:C5,MATCH(D1&N(E1),A2:A5&B2:B5,0),0)
where D1 = 12345, E1 = 18/5/09
use Ctrl + shift + enter
On Oct 23, 2:59*pm, "Andrew Mackenzie"
wrote:
Hi all,
I hope someone can help me with this. *I want to return a value from a table
which is based upon two criteria. *I have a table like this:
* * * A * * * * * * * *B * * * * * * * *C
Account No. * *Date * * * * * *Balance
12345 * * * * * * *23-4-09 * * *100
56847 * * * * * * *18-5-09 * * * *50
12345 * * * * * * *18-5-09 * * * *75
32654 * * * * * * *30-6-09 * * *125
I want to do something like =VLOOKUP((A2 and B2:B5=18-5-09),A2:C5,3,FALSE)
to return 75.
Thanks in advance and regards,
Andrew
|