+ Reply to Thread
Results 1 to 3 of 3

Indirect and Sum product Slow

Hybrid View

pauldaddyadams Indirect and Sum product Slow 06-20-2012, 07:43 AM
JBeaucaire Re: Indirect and Sum product... 06-20-2012, 01:20 PM
pauldaddyadams Re: Indirect and Sum product... 06-21-2012, 05:05 AM
  1. #1
    Valued Forum Contributor
    Join Date
    04-21-2005
    Location
    Southern England
    MS-Off Ver
    Excel for Office 365
    Posts
    1,702

    Indirect and Sum product Slow

    Previously I posted up two threads regarding a formula that could pull data by referencing a sheet name in a cell - I was recommended the following formulas:

    =IF(ISBLANK($B6),"",(INDIRECT("'"&$B6&"'!"&E$2)))
    =SUMPRODUCT(N(INDIRECT("'"&ROW(INDIRECT("1:420"))&"'!"&CELL("address",P23))))
    Both of these formuals appear on different summary sheets and work but are very time consuming

    Research I've found out that INDIRECT is 'volative' as it continually calculates every cell and hence the slow down in speed.

    Can anyone suggest any other formulas?

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Indirect and Sum product Slow

    THE function that let's you construct a reference from pieces of strings is INDIRECT(). That's what its' for. The idea is to use as few of these as possible. Or, keep the number of cells being evaluated to a minimum.

    That second formula implies 420 SHEETS. Is that true? I'd consider a reevaluation of your data storage methodology. A single sheet can have a million rows of data. That single sheet can can be referenced, parsed, filtered, extracted from with a myriad of robust functions, robust because it's a single sheet and no magic trick formulas need be employed.

    Anyway, simple goal... 1 data source... 1 robust report sheet. That's a master design, IMO.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Valued Forum Contributor
    Join Date
    04-21-2005
    Location
    Southern England
    MS-Off Ver
    Excel for Office 365
    Posts
    1,702

    Re: Indirect and Sum product Slow

    420 Sheets is true sadly!

    I have come to the realisation that I will need to rearrange the stotrage of the data but I havnig trouble doing so (posted here):
    HTML Code: 

+ 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