+ Reply to Thread
Results 1 to 6 of 6

Array formula summing with indirect parameter

  1. #1
    Registered User
    Join Date
    03-16-2009
    Location
    Vienna, Austria
    MS-Off Ver
    Excel 2007
    Posts
    3

    Array formula summing with indirect parameter

    Hi,

    I've got several workbooks containing several pages each, one of them being my parameter sheet.

    I'd like to get an array formula using an indirect parameter as the actual array working.

    What I've tried so far is

    Please Login or Register  to view this content.
    With Parameter!$G$2 containing either of the following:
    • '{124;125;126;127;128;129;130;131;132;133;134;135}
    • {124;125;126;127;128;129;130;131;132;133;134;135}
    • 124;125;126;127;128;129;130;131;132;133;134;135

    Unfortunately always to no avail.

    When using the the array in the formula directly (shown below), everything is working perfectly fine.

    Please Login or Register  to view this content.
    As there are many occurances of such a array formula, I'd rather refrain from having them edit individually whenever the contents of the array changes.

    Much better, and my top preference would be just changing the corresponding cell (Parameter!$G$2) accordingly, refreshing my workbook, and that's it.

    -- Sil68
    Last edited by Sil68; 03-16-2009 at 11:39 AM.

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

    Re: Array formula summing with indirect parameter

    What exactly is in Parameter!E2?
    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.

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

    Re: Array formula summing with indirect parameter

    If the columns to be summed are always contiguous by nature I'd be inclined to store first column reference in one cell (Parameter!G2) and last column in another cell (Parameter!H2) then:

    Please Login or Register  to view this content.
    There will be / are other methods available...

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

    Re: Array formula summing with indirect parameter

    I also wondering if this might be possible with just a SUMIF() instead of {SUM(VLOOKUP())} ?

  5. #5
    Registered User
    Join Date
    03-16-2009
    Location
    Vienna, Austria
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Array formula summing with indirect parameter

    Parameter!!$E$2 contains the data range I'm skipping through (in one of my workbooks it contains: 'Model!$D$9:$FP$24).

    Btw. Parameter!!$E$2 holds a given name (eg. Development) I'm looking for, or to be more precise, for which I want to calculate the sum.

  6. #6
    Registered User
    Join Date
    03-16-2009
    Location
    Vienna, Austria
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Array formula summing with indirect parameter

    Quote Originally Posted by DonkeyOte View Post
    If the columns to be summed are always contiguous by nature I'd be inclined to store first column reference in one cell (Parameter!G2) and last column in another cell (Parameter!H2) then:

    Please Login or Register  to view this content.
    There will be / are other methods available...
    Cool! This is working really great!

+ 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