+ Reply to Thread
Results 1 to 4 of 4

SUMIFS or SUMPRODUCT with Multiple Columns and with Date Criteria

  1. #1
    Registered User
    Join Date
    01-16-2013
    Location
    Florida
    MS-Off Ver
    Excel 2010
    Posts
    2

    SUMIFS or SUMPRODUCT with Multiple Columns and with Date Criteria

    I am trying to sum a range that is multiple columns (P6:T44) when three criteria are met. The first criteria is text (B6:B44) and the other two are dates (E6:E44 and F6:F44). T47 is the date I am comparing against. There are blank rows throughout.

    First I did this: =SUMIFS(T6:T44,B6:B44,"Revolver",E6:E44,"<=" & T47,F6:F44,">=" & T47) which returned a VALUE error. Some Googling told me that SUMIFS doesn't work over multiple columns. Ok.

    So, second, I did this: =SUMPRODUCT((B6:B44="Revolver")*(E6:E44<=T47)*(F6:F44>=T47),(P6:T44)) and I am still getting a VALUE error.

    In both cases it works if I narrow the sum range to T6:T44, but I don't love the idea of doing this 5 times (one per column) and then summing those, especially since I will have to add a new column every month. Does anyone have an alternate solution? Thanks!

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,240

    Re: SUMIFS or SUMPRODUCT with Multiple Columns and with Date Criteria

    Try:

    Formula: copy to clipboard
    Please Login or Register  to view this content.




    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Registered User
    Join Date
    01-16-2013
    Location
    Florida
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: SUMIFS or SUMPRODUCT with Multiple Columns and with Date Criteria

    That did it! Thanks so much.

  4. #4
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,240

    Re: SUMIFS or SUMPRODUCT with Multiple Columns and with Date Criteria

    You're welcome. Thanks for the rep.



    If you are satisfied with the solution(s) provided, please mark your thread as Solved.


    New quick method:
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

    Or you can use this way:

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save


    You may also want to consider thanking those people who helped you by clicking on the little star at the bottom left of their reply to your question.

+ 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. Need help understanding sumifs columns with multiple criteria
    By igoodable in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-28-2014, 02:27 PM
  2. [SOLVED] SUMIF or SUMIFS adding time where criteria is in multiple columns
    By 66ev in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 08-14-2013, 02:21 PM
  3. SUMIFS or SUMPRODUCT with multiple criteria including date ranges
    By baxcat in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-25-2013, 09:40 AM
  4. Replies: 2
    Last Post: 01-23-2013, 06:25 AM
  5. [SOLVED] sumproduct and sumifs using multiple criteria across worksheets
    By mick86 in forum Excel General
    Replies: 4
    Last Post: 08-29-2012, 02:51 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