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

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
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,223,903
Messages
6,175,286
Members
452,631
Latest member
a_potato

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