+ Reply to Thread
Results 1 to 3 of 3

Incorporate the Indirect Formula

  1. #1
    Forum Contributor
    Join Date
    07-16-2008
    Location
    USA
    Posts
    142

    Incorporate the Indirect Formula

    I'd like to incorporate the INDIRECT function to the formula below:

    =SUM(SUMIFS(Items!D$2:D$999994,Items!$A$2:$A$999994,MTD!$B8,Items!$B$2:$B$999994,"REVENUE",Items!$P$2:$P$999994,{9}))

    I'd like to replace references to columns D and P with an INDIRECT formula.

    Help! Thanks.

  2. #2
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,941

    re: Incorporate the Indirect Formula

    Not knowing what you are doing, lets assume that column D is variable length. Then in cell Z1 use:
    Please Login or Register  to view this content.
    Then modify your formula, so:
    Please Login or Register  to view this content.
    ETC...
    Ben Van Johnson

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

    re: Incorporate the Indirect Formula

    In SUMIFS each precedent range must have the same dimensions - defined explicitly within the formula.

    This is one area where SUMIFS differs to SUMIF in which the dimensions of the first range are automatically applied to the optional range irrespective of any dimensions that may have been applied to that range explicitly, eg:

    Please Login or Register  to view this content.
    are both processed as

    Please Login or Register  to view this content.
    * pending XL version this particular construct is Volatile (see: http://www.decisionmodels.com/calcsecretsi.htm)

    This automatic resizing does not happen in SUMIFS and you will get #VALUE! errors if the dimensions of each precedent range are not the same.

    On an aside if the intention is to have just the one criteria value regards P {9} then you can remove the in line array and outer SUM.

+ 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