+ Reply to Thread
Results 1 to 6 of 6

Sumifs double nested condictional

  1. #1
    Registered User
    Join Date
    04-02-2013
    Location
    Ann Arbor
    MS-Off Ver
    Excel 2010
    Posts
    62

    Sumifs double nested condictional

    Here is my Formula...

    =IFERROR(SUMIFS(SGReport!E:E,SGReport!L:L=[@[Product List]],SGReport!K:K=ArrayData!E5),TRUE),"Didn't Work")

    is not working but it seems correct. I am looking to Sum if you find the condiction is true

    If colu L:L matches @ Prodcut list and if in colum K:K matches E5 then add the numbers in colum E:E

    ~J

  2. #2
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Sumifs double nested condictional

    IFERROR only has 2 parts, The formula to test for error, and the result you want if it is an error.
    If it is NOT an error, it just executes the original formula

    =IFERROR(calculation,valueiferror)

    You're trying to do
    =IFERROR(sumif,true,"didn't work") <--3 parts


    Try
    =IFERROR(SUMIFS(SGReport!E:E,SGReport!L:L=[@[Product List]],SGReport!K:K=ArrayData!E5),"Didn't Work")

    This will return "Didn't work" if the sumifs results in an error, otherwise it just gives the result of the sumifs.

  3. #3
    Registered User
    Join Date
    04-02-2013
    Location
    Ann Arbor
    MS-Off Ver
    Excel 2010
    Posts
    62

    Re: Sumifs double nested condictional

    I try that ...it just says't that it dosen't work... Excel says the formula is wrong...

    =IFERROR(SUMIFS(SGReport!E:E,SGReport!L:L=[@[Product List]],SGReport!K:K=ArrayData!E5),"Didn't Work")

  4. #4
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Sumifs double nested condictional

    Ah, I see it now...
    In sumif(s), the syntax for criteria isn't range=value, it's range,value (one argument for the range, next argument for the criteria)

    so try
    =IFERROR(SUMIFS(SGReport!E:E,SGReport!L:L,[@[Product List]],SGReport!K:K,ArrayData!E5),"Didn't Work")

  5. #5
    Registered User
    Join Date
    04-02-2013
    Location
    Ann Arbor
    MS-Off Ver
    Excel 2010
    Posts
    62

    Re: Sumifs double nested condictional

    THX that worked

  6. #6
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Sumifs double nested condictional

    You're welcome.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Nested multiple sumifs
    By Steverizer in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-16-2013, 06:58 PM
  2. [SOLVED] Excel 2007 : Nested SUMIFs or ??
    By MMLBaylor in forum Excel General
    Replies: 4
    Last Post: 04-30-2012, 03:12 PM
  3. Nested Sumifs
    By Notters in forum Excel General
    Replies: 0
    Last Post: 12-05-2011, 11:49 AM
  4. Nested SUMIFs?
    By coldcanuck in forum Excel General
    Replies: 2
    Last Post: 08-05-2011, 01:17 PM
  5. Excel 2007 : Nested Sumif or Using SUMIFS????
    By MMLBaylor in forum Excel General
    Replies: 5
    Last Post: 03-15-2011, 02:16 PM

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