+ Reply to Thread
Results 1 to 13 of 13

Sumifs with dates

  1. #1
    Registered User
    Join Date
    07-02-2019
    Location
    Dubai
    MS-Off Ver
    2019
    Posts
    49

    Post Sumifs with dates

    Hi Mates,

    I am sure that my question might have asked someone else in this forum itself and solved, i spend almost an hour by searching the answer but could't find, that is why this new thread.

    The below is my data format, i need to get the SUM totals for each MONTH separately for A,B & C. (Note; I don't want to create 2 new cells with a start and end dates)

    DATE COLLECT AMOUNT
    1-Jan-19 A 10
    2-Jan-19 B 15
    3-Jan-19 C 20
    4-Jan-19 A 25
    5-Jan-19 A 30
    6-Jan-19 B 35
    7-Jan-19 B 40
    8-Jan-19 C 45
    1-Feb-19 C 5
    2-Feb-19 A 10
    3-Feb-19 B 15
    4-Feb-19 C 20
    5-Feb-19 C 25
    6-Feb-19 C 30
    7-Feb-19 B 35
    8-Feb-19 A 40

  2. #2
    Forum Expert
    Join Date
    11-27-2007
    Location
    New Jersey, USA
    MS-Off Ver
    2013
    Posts
    1,669

    Re: Sumifs with dates

    See attached.
    Formula used:

    HTML Code: 
    Attached Files Attached Files
    1. Click on the * Add Reputation if you think this helped you
    2. Mark your thread as SOLVED when question is resolved

    Modytrane

  3. #3
    Registered User
    Join Date
    07-02-2019
    Location
    Dubai
    MS-Off Ver
    2019
    Posts
    49

    Re: Sumifs with dates

    Thank you so much...

    its done

  4. #4
    Registered User
    Join Date
    07-02-2019
    Location
    Dubai
    MS-Off Ver
    2019
    Posts
    49

    Re: Sumifs with dates

    Hello Chief,

    The formula is not working while i have exact dates in column A, as per the attached file all the dates are 19th of Jan and 19th of Feb, when i changed the dates the formula didn't took the amounts. any solution ?

  5. #5
    Forum Expert
    Join Date
    11-27-2007
    Location
    New Jersey, USA
    MS-Off Ver
    2013
    Posts
    1,669

    Re: Sumifs with dates

    Dates are Jan 2019 and Feb 2019.
    I don't know what your date format looks like. That's why it's better to attach a sample file so we can offer correct solution for your situation.

    Please attach a sample file and then explain what you are expecting.

  6. #6
    Forum Expert
    Join Date
    11-27-2007
    Location
    New Jersey, USA
    MS-Off Ver
    2013
    Posts
    1,669

    Re: Sumifs with dates

    Ok. See attached.

    Formula used:

    HTML Code: 
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    07-02-2019
    Location
    Dubai
    MS-Off Ver
    2019
    Posts
    49

    Re: Sumifs with dates

    The bow is the exact of my data, ( i don't know how to attach an excel file)

    DATE CODE AMOUNT
    1-Jan-19 d 200.00
    2-Jan-19 bc 100.00
    5-Jan-19 d 250.00
    20-Jan-19 bc 500.00
    30-Jan-19 d 500.00
    2-Feb-19 hd 100.00
    9-Feb-19 rp 500.00
    16-Feb-19 gf 300.00
    27-Feb-19 hd 2,000.00
    4-Mar-19 cb 50.00

    My answer data should be like


    CODE Jan-19 Feb-19 Mar-19 Apr-19
    D
    BC
    HD
    CB
    RP
    GF
    Last edited by Sajilpulath; 12-17-2019 at 04:26 PM. Reason: attach an ecel file

  8. #8
    Registered User
    Join Date
    07-02-2019
    Location
    Dubai
    MS-Off Ver
    2019
    Posts
    49

    Re: Sumifs with dates

    Thank you for the update,let me check and update you soon.

  9. #9
    Forum Expert
    Join Date
    11-27-2007
    Location
    New Jersey, USA
    MS-Off Ver
    2013
    Posts
    1,669

    Re: Sumifs with dates

    To attach a file to your post,
    click advanced (next to quick post),
    scroll down until you see "manage file",
    click that and select "add files" (top right corner).
    click "select files" find your file, click "open" click "upload" click 'done" bottom right. click "submit reply"

  10. #10
    Registered User
    Join Date
    07-02-2019
    Location
    Dubai
    MS-Off Ver
    2019
    Posts
    49

    Re: Sumifs with dates

    Great, its worked..

    Can't we do this with SUMIFS ?! (with a => 01-01-2019 & <=31-01-2019 , jest a question, i was trying for that, the current formula is very complex to me, never know why all that "--".

    Anyway thank you so much.

  11. #11
    Forum Expert
    Join Date
    11-27-2007
    Location
    New Jersey, USA
    MS-Off Ver
    2013
    Posts
    1,669

    Re: Sumifs with dates

    For SUMIFS to work you need to add helper columns [see attached].

    I have added SUMIFS formulas in the highlighted cells.

    HTML Code: 
    Attached Files Attached Files

  12. #12
    Registered User
    Join Date
    07-02-2019
    Location
    Dubai
    MS-Off Ver
    2019
    Posts
    49

    Re: Sumifs with dates

    Hi,

    Thanks for showing how it works with SUMIFS.

    Could you please explain me why all this '--' marks are important in the SUMPRODUCT formula, if possible.

    Thank you again.

  13. #13
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,650

    Re: Sumifs with dates

    Linked is a good discussion on the -- (double unary) topic.
    https://www.excelforum.com/excel-gen...hat-is-it.html
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

+ 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. SUMIFS Between 2 dates
    By Kcroft9 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 09-20-2019, 12:11 AM
  2. SUMIFS using dates
    By dmoyle2019 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-22-2019, 02:00 PM
  3. SUMIFS between 2 Dates
    By s0nicstang in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 08-04-2016, 04:06 PM
  4. [SOLVED] SUMIFS with two dates
    By Reapz in forum Excel General
    Replies: 8
    Last Post: 04-16-2015, 04:54 PM
  5. [SOLVED] Sumifs using dates help
    By shivernoz in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-25-2014, 12:41 PM
  6. SumIfs Between two dates
    By adam2308 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-01-2014, 11:31 AM
  7. [SOLVED] SUMIFS Between two dates
    By nsens in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 01-17-2013, 06:28 AM

Tags for this Thread

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