Consulting

Results 1 to 4 of 4

Thread: Master Formula

  1. #1
    VBAX Newbie
    Joined
    Oct 2007
    Posts
    4
    Location

    Master Formula

    Hi,

    I got stuck with a very simple and straightforward question I was asked:

    The goal is to find a way how to create a master worksheet formula in workbook A (wsheet 1) and then to copy it to many others worksheets and workbooks.

    If a need in future to edit/change the formulas, then the goal is only to edit the master formula - the other instances should change automatically.

    I adviced to create a UDF and to save it either in PERSONAL.XLS or in .XLA file. Then I played with named formulas, which seems to me could be a solution for one workbook.

    Do you have an experience with building such type of master formula and its instances through other workbooks?

    Tnahk you for suggestions.


    Jiri Cihar

  2. #2
    Site Admin VBAX Guru Simon Lloyd's Avatar
    Joined
    Sep 2005
    Location
    UK
    Posts
    3,005
    Location
    Quote Originally Posted by jcihar
    Hi,

    I got stuck with a very simple and straightforward question I was asked:
    Well surely its simple to answer then!

    The goal is to find a way how to create a master worksheet formula in workbook A (wsheet 1) and then to copy it to many others worksheets and workbooks.
    the formula would do what?, just reference one workbook?

    If a need in future to edit/change the formulas, then the goal is only to edit the master formula - the other instances should change automatically.
    Regardless of the impact on the results of all the other formulae in all the other books?

    I adviced to create a UDF and to save it either in PERSONAL.XLS or in .XLA file. Then I played with named formulas, which seems to me could be a solution for one workbook.
    If that was your advice then were you working with the person in this thread?

    Do you have an experience with building such type of master formula and its instances through other workbooks?
    Unfortunately no as most of my time is taken trying to split the atom in a 3rd dimension!
    Regards,
    Simon
    Please read this before cross posting!
    In the unlikely event you didn't get your answer here try Microsoft Office Discussion @ The Code Cage
    If I have seen further it is by standing on the shoulders of giants.
    Isaac Newton, Letter to Robert Hooke, February 5, 1675 English mathematician & physicist (1642 - 1727)

  3. #3
    VBAX Newbie
    Joined
    Oct 2007
    Posts
    4
    Location
    Hi Simon,

    thanks for pointing me to the similar question on another board - I then tried crawling through non english conferences and by help of russia SQL forum

    I found the idea I can use - Bob Umlas' GLOBAL name definition



    There is a limitation, that formulas are not automatically calculated after value changes - but I can to circumvent it by adding an expression +0*NOW() to each defined formula.


    Just the minor final question...
    I do not understand, why you had noticed me about crossposting - I am not aware I commited it - just pressed the button New Post

    Jiri Cihar

  4. #4
    Site Admin VBAX Guru Simon Lloyd's Avatar
    Joined
    Sep 2005
    Location
    UK
    Posts
    3,005
    Location
    Quote Originally Posted by jcihar
    Just the minor final question...
    I do not understand, why you had noticed me about crossposting - I am not aware I commited it - just pressed the button New Post

    Jiri Cihar
    I did not, that is part of my signature statement.
    Regards,
    Simon
    Please read this before cross posting!
    In the unlikely event you didn't get your answer here try Microsoft Office Discussion @ The Code Cage
    If I have seen further it is by standing on the shoulders of giants.
    Isaac Newton, Letter to Robert Hooke, February 5, 1675 English mathematician & physicist (1642 - 1727)

Posting Permissions

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