+ Reply to Thread
Results 1 to 4 of 4

Link Master Formula to Different Data

  1. #1
    Registered User
    Join Date
    07-05-2017
    Location
    Vinland, Norseland
    MS-Off Ver
    2010
    Posts
    2

    Link Master Formula to Different Data

    Greetings folks, first post here. Might be here more in the future, thinking of getting a double masters in mechanical engineering and excel is surely my friend! Any help ahead of time is much appreciated! Been scouring the internet to figure this out, and haven't had any success.

    What I'm trying to do is link a formula to a different sheet/workbook, but be able to reference new data in a separate sheet/workbook. My "Master Formula" will need to be modified many times, and I need it to update in new sheets with different data. I don't want to copy/paste the formula as the master formula will need to be changed as I fine tune my work. formula reference.jpg

  2. #2
    Forum Contributor
    Join Date
    07-28-2012
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    104

    Re: Link Master Formula to Different Data

    I would recommend using a UDF (User Defined Function).

    Please Login or Register  to view this content.
    For Sheet1's formula, make sure you explicitly reference everything on Sheet1. So, rather than having Sheet1!C4 use the formula =A4-B4, make Sheet1!C4 use the formula =Sheet1!A4-Sheet1!B4.

    Then, on Sheet2!C4, you can use =CopyFormula(Sheet1!C4,"Sheet1","Sheet2")

    I am not terribly familiar with the EVALUATE command, so there may be easier ways of doing this. Perhaps you do not need to be quite so explicit with the sheet references.

  3. #3
    Forum Contributor
    Join Date
    07-28-2012
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    104

    Re: Link Master Formula to Different Data

    I just tested it, and it does not appear to require all of that. Instead:

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Then, on Sheet2!C4, you can use =CopyFormula(Sheet1!C4)

    Much easier. The only problem is with recalculations. It does not explicitly recalculate when a change is made. So, if you enter that formula and change cell Sheet2!A4, it will not update cell Sheet2!C4 unless you click on the formula in the cell and click enter. I bet there is a way to force a recalculation, but I am not sure how.

  4. #4
    Registered User
    Join Date
    07-05-2017
    Location
    Vinland, Norseland
    MS-Off Ver
    2010
    Posts
    2

    Re: Link Master Formula to Different Data

    Hmmm. I'll play around with this for the next few days. I was hoping to avoid using any macros, as I haven't touched visual basics since my undergrad. But I'm working on a big project that I know will require a lot of macros. There's not a way to use the transpose, inderect, lookup, or something similar functions is there? I might just copy/paste for now, as I'm mostly focusing on the math to research a theory I'm working on than the workbook functions at the moment. Ultimately I will need to have a real-time updating formula. I'm trying to research a lot of different data (separating via different sheets) with common equations that I'll have to modify.

+ 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. How to Link Data from a Master to sub Sheets?
    By JennOlsen in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-08-2015, 03:19 PM
  2. Replies: 4
    Last Post: 08-28-2014, 06:45 PM
  3. Want to create a link using a "master" formula
    By InterstateRentals in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 01-15-2014, 12:39 PM
  4. [SOLVED] Link with data in master column within sheet
    By pwoud in forum Excel General
    Replies: 15
    Last Post: 10-30-2012, 10:51 AM
  5. Link workbooks to master
    By carolan78 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-25-2008, 12:15 PM
  6. Link New Worksheets to Master Source Data in New Format
    By Tinny22 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-08-2007, 11:08 PM
  7. Link Worksheets to a Master Sheet
    By Reefaman in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 03-01-2006, 03: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