Changing excel formula to read same cells in different tabs

Petehab

New Member
Joined
Jun 8, 2018
Messages
5
Hi there,

I have created a template with session 1, 2 and 3 for my athlete's weekly schedules to be input for each week of the year. These are split into 4 weekly blocks in which I have 1 tab for each. i.e. Tab1 would contain weeks 1-4, tab2 contains week 5-8 and so on...

I am now creating a flat list to collect all the data from each tab into 1 table. Given each weekly template is the same all I need to do is change the tab name in the formula. For example I need to change '='Week Plan 1'!B$5' to '='Week Plan 2'!B$5'. I have A LOT of data to do this on and wondered if there was a macro I could run which would do this for me?



Thanks,

Peter
 
Last edited by a moderator:

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.
You can change the sheet name using Find and Replace.
Press CTRL + H to open "Find and Replace" dialog box.
Click Options to show more settings.
Change Look in: Formulas

PuiZmzS.png
 
Upvote 0
You can change the sheet name using Find and Replace.
Press CTRL + H to open "Find and Replace" dialog box.
Click Options to show more settings.
Change Look in: Formulas

PuiZmzS.png


Of course! Brain has officially turned to much, why didn't I think of that?! Thanks all the same :)
 
Upvote 0

Forum statistics

Threads
1,215,339
Messages
6,124,381
Members
449,155
Latest member
ravioli44

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