+ 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

    Volatile INDIRECT

    Hi,

    I have a workbook that has a 'front sheet' that pulls information from each of the 150+ worksheets, this uses multiple formulas - totaling about 6400 of these formulas.

    Example - =IF(INDIRECT("'"&A91&"'!$C$18")<>"",10,"")

    The reason for INDIRECT is that the cells A4:A150 contain an Index of the worksheets, which can constantly change...

    My workbook has reached 98MB and I am struggling to find a way to streamline the process by which I pull back information to the front sheet.

    Does anyone have any suggestions to a alternative for INDIRECT, or even a completely different approach?

    (My problem is that the workbook tracks 'training' for a whole department (which is growing) and I know the workbook at such a large size already is only going to get slower and slower!)

    Thanks in advance!

  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

    Someone here could tell you if MoreFunc's INDIRECT.EXT is non-volatile.
    Entia non sunt multiplicanda sine necessitate

  3. #3
    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?

  4. #4
    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.

  5. #5
    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.

  6. #6
    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.

  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

    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)

  8. #8
    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.

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

    Re: Volatile INDIRECT

    Donkey...

    Im not sure what you mean when reffering to string as formula and place holder?

    The Sheetnames are generated via VB acting as both an Index and a hyperlink to each sheet

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

    Re: Volatile INDIRECT

    Sorry for late reply, finally solved the size issue by finding that I had sloppy code that was copying an Indirect formula down ALL rows - oh dear.

    Tided up and much better!

    Thanks for all help received

+ 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