+ Reply to Thread
Results 1 to 5 of 5

Problem with SUMIFS (or am I using the wrong formula???)

  1. #1
    Forum Contributor
    Join Date
    10-07-2011
    Location
    Plano, TX USA
    MS-Off Ver
    Excel 2013
    Posts
    141

    Problem with SUMIFS (or am I using the wrong formula???)

    Hi Everyone -
    Please see the attached Excel Workbook.

    I have 2 spreadsheets, first is Invoices where I capture each incoming invoice and the amount paid for that invoice as well as the invoice date.

    The second spreadsheet is used to summarize all invoices paid for a given month.

    I am trying to use the SUMIFS function to sum the number of invoices for a given seq# in a given month, so 2 sets of criteria.

    The expected results are with yellow highlights, the wrong (issues) results are highlighted in red.

    I normally work with tables so I have both a "table" view as well as a "non-table" view.

    ANY help to get my scattered brain functioning again is greatly appreciated.

    Thanks,
    Jim

    SUMIFS Issue.xlsx
    Last edited by stubbsj; 02-24-2015 at 01:33 PM. Reason: add more detail
    If I was able to help you, I would appreciate your reputation feedback by using the * icon in the lower left.

  2. #2
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Problem with SUMIFS (or am I using the wrong formula???)

    In B6 copied across and down

    =IF(ISNUMBER(MATCH($A6,$A$5:$A5,0)),0,SUMIFS(Invoices!$C$6:$C$12,Invoices!$A$6:$A$12,$A6,Invoices!$B$6:$B$12,B$3))
    Does that work for you?
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Forum Contributor
    Join Date
    10-07-2011
    Location
    Plano, TX USA
    MS-Off Ver
    Excel 2013
    Posts
    141

    Re: Problem with SUMIFS (or am I using the wrong formula???)

    Hi ChemistB
    I used your formula. If fixed part of the issue but the value generated in cell C6 should be 0 and cell c7 should be 105. Same issue for cell C11 and C12.

    Jim

  4. #4
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,914

    Re: Problem with SUMIFS (or am I using the wrong formula???)

    b6=IF(COUNTIF($A$6:$A6,$A6)=COLUMNS($B6:B6),SUMPRODUCT((Invoices!$B$6:$B$12=B$3)*(Invoices!$A$6:$A$12=$A6)*(Invoices!$C$6:$C$12)),0)
    try this and copy across
    i think it will work for the data provided by you
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

  5. #5
    Forum Contributor
    Join Date
    10-07-2011
    Location
    Plano, TX USA
    MS-Off Ver
    Excel 2013
    Posts
    141

    Re: Problem with SUMIFS (or am I using the wrong formula???)

    That did it. Thanks NFLSALES.

+ 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] SUMIFS Formula Problem
    By AlexMillington in forum Excel Formulas & Functions
    Replies: 18
    Last Post: 07-28-2014, 01:54 PM
  2. SUMIFS Problem - A value used in the formula is of the wrong data type
    By TicklyTigger in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-09-2014, 10:48 AM
  3. [SOLVED] Having a problem with IF formula (may be going about this the wrong way)
    By Chris5678 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 10-07-2013, 09:01 PM
  4. [SOLVED] Sumifs, problem with the formula: =sumifs(c10:c200,<=today(),0)
    By Faustocruz in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 10-08-2012, 04:26 AM
  5. sumifs (i think) formula problem
    By big_nath in forum Excel General
    Replies: 2
    Last Post: 09-30-2011, 09:58 AM

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