Pulling Worksheet Data from Many Tabs

Landzir101

Board Regular
Joined
Jun 21, 2009
Messages
78
Not exactly sure what this is called or what is needed, so I apologize in advance if there is a thread devoted to it (please direct me to it if that be the case!). But what I am trying to do is populate one worksheet (in the same workbook) with data from many (ie 500) separate tabs. An example is as follows:

On the summary data worksheet, we will call Price Highs, I am trying to return one column of data from each of the 500 worksheets (aka their Price Highs). This is so that I can have each tabs (symbols) data next to one another for easy formula dragging and analyzing. Up to this point I have been using the Find/Replace function, but with this many worksheets I would obviously have to do it 500 times!

Wondering if there was a Macro/Code/Formula that is available to do such tedious work? Any help is greatly appreciated! (Just ask if you need more of an example or information)
 
Taking a second look at the images now they're up, it looks like the values in column A are dates, although Excel doesn't recognise that date format.

Code:
=INDIRECT(ADDRESS(MATCH($A4,INDIRECT(B$3 & "!E:E"),0),MATCH($B$1,AA!$1:$1,0),,,B$3))

This will work when pasted into cell B4, if you enter the dates in column A in a recognised format (e.g. 6/29/2009).

You can also change the value in cell B1 to Open, Low, Close or Volume and it will show those figures.

Edit: Just remembered, INDIRECT is a volatile function. May slow down if used lots, so may be able to get the same result using INDEX instead?
Too tired to figure it out at the moment. :)
 
Last edited:
Upvote 0

Excel Facts

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December

Forum statistics

Threads
1,223,240
Messages
6,170,951
Members
452,368
Latest member
jayp2104

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