+ Reply to Thread
Results 1 to 4 of 4

Maintain Formula References when replacing tabs

  1. #1
    Registered User
    Join Date
    11-19-2015
    Location
    Vancouver, BC
    MS-Off Ver
    2013
    Posts
    4

    Maintain Formula References when replacing tabs

    Hi there!

    I have a spreadsheet that has three tabs: "production," "targets," and "status."

    Currently, the entire spreadsheet is manual, and all the data on all three tabs is inputted by hand. I am updating it so that much of the data in "targets" and "status" is automatically populated based on "production."

    The problem is that the entire contents of the "production" tab gets changed once a week. The whole tab is copied to another, local spreadsheet and then edited and changed by hand. The new version is then copied into the main spreadsheet, the old "production" tab is deleted, and the new tab is then renamed "production."

    All of my formulas in "targets" and "status" reference the name of "production"- but when the old tab is deleted, the references are lost, even though the new tab is immediately renamed "production." Is there a way to write the formulas so that they always just search for the name "production" - display an error when there is no such tab, but find the new tab when it is named as such?

  2. #2
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Maintain Formula References when replacing tabs

    Instead of deleting the original, and renaming a new one to the original name...

    After you're done editing and changing the new sheet by hand..
    Copy the Contents of the NEW sheet (Press CTRL + A, then CTRL + C)
    Then PASTE onto A1 of the original sheet.

  3. #3
    Registered User
    Join Date
    11-19-2015
    Location
    Vancouver, BC
    MS-Off Ver
    2013
    Posts
    4

    Re: Maintain Formula References when replacing tabs

    I'm so dumb. CTRL + A doesn't work this way, but if you CTRL + A + A again it copies ALL the cells on tab.

    Such an easy fix, making me feel like a dummy! Thanks!

  4. #4
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Maintain Formula References when replacing tabs

    You're welcome.

+ 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] Replacing mathematical operators with cell references
    By dactylonomy in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-03-2015, 05:27 PM
  2. [SOLVED] Formula that references different tabs according to a data validation field?
    By Rizzu in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-27-2012, 06:27 PM
  3. Drag Formula but Maintain References
    By kaiouji in forum Excel General
    Replies: 2
    Last Post: 01-02-2011, 06:19 AM
  4. autofill a formula that references worksheet tabs
    By menziesthefish in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-29-2010, 10:50 AM
  5. Replacing references in two columns
    By greek in forum Excel General
    Replies: 9
    Last Post: 10-31-2009, 04:46 AM
  6. maintain references when target cell moves?
    By William DeLeo in forum Excel General
    Replies: 6
    Last Post: 03-02-2006, 03:55 PM
  7. [SOLVED] Replacing references from one file to another
    By ewan7279 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-26-2005, 07:05 AM

Tags for this Thread

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