can INDEX use indirect?

imported_unknown

Active Member
Joined
Jan 13, 2002
Messages
424
i have a cell on a worksheet that is created from a list that is defined on another worksheet. this cell (when selected) contains a named array. i am trying to indirectly copy data from this array to the current worksheet, but have had no success and may be going about this incorrectly.

i.e., worksheet1 has 30 named rectangular arrays on it. worksheet2 has a work area that should display one of these arrays based on selecting the arrayname from the list data in a cell. when i use [=INDEX(INDIRECT("a1"),1,1)] where A1 contains the defined arrayname, I cannot retrieve data from the array...it only retrieves the data from the current worksheet. i have also tried replacing INDIRECT with [=CELL("contents",A1)] and get the same error(s).

can INDEX use an arrayname reference that is not explicitly defined, or do i misunderstand the function?

thanks in advance for your help.
 

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.
=INDEX(INDIRECT($A$1),ROW(1:1),1)

where A1 houses a named range like List.

The formula copied down will pull over all values from the first column of List.
 
Upvote 0

Forum statistics

Threads
1,224,884
Messages
6,181,555
Members
453,053
Latest member
Kiranm13

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