+ Reply to Thread
Results 1 to 6 of 6

Sum (SUMPRODUCT), with various criteria. (dates)

  1. #1
    Valued Forum Contributor marreco's Avatar
    Join Date
    07-02-2011
    Location
    Brazil
    MS-Off Ver
    Excel 2010
    Posts
    1,862

    Sum (SUMPRODUCT), with various criteria. (dates)

    Hi.

    I'm having trouble adding (SUMPRODUCT), with various criteria.

    using a comparison with dates.
    Attached Files Attached Files
    "No xadrez nem sempre a menor dist?ncia entre dois pontos ? uma linha reta" G. Kasparov.

    If your problem is solved, please say so clearly, and mark your thread as Solved: Click the Edit button on your first post in the thread, Click Go Advanced, select b from the Prefix dropdown, then click Save Changes. If more than two days have elapsed, the Edit button will not appear -- ask a moderator to mark it.

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Sum (SUMPRODUCT), with various criteria. (dates)

    Hi,

    With 2007 you'd be better advised to use the SUMIFS() formula (that's SUMIFS plural).
    You should also arrange your data so that you use proper date numbers on your results sheet rather than just month names with a year on row 3.

    Better still though, do away with the Results sheet and use a Pivot Table on your first sheet which will give you all the analysis and totalling you will ever need - and more.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Valued Forum Contributor marreco's Avatar
    Join Date
    07-02-2011
    Location
    Brazil
    MS-Off Ver
    Excel 2010
    Posts
    1,862

    Re: Sum (SUMPRODUCT), with various criteria. (dates)

    but I have a tab in a date (dd / mm / yyyy) and another line the month 01

    result in the guide, so January is the month (the full name of the month)

    as sumifs, will accept this?

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,944

    Re: Sum (SUMPRODUCT), with various criteria. (dates)

    Yes it will.

    In sheet2, B5, use this, copied down and across...
    Please Login or Register  to view this content.
    Just a tip for the future...if you are going to use dates, then use dates everywhere, dont use dates in 1 table, and then in another, use text (Jan, feb etc). That just creates all sorts of headaches trying to convert text (JANEIRO) to 1/1/2013
    just to that small conversion, I had to use...
    DATE(Result!$B$3,MONTH(365/12*(ROW(A5)-4)),1)
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  5. #5
    Valued Forum Contributor marreco's Avatar
    Join Date
    07-02-2011
    Location
    Brazil
    MS-Off Ver
    Excel 2010
    Posts
    1,862

    Re: Sum (SUMPRODUCT), with various criteria. (dates)

    Hi.

    Very good!!

    Thank you!!

  6. #6
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,944

    Re: Sum (SUMPRODUCT), with various criteria. (dates)

    happy to help and thanks for the feedback

+ 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