+ Reply to Thread
Results 1 to 4 of 4

how can I insert a sheet and the formula change depending on sheet name automatically

  1. #1
    Forum Contributor
    Join Date
    12-24-2021
    Location
    taiwan
    MS-Off Ver
    excel 2010
    Posts
    121

    how can I insert a sheet and the formula change depending on sheet name automatically

    I have data on reference sheet. And after I copy a sheet1, and rename it sheet2, I want the calculation change based on the reference sheet. Insdie the excel file, the yellow part is exactly what I need but I think it is too complicated. Maybe someone has better method?

  2. #2
    Valued Forum Contributor janmorris's Avatar
    Join Date
    07-24-2021
    Location
    Japan
    MS-Off Ver
    Google Sheets (& Mac 2021)
    Posts
    1,096

    Re: how can I insert a sheet and the formula change depending on sheet name automatically

    when you use sheet references they do not change when you duplicate a sheet. you use sheet references when you want it to be locked to the sheet, if you dont want it locked to the sheet then do NOT use the sheet reference.

    so, for the given formula on Sheet1!F7:
    Please Login or Register  to view this content.
    if you want it to follow with the new sheet (Sheet2), then you need to remove the "Sheet1!" particle, like this:
    Please Login or Register  to view this content.
    then make the duplicate and the new sheet (Sheet2) will just use cell reference without the forced sheet reference.

  3. #3
    Forum Contributor
    Join Date
    12-24-2021
    Location
    taiwan
    MS-Off Ver
    excel 2010
    Posts
    121

    Re: how can I insert a sheet and the formula change depending on sheet name automatically

    But for sheet2 I do not want reference!K6? I want Reference!K7

  4. #4
    Forum Contributor
    Join Date
    03-28-2021
    Location
    China
    MS-Off Ver
    O365
    Posts
    111

    Re: how can I insert a sheet and the formula change depending on sheet name automatically

    Quote Originally Posted by Bobgiant View Post
    But for sheet2 I do not want reference!K6? I want Reference!K7
    Please Login or Register  to view this content.

+ 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. [SOLVED] Change the NAME sheet into the formula automatically
    By Yaghoub61 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 04-10-2020, 02:33 PM
  2. Change sheet reference in a formula depending on a value
    By pajg in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-03-2020, 06:03 PM
  3. [SOLVED] Have the sheet name automatically change in a formula
    By CLSSY56 in forum Excel Formulas & Functions
    Replies: 28
    Last Post: 09-12-2018, 09:48 AM
  4. Formula to insert serial numbers automatically to an excel sheet with diff. items
    By saranorton in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 03-16-2015, 09:20 PM
  5. Macro to insert variable formula depending on sheet name
    By Burt_100 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-26-2013, 03:22 PM
  6. Replies: 1
    Last Post: 10-22-2012, 03:26 AM
  7. Replies: 2
    Last Post: 11-23-2005, 08:18 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