Index Match formula and absolute column reference issues

dfolzenlogen

New Member
Joined
Oct 18, 2009
Messages
36
Hi,
I have a workbook which contains 2 worksheets: 1 called MIPA and another called Dashboard Data. I am using Index Match formulas on several columns on the MIPA worksheet which refers to a named range on the Dashboard Data worksheet called Data (the data) and another named range called LineNo (the unique info). The formula I'm using is below:

// =IFERROR(INDEX(Data,MATCH($A84,LineNo,0),COLUMN($AM84)),"Nomatch") //

The formula works just fine but whenever I insert a column on the MIPA worksheet, my absolute column references to data in the DashboardData worksheet keep changing. What am I doing wrong?
Any help would be appreciated.
 
Last edited:

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).
If there is a heading to that column which could allow you to use a MATCH formula to help define the column you want used, that might help.
 
Upvote 0
Thanks Christontm. I actually am pulling data from several columns and the columns are not in consecutive order in the new spreadsheet (MIPA). Do I understand that you mean for me to use named ranges for each column and then put the named range in the formula rather than the column address reference? I tried the named range method and it seems to work but want to confirm that was what you intended.
 
Upvote 0
The Match() function Chrisdontm suggests searches the TEXT VALUE in your column headings and returns the numeric POSITION within the range you provide as argument 2.
Hope that helps...
 
Last edited:
Upvote 0
Thank you Jim...!

dfolzenlogen.....

The MATCH will give you a position number.
So you can use it for your ROW, and also to determine which COLUMN.

Since your info comes in several columns, that would be easier than dancing around with named ranges.
( As far as I understand you ).
 
Upvote 0

Forum statistics

Threads
1,223,228
Messages
6,170,871
Members
452,363
Latest member
merico17

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