Index Match Across Multiple Rows

phiphi76

New Member
Joined
Aug 3, 2011
Messages
2
I am trying to use an index match formula but the match function will only match one column and I need it to look through 60 columns and if it finds a match return the row number and I should be able to get the index function to work.

This is the formula, the "Entry Detail" is the sheet name and looks only in column T:T, but I want it to look in column U:U and so on.

=INDEX('Entry Detail'!$CG$2:$CG$11,MATCH(B5,'Entry Detail'!T:T,0))

Thanks,

Sorry I meant across multiple columns not rows
 

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand
I am trying to use an index match formula but the match function will only match one column and I need it to look through 60 columns and if it finds a match return the row number and I should be able to get the index function to work.

This is the formula, the "Entry Detail" is the sheet name and looks only in column T:T, but I want it to look in column U:U and so on.

=INDEX('Entry Detail'!$CG$2:$CG$11,MATCH(B5,'Entry Detail'!T:T,0))

Thanks,

Sorry I meant across multiple columns not rows
Try something like this...

Book1
ABCD
1____
2214036result1
3446758result2
4252341result3
5571588result4
6481417result5
7____
815result4__
Sheet1

This array formula** entered in B8:

=IF(COUNTIF(A2:C6,A8),INDEX(D:D,MAX(IF(A2:C6=A8,ROW(A2:C6)))),"")

** array formulas need to be entered using the key
combination of CTRL,SHIFT,ENTER (not just ENTER).
Hold down both the CTRL key and the SHIFT key
then hit ENTER.
 
Upvote 0
I was going to post a similar question, but this post answered it already so nicely. I hadn't used array formulas before, but this was a great opportunity to get my feet wet. Many thanks!
 
Upvote 0

Forum statistics

Threads
1,224,507
Messages
6,179,172
Members
452,893
Latest member
denay

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