Pull data from another sheet based on reference in cell

kevinb11

Active Member
Joined
Feb 7, 2012
Messages
353
Looking for formula that will pull data from sheet named 4-24 (Data in Cells B1 to B3) Tried INDIRECT but it didn't work. The sheet I am pulling from will change every week. ie... 4-24 will be 5-1next week.
Thanks for any help you can provide.

DATE4-244-254-26
LOADSThis cell to pull Sheet4-24 cell B1 This cell to pull Sheet4-25 cell B1
LATESThis cell to pull Sheet4-24 cell B2
OTDThis cell to pull Sheet4-24 cell B3
 

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.
Tried INDIRECT but it didn't work
Check this and revert -

Assuming you are putting formula in Cell B2 of current sheet

Excel Formula:
=Indirect(B$1&"!B1")

Challenge is -
  • It will update with changing sheet name.
  • But for cell address it has to be manual.
So you call pull across but not pull down to autofill.
 
Upvote 0
To pull across and down Create a helper column with cell address

Check this and revert -

Book1
ABC
1DirectIndirect
2Sheet2Sheet2
3B4My ValueMy Value
4B5New ValueNew Value
5B6Test ValueTest Value
Sheet1
Cell Formulas
RangeFormula
B3:B5B3=Sheet2!B4:B6
C3:C5C3=INDIRECT(C$2&"!"&$A3)
Dynamic array formulas.
 
Last edited:
Upvote 0
@kevinb11 Given your date related sheet names I think you will need to have the surrounding single quote marks in the indirect sheet name string.

Below example shows 2 possible formulas that will drag.
B2:D4 if 'DATE' cells A2:A4 are formatted as TEXT
or
F2:H2 if 'DATE' cells are entered as date but custom formatted 'm-d'

Picking Teams.xlsm
ABCDEFGHI
1DATE4-245-18-1<<TEXT4-245-15-8<<Date
2LOADSColBBee1 ColBBee1 
3LATESNameBee2 NameBee2 
4OTDBeee333Bee3 Beee333Bee2 
Sheet6
Cell Formulas
RangeFormula
B2:D4B2=IFERROR(INDIRECT("'"&B$1&"'"&"!B"&ROWS(B$1:B1)),"")
F2:H3,F4F2=IFERROR(INDIRECT("'"&MONTH(F$1)&"-"&DAY(F$1)&"'"&"!B"&ROWS(D$1:D1)),"")
G4:H4G4=IFERROR(INDIRECT("'"&MONTH(G$1)&"-"&DAY(G$1)&"'"&"!B"&ROWS(E$1:E2)),"")


Hope that helps.
 
Upvote 0
Solution

Forum statistics

Threads
1,224,818
Messages
6,181,152
Members
453,021
Latest member
Justyna P

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