?
Solved

Update Cell References with New Sheet Names

Posted on 2013-12-02
4
Medium Priority
?
379 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 2000 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

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

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

This tutorial explains how to create a series of drop-down lists that are dependent upon prior selections to guide (“force”) the user to make the correct selection and reduce data errors within Microsoft Excel. Excel 2010 was used for this tutorial;…
After seeing numerous questions for Dynamic Data Validation I notice that most have used Visual Basic to solve the problem. This suggestion is purely formula based and can be used in multiple rows.
This Micro Tutorial demonstrates in Microsoft Excel how to consolidate your marketing data by creating an interactive charts using form controls. This creates cool drop-downs for viewers of your chart to choose from.
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.

765 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