Index Match formula with Named references

spydey

Active Member
Joined
Sep 19, 2017
Messages
314
Office Version
  1. 2013
Platform
  1. Windows
I am using an Index Match formula with named ranges in it.
I have done this many a times before but for some reason, this particular formula setup is not working the way I am expecting.
My named ranges are Dynamic named ranges, using Index Count.

I have a simple range setup as follows:

8 rows & 10 columns, starting at cell A1.

ItemsGroup1Group2Group3Group4Group5Group6Group7Group8Total
Candy
Shoes
Sweaters
Socks
Bags
Glasses
Total

My named ranges are as follows:

Item.Data = $B$2:INDEX($B:$J,COUNTA($A:$A))
Items = $A$2:INDEX($A:$A,COUNTA($A:$A))
Item.Headers = $B$1:$J$1

My formula is:

=INDEX(Item.Data,MATCH("Glasses",Items,0),MATCH("Group5",Item.Headers,0))

I am getting a #REF! error.

I have tried parsing out the individual components and get the correct answers, but when I compile the whole formula, I get the error message.

Any thoughts on what is causing the issue?

-Spydey
 

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.
Try
Item.Data = $B$2:INDEX($J:$J,COUNTA($A:$A))
 
Upvote 0
BINGO!!!

Thanks Fluff!

I don't know how I missed that. I have been pouring over this formula for like the last 2 hours and missed something so simple ... lol

I appreciate you assistance. Thank you!

-Spydey
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,216,207
Messages
6,129,508
Members
449,512
Latest member
Wabd

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