Index-Match Formula - Array Part

seraja27

New Member
Joined
Oct 30, 2013
Messages
13
Hi, I want to know how to make the array/reference part in an index-match formula look to another cell that in turn looks to a column.

My formula is =INDEX('Sheet1!$AU$27:$AU$284,MATCH(A30&B30,'Sheet1'!$G$27:$G$284&'Sheet1'!$H$27:$H$284,0))

For the array reference - 'Sheet1!$AU$27:$AU$284 i want it to look to....for example cell B1 (which will reference the column of data)...then cell C1 to say Fiscal Week 1...Basically I want to be able to update the FW number in cell C1 which in turn updates cell B1 to the appropriate FW column which in turn updates the index-match formula


Thank you in advance for any help
 
i am using the index-match function to retrieve data from sheet1 which has data in columns by fiscal week. what i want to do is on sheet2 be able to type in FW1 or FW2 or FW3, etc into a cell and have it update cell B1 which retrieves the corresponding column from sheet1 (for instance FW1= column 1 on sheet1) which in turn will feed into the index-match function.
 
Upvote 0

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
I think then in B1 you need to type an IF() formula,

e.g. =IF(A1="FW",range1,IF(A1=FW2,Range2, etc...)

or you can create a little lookup tabel elsewhere in the sheet with all the FW choices and the corresponding index ranges to use in B1, then in B1 use:

=Vlookup(A1,$X$1:$Z$10,2,0)

where X1:Z10 would contain that table to look up.
 
Upvote 0

Forum statistics

Threads
1,223,248
Messages
6,171,021
Members
452,374
Latest member
keccles

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