+ Reply to Thread
Results 1 to 4 of 4

Referencing Formula on Closed Workbook

  1. #1
    Valued Forum Contributor
    Join Date
    04-13-2011
    Location
    Ottawa, Canada
    MS-Off Ver
    365
    Posts
    1,067

    Referencing Formula on Closed Workbook

    Hello Excel gurus,

    I wonder if what I'm about to describe is doable.

    Say that you have 2 workbooks. ClosedWB and OutputWB1.

    In ClosedWB, we have a following formula in cell A1
    Please Login or Register  to view this content.
    Now...IF IT'S DOABLE, is there a formula where in OutputWB1 it'll take the formula that's in ClosedWB and applies to itself.

    i.e. say in cell K10 of OutputWB1, there's a formula that looks at '[ClosedWB]'Sheet1!$A$1, which is =SUM(A2:B2) and then using the formula to sum itself.

    If it's not doable. Am wondering if there's any alternatives for it.

    The reason why I'm asking is that, we want to create a master template, and that all other Workbooks will get the skeletal of it from the master template. And if there's a change needed to be done, we just have to change it in the master template and it applies to all workbooks that "link" to it. Rather than opening each individual workbooks and make each changes.

  2. #2
    Forum Expert
    Join Date
    09-30-2019
    Location
    Chiangmai, Thailand
    MS-Off Ver
    Office 2016, Excel 2019
    Posts
    1,234

    Re: Referencing Formula on Closed Workbook

    I'm never use this method before. ^_^

    This MAY doable but with a limited or strickly rules to compiled. (All this not fully tested, I just
    imagination by myself)

    1. In the closed workbook, your formula must be text. That's mean you need to leading it's with '.
    2. Worksheet structure of closed workbook and target workbook should be the same (for the area of
    refer range)
    3. In the target workbook, at the same cell, you can use
    Please Login or Register  to view this content.
    to retrieve a formula text from closed workbook.
    4. Then at the same row (should be next to cell in #3), you can define name (any avilable name ie LinkedFormula)
    and refer to
    Please Login or Register  to view this content.
    5. Then, at the same cell, use this formula
    Please Login or Register  to view this content.
    6. The target workbook MUST be saved in macro enable format ( .xlsm or .xlsb )

    The others soultion may be VBA. (I'm not good in VBA, sorry)

    Regards.
    Attached Files Attached Files

  3. #3
    Forum Expert avk's Avatar
    Join Date
    07-12-2007
    Location
    India
    MS-Off Ver
    Microsoft Office 2013
    Posts
    3,223

    Re: Referencing Formula on Closed Workbook

    What i am assuming in K10
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    'C:\Users\hp\Downloads\ : This is path.


    atul


    If my answer (or that of other members) has helped you, please say "Thanks" by clicking the Add Reputation button at the foot of one of their posts.

    Also: if your problem is solved, please take the time to mark your thread as SOLVED by going to the top of your first post, selecting "Thread Tools" and then "Mark thread as solved".

  4. #4
    Valued Forum Contributor
    Join Date
    04-13-2011
    Location
    Ottawa, Canada
    MS-Off Ver
    365
    Posts
    1,067

    Re: Referencing Formula on Closed Workbook

    @menem Thanks for the solution and even the attached workbooks.

    Will try and incorporate this and see how the calculation is going to be. After all, there's a lot of formula that needs to be 'evaluate'

    PS: Reps up to you

+ 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. Referencing cells in a closed workbook
    By ms418 in forum ExcelTip.com Feedback / Comments / Suggestions
    Replies: 0
    Last Post: 08-19-2015, 09:38 AM
  2. Referencing a closed workbook
    By blacktrek in forum Excel General
    Replies: 6
    Last Post: 05-25-2015, 02:52 PM
  3. [SOLVED] How do I get the following formula to work when referencing a closed workbook?
    By HumbleAko in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-26-2015, 05:46 PM
  4. Sumifs used referencing a closed workbook
    By kgallo in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-20-2015, 06:57 PM
  5. [SOLVED] Trouble copying data from closed workbook into active workbook, referencing help
    By lepperga in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-20-2013, 01:48 PM
  6. [SOLVED] Referencing a closed workbook
    By RowanB in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-03-2012, 05:13 AM
  7. UDF referencing closed workbook not working
    By davegugg in forum Excel Programming / VBA / Macros
    Replies: 16
    Last Post: 05-25-2010, 09:17 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