My INDEX (and match) array is not working. Getting #REF! error

nmss18

Active Member
Joined
Jun 28, 2011
Messages
312
Hello,
I have an INDEX and MATCH formula that looks like this:

=INDEX('Client Rank Trends-US Equities'!$D$10:$O$5084,MATCH(D$13,'Client Rank Trends-US Equities'!$D$9:$O$9,0),MATCH($A14,'Client Rank Trends-US Equities'!$A:$A,0))

Its not working. I am getting a #REF! error.

I checked separately both my row and col match formulas and they work.

[TABLE="width: 383"]
<tbody>[TR]
[TD="colspan: 4"]MATCH(D$13,'Client Rank Trends-US Equities'!$D$9:$O$9,0)

[TABLE="width: 81"]
<tbody>[TR]
[TD][TABLE="width: 383"]
<tbody>[TR]
[TD="colspan: 4"]MATCH($A14,'Client Rank Trends-US Equities'!$A:$A,0)[/TD]
[/TR]
</tbody><colgroup><col><col><col><col></colgroup>[/TABLE]


The problem comes when I combine them, so I realize there is a problem with my array. I am only selecting the values and not the headers. There are some cells in the array which contain no values. Could that be it?
Any assistance would be much appreciated.
Thanks,
Nathan
[/TD]
[/TR]
</tbody><colgroup><col></colgroup>[/TABLE]
[/TD]
[/TR]
</tbody><colgroup><col><col><col><col></colgroup>[/TABLE]
 

Excel Facts

Will the fill handle fill 1, 2, 3?
Yes! Type 1 in a cell. Hold down Ctrl while you drag the fill handle.
You have the Row/Columns reversed in the Index

=INDEX(Range,Row#,Col#)

You put MATCH(D$13,'Client Rank Trends-US Equities'!$D$9:$O$9,0) where the Row# should be
And MATCH($A14,'Client Rank Trends-US Equities'!$A:$A,0) where the Col# should be

Also, MATCH($A14,'Client Rank Trends-US Equities'!$A:$A,0)
should probably be
MATCH($A14,'Client Rank Trends-US Equities'!$A$10:$A$5084,0)
So it will match the rows used by the Index.
 
Upvote 0

Forum statistics

Threads
1,223,231
Messages
6,170,885
Members
452,364
Latest member
springate

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