Giant Index copy and paste problem. I'd appreciate any help you could provide.

ned lud

New Member
Joined
Jan 30, 2024
Messages
15
Office Version
  1. 2019
I have ~2000 worksheets.

Each one is identified by a unique set of letters and numbers. For example one worksheet name is "ABS9". The "ABS9" is the name of the worksheet. In the ABS9 worksheet, there are two cells, one would have "ABS" and the other would have "9". And in each sheet there is data from cell B3:I150.

What I want to do is have an INDEX sheet where the user can type in in "ABS" in one cell and "9" in another cell and then the data (B3:I150) from the ABS9 worksheet will be copied and pasted into the INDEX sheet.

Is this possible? I can't figure it out.

Thank you.
 

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)
Where A1 is ABS and B1 is 9
Excel Formula:
=INDIRECT("'"&A1&B1&"'!B3:I150")

Let me know if that doesn't work. I don't know if Excel 2019 supports this
 
Upvote 0
Solution
Where A1 is ABS and B1 is 9
Excel Formula:
=INDIRECT("'"&A1&B1&"'!B3:I150")

Let me know if that doesn't work. I don't know if Excel 2019 supports this
Thank you very much. Had to play with it a little bit but this works perfectly. No idea it would be that easy.
 
Upvote 0

Forum statistics

Threads
1,215,237
Messages
6,123,803
Members
449,127
Latest member
Cyko

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