+ Reply to Thread
Results 1 to 6 of 6

how to add additional criteria to a SUMIF formual?

Hybrid View

  1. #1
    Valued Forum Contributor
    Join Date
    12-22-2010
    Location
    Texas
    MS-Off Ver
    Excel 2003 & Excel/Access 2007
    Posts
    438

    how to add additional criteria to a SUMIF formual?

    I got this formula that works like a charm…

    =SUMIF('Commercial Loans'!J3:J100,"*AL*",'Commercial Loans'!G3:G100)

    I’d like to add to it but don’t know how to go about it…

    I would like for it to sum anything that contains “*AL*” but only if cell X3(commercial loans tab) is less than or equal to cell C41(summary tab).

  2. #2
    Valued Forum Contributor
    Join Date
    12-22-2010
    Location
    Texas
    MS-Off Ver
    Excel 2003 & Excel/Access 2007
    Posts
    438

    Re: how to add additional criteria to a SUMIF formual?

    I tired a sumifs:

    =SUMIFS('Commercial Loans'!G3:G100,'Commercial Loans'!X3:X100,">=Summary!C41",'Commercial Loans'!J3:J100,"*AL*")
    and it returns zero...

  3. #3
    Valued Forum Contributor
    Join Date
    12-22-2010
    Location
    Texas
    MS-Off Ver
    Excel 2003 & Excel/Access 2007
    Posts
    438

    Re: how to add additional criteria to a SUMIF formual?

    Finally getting somewhere

    I got this:

    =SUMPRODUCT(--(Summary!C41<='Commercial Loans'!X3:X100)--('Commercial Loans'!J3:J100="Iris"),'Commercial Loans'!G3:G100)

    and it returns 1,018,396.90
    but it should only bring 693,609.18 over... any ideas why?
    Attached Files Attached Files
    Last edited by jgomez; 07-14-2011 at 02:16 PM.

  4. #4
    Valued Forum Contributor
    Join Date
    12-22-2010
    Location
    Texas
    MS-Off Ver
    Excel 2003 & Excel/Access 2007
    Posts
    438

    Re: how to add additional criteria to a SUMIF formual?

    I know there hasn't been any replies just yet but when I get a count i also get a wrong answer...

  5. #5
    Forum Expert Colin Legg's Avatar
    Join Date
    03-30-2008
    Location
    UK
    MS-Off Ver
    365
    Posts
    1,256

    Re: how to add additional criteria to a SUMIF formual?

    but only if cell X3(commercial loans tab) is less than or equal to cell C41(summary tab).
    When you're using SUMIF, SUMIFS, etc, you have to concatenate the <= condition with the cell reference, like this:

    =SUMIFS('Commercial Loans'!G3:G100,'Commercial Loans'!X3:X100, "<="&Summary!C41,'Commercial Loans'!J3:J100,"*AL*")

    I noted that in your post you said "less than or equal to C41", but in your attempted SUMIFS formula, you tried to use >=C41.
    Hope that helps,

    Colin

    RAD Excel Blog

  6. #6
    Valued Forum Contributor
    Join Date
    12-22-2010
    Location
    Texas
    MS-Off Ver
    Excel 2003 & Excel/Access 2007
    Posts
    438

    Re: how to add additional criteria to a SUMIF formual?

    Thanks, that did help.

+ 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