INDEX & MATCH (Excel 2003 SP3)

steveh
SilverLounger
Posts: 1952
Joined: 26 Jan 2010, 12:46
Location: Nr. Heathrow Airport

INDEX & MATCH (Excel 2003 SP3)

Post by steveh »

Good morning

I have a matrix D5:M14 (screenshot below) with the zones across the top named as zonala and the zones down the side named as zonalb. I the have 2 Comboboxes both with adjacent cells I20 & P20 that return Zones based on the Countries selected in the Comboboxes.

I have tried to write a formula but I am getting #N/A which does not surprise me because it is the first time that I have tried to write this type of formula, the formula is

=INDEX(D5:M14,MATCH(Zonala,I20),MATCH(Zonalb,P20))
You do not have the required permissions to view the files attached to this post.
Steve
http://www.freightpro-uk.com" onclick="window.open(this.href);return false;
“Tell me and I forget, teach me and I may remember, involve me and I learn.”
― Benjamin Franklin

User avatar
HansV
Administrator
Posts: 78417
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: INDEX & MATCH (Excel 2003 SP3)

Post by HansV »

Try

=INDEX(D15:M14,MATCH(I20,Zonala,0),MATCH(P20,Zonalb,0))

In the MATCH function, the first argument is the value you're looking for, the second argument is the range to look in, and the third argument indicates how to search; 0 specifies that you're looking for an exact match.
Best wishes,
Hans

steveh
SilverLounger
Posts: 1952
Joined: 26 Jan 2010, 12:46
Location: Nr. Heathrow Airport

Re: INDEX & MATCH (Excel 2003 SP3)

Post by steveh »

Hi Hans

Thank you very much, I can't beleive I was so close, there might be hope for me yet!!
Steve
http://www.freightpro-uk.com" onclick="window.open(this.href);return false;
“Tell me and I forget, teach me and I may remember, involve me and I learn.”
― Benjamin Franklin