Index/Match not working

CerberaJQ

New Member
Joined
Jan 18, 2019
Messages
10
Morning all,

Apologies for the second Index/Match query this morning... wasn't sure if piggy-backing onto that thread was allowed! I would like the formula to look at two separate cells in one worksheet, compare them to columns A and C in a second sheet and return the value in column E... I have got so far:

=INDEX('E-Campus Data'!$A$2:$E$10000,MATCH($I2,'E-Campus Data'!$A$2:$A$10000,0),MATCH(L$1,'E-Campus Data'!$C$2:$C$10000,0),5)


I know I have made a similar structure work before, but cannot for the life of me work out where I am going wrong here!

Thanks,

Cerbera
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
Does this work?

=LOOKUP(2,1/(($I2='E-Campus Data'!$A$2:$A$10000)*(L$1='E-Campus Data'!$C$2:$C$10000)),'E-Campus Data'!$E$2:$E$10000)
 
Upvote 0
The basic syntax for INDEX is :

INDEX(array, row_num, [column_num])

Looks like your formula is using the two MATCH functions for the row and column numbers but then there's still the 5 I can't figure out. There is the version of of INDEX that uses the area parameter ( syntax: INDEX(reference, row_num, [column_num], [area_num]) ) as well but looks like you don't have 5 different areas.
 
Upvote 0
Try:

=INDEX('E-Campus Data'!$E$2:$E$1000,MATCH(I2&L2,'E-Campus Data'!$A$2:$A$1000&'E-Campus Data'!C2:$C$1000,0))

Use Ctrl + Shift + Enter instead of just Enter.
 
Upvote 0

Forum statistics

Threads
1,214,859
Messages
6,121,963
Members
449,059
Latest member
oculus

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top