+ Reply to Thread
Results 1 to 3 of 3

Auto-change worksheet names within formulas

  1. #1
    Registered User
    Join Date
    08-09-2011
    Location
    Utrecht
    MS-Off Ver
    Excel 2013
    Posts
    48

    Auto-change worksheet names within formulas

    I have a workbook where I have a button to automatically create a new worksheet. (ex. 1, 2, 3, etc...). I would like to have a Summary worksheet that automatically grabs the data from the existing and newly created worksheets (1, 2, 3...etc) On the Summary worksheet (LOV).

    However, I am unable to increment the values of the referenced worksheet on my Summary Worksheet. I'm not sure how to change the numerical value inside the single-quotes which refer to the worksheet 1, 2, etc. I would like to increment the 1 to a 2 and then to a 3 as each new worksheet is created and the Summary puts the data in the next available line, resulting in a Summary Report of Report 1 to Report N.

    Hopefully that makes sense. If anyone has an idea, I would appreciate some guidance. In the attachment you can find the excel file, so that it will make more sense.

    Thanks In Advance.

  2. #2
    Registered User
    Join Date
    08-09-2011
    Location
    Utrecht
    MS-Off Ver
    Excel 2013
    Posts
    48

    Re: Auto-change worksheet names within formulas

    This was the solution:
    =INDIRECT("'"&A1&"'!$A$1")
    By placing the names of the sheets in cell A1 you can change the names of your worksheets in a formula.

  3. #3
    Registered User
    Join Date
    07-18-2012
    Location
    Houston, Texas
    MS-Off Ver
    Excel 2016
    Posts
    25

    Re: Auto-change worksheet names within formulas

    This solution solved my problem too. A small amount of research can work wonders. BTW, I was troubled "formulazing" changing named ranges. It's all good now!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 4
    Last Post: 07-24-2015, 08:33 AM
  2. Need Help Auto Sorting Names which are formulas
    By aluke13 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-24-2013, 10:55 AM
  3. how to change the range names in a series of formulas.
    By sumesh56 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 04-01-2013, 09:08 PM
  4. Auto-incrementing worksheet names within formulas
    By CHAStats in forum Excel General
    Replies: 10
    Last Post: 07-18-2011, 07:10 AM
  5. worksheet names in formulas
    By obrien2010 in forum Excel General
    Replies: 3
    Last Post: 04-23-2010, 06:19 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1