+ Reply to Thread
Results 1 to 5 of 5

Sumproct, sumif indirect with two match criteria.

  1. #1
    Forum Expert avk's Avatar
    Join Date
    07-12-2007
    Location
    India
    MS-Off Ver
    Microsoft Office 2013
    Posts
    3,277

    Sumproct, sumif indirect with two match criteria.

    In excel 2007.
    Presently i have used below formula & its work perfectly with one criteria match.
    =SUMPRODUCT(SUMIF(INDIRECT("'"&LIST&"'!C:C"),A15,INDIRECT("'"&LIST&"'!D:D ")))

    Basically i have number of sheet name i.e. 2008, 2009, 2010, 2011, 2012
    In above sheet in column "c" is part number & column "i" is year & column "d" is quantity.
    I have define name of all above sheets.

    Now i have recorded in different sheet name is "recorder" to how many quantity sold out during particular year & part number wise.
    In recorder sheet f2 to j2 mentioned year i.e. 2008, 2009, 2010, 2011, 2012 & in column "a" mentioning part number.
    As per above formula total quantity with all sheets calculated, whereas i have required part number & year wise calculate.

    In view of the above confirm how to calculated with two criteria (part number & year wise).
    Last edited by avk; 12-27-2012 at 09:18 AM.

  2. #2
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    Microsoft 365
    Posts
    14,697

    Re: Sumproct, sumif indirect with two match criteria.

    Try this version for 2012

    =SUMPRODUCT(SUMIFS(INDIRECT("'"&LIST&"'!D:D"),INDIRECT("'"&LIST&"'!C:C"),A15,INDIRECT("'"&LIST&"'!I:I"),2012))
    Audere est facere

  3. #3
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: Sumproct, sumif indirect with two match criteria.

    maybe..

    Please Login or Register  to view this content.
    and drag across
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  4. #4
    Forum Expert avk's Avatar
    Join Date
    07-12-2007
    Location
    India
    MS-Off Ver
    Microsoft Office 2013
    Posts
    3,277

    Re: Sumproct, sumif indirect with two match criteria.

    Quote Originally Posted by daddylonglegs View Post
    Try this version for 2012

    =SUMPRODUCT(SUMIFS(INDIRECT("'"&LIST&"'!D:D"),INDIRECT("'"&LIST&"'!C:C"),A15,INDIRECT("'"&LIST&"'!I:I"),2012))
    I have change formula slightly as per below & it work perfectly.
    =SUMPRODUCT(SUMIFS(INDIRECT("'"&LIST&"'!$D:$D"),INDIRECT("'"&LIST&"'!$C:$C"),$A15,INDIRECT("'"&LIST&"'!$I:$I"),F$2))

  5. #5
    Forum Expert avk's Avatar
    Join Date
    07-12-2007
    Location
    India
    MS-Off Ver
    Microsoft Office 2013
    Posts
    3,277

    Re: Sumproct, sumif indirect with two match criteria.

    Quote Originally Posted by Ace_XL View Post
    maybe..

    Please Login or Register  to view this content.
    and drag across
    Yes ACE_xl. Thanks.

+ 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