+ Reply to Thread
Results 1 to 11 of 11

Volatile INDIRECT

Hybrid View

  1. #1
    Registered User
    Join Date
    01-13-2009
    Location
    Ipswich, England
    MS-Off Ver
    Excel 2003
    Posts
    52

    Re: Volatile INDIRECT

    True - but are there not issues embedding some of the morefunc functions into Excel 2007?

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: Volatile INDIRECT

    Dunno, sorry, I don't use it.
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Volatile INDIRECT

    There is an option argument in INDIRECT.EXT to choose volatility:

    =INDIRECT.EXT(Reference,Volatile,A1-Style,Mode)

    http://xcell05.free.fr/morefunc/engl...direct.ext.htm

    I think the the embedding of the addin does not work in 2007... so you can't share the workbook without having user install Morefunc too.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  4. #4
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Volatile INDIRECT

    You could use VBA to rebuild the formulae as and when the sheet name is altered in Column A.

    IMO you either need "hardwired" links or else you need Volatility given the otherwise implicit references.

  5. #5
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Volatile INDIRECT

    As a final (possible) pointer...

    Pending layout... if we assumed that on your summary sheet the formulae are listed adjacent to the sheet names and that presumably the formulae are identical per column then in theory...

    Use row 3 to store each formula as a string with a "place holder" (ie some denotation) for sheet name ... this string could be applied to whichever row has had a sheet name change with the place holder substituted for the appropriate sheet name.

    Such an approach would remove the volatility but would adapt as sheet names were altered ... (you've not as yet specified how A4:A150 is generated - manual or other means)

  6. #6
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: Volatile INDIRECT

    Embedding aside, if you used INDIRECT.EXT in non-volatile fashion, you could force a full recalc wihen the master sheet was selected, if the linked sheets don't change while you're not looking.

  7. #7
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Volatile INDIRECT

    What I mean is say B4:B150 all presently use:

    =INDIRECT("'"&$A4&"'!C12")
    then in theory you could store the "master formula" in B3 which is in effect:

    "='PLACEHOLDER'!C12"
    where PLACEHOLDER represents the sheet variable (to be determined)

    Then when the sheet names are altered you revise the formula accordingly, ie:

    For Each rngCell in Range("B4:B150").Cells
        With rngCell
            .Formula = Split(Replace(Range("B3").Text, "PLACEHOLDER", Cells(.Row, "A").Value), """")(1)
        End With
    Next rngCell
    does that make sense ? very basic example of course.

    (edit on an aside the use of quotations to encase the formula is not really advisable ... better perhaps to encase the master within an unusual char (ie something not used in your formulae) - eg: #='PLACEHOLDER'!C12# and amend VBA accordingly to split based on "#")
    Last edited by DonkeyOte; 04-22-2010 at 12:32 PM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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