Solved

Update Cell References with New Sheet Names

Posted on 2013-12-02
4
362 Views
Last Modified: 2013-12-02
I have a summary worksheet in a workbook that will be updating with data from many different worksheets. Each time I add a worksheet I will need to add a cell reference on the summary sheet that will update with the worksheet name, even if I make changes to the worksheet name in the future. Is there a formula that I can use for this?
0
Comment
Question by:gacto
  • 2
4 Comments
 
LVL 39

Expert Comment

by:nutsch
ID: 39691236
You can use the INDIRECT function to reference a reference on a sheet with the sheet name. I don't know of any formula that will retrieve the name of the last inserted sheet.

Can you provide a more detailed example if the help on INDIRECT doesn't lead you to the right solution?

Thomas
0
 
LVL 33

Accepted Solution

by:
Rob Henson earned 500 total points
ID: 39691254
As suggested previously:

=MID(CELL("filename",Sheet1!$A$1),FIND("]",CELL("filename",Sheet1!$A$1),1)+1,50)

Put on your summary sheet. As you add new sheets you will have to change the sheet reference for the new entry but that can be done with a simple Search and Replace. Highlight the cell that requires changing and a blank cell below it ( I assume immediately below will be blank) and press Ctrl + H.

Find:  Sheet1
Replace with: Sheet2

Click Replace All

Change sheet names above accordingly. Selecting the two cells will only change the entries in those two cells whereas not selecting will change all entries on the sheet.

Thanks
Rob H
0
 
LVL 33

Expert Comment

by:Rob Henson
ID: 39691261
@Thomas Nutsch

To keep you in the loop, this is a follow on from previous question:

http://www.experts-exchange.com/Software/Office_Productivity/Office_Suites/MS_Office/Excel/Q_28308329.html#a39691173
0
 

Author Closing Comment

by:gacto
ID: 39691273
Rob H,

works like a charm. thanks for the suggestion.
0

Featured Post

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A little background as to how I came to I design this code: Around 5 years ago I designed an add-in that formatted Excel files to a corporate standard, applying different cell colours and font type depending on whether the cells contained inputs,…
How to get Spreadsheet Compare 2016 working with the 64 bit version of Office 2016
Graphs within dashboards are meant to be dynamic, representing data from a period of time that will change each time the dashboard is updated with new data. Rather than update each graph to point to a different set within a static set of data, t…
This Micro Tutorial will demonstrate on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.

696 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question