+ Reply to Thread
Results 1 to 8 of 8

Summing up values given a certain date

Hybrid View

  1. #1
    Registered User
    Join Date
    01-07-2015
    Location
    London, England
    MS-Off Ver
    MS Office 2010
    Posts
    8

    Summing up values given a certain date

    Hello all,

    I am trying to add up the value in column B given a certain date. The table is as follow:

    A B
    1 5/2/2015 11:18:00 PM 100
    2 5/2/2015 9:44:00 PM 100
    3 6/2/2015 2:26:00 PM 200
    4 6/2/2015 4:53:00 PM 200
    5 6/2/2015 6:18:00 PM 200

    The sum result table:

    5/2/2015 200
    6/2/2015 600

    I used the formula: =SUMIF(A:A, "*5/2/2015*", B:B) and =SUMIF(A:A, "*6/2/2015*", B:B) , but they don't seem to work. If you guys could please help that would be great.

    Thank you very much in advance.
    Last edited by hi0805; 02-11-2015 at 08:18 PM.

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    16,037

    Re: Summing up values given a certain date

    Use Pivot table
    Attached Files Attached Files
    Never use Merged Cells in Excel

  3. #3
    Registered User
    Join Date
    01-07-2015
    Location
    London, England
    MS-Off Ver
    MS Office 2010
    Posts
    8

    Re: Summing up values given a certain date

    Is there anyway I can use a formula to do this please?

  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
    53,048

    Re: Summing up values given a certain date

    Try this, copied down...
    =SUMPRODUCT((INT($A$1:$A$5)=A8)*($B$1:$B$5))
    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
    Registered User
    Join Date
    01-07-2015
    Location
    London, England
    MS-Off Ver
    MS Office 2010
    Posts
    8

    Re: Summing up values given a certain date

    Thanks for the reply. If I would like to add an extra criteria into the table. What should I do please?

    A B C
    1 5/2/2015 11:18:00 PM N 100
    2 5/2/2015 9:44:00 PM B 100
    3 6/2/2015 2:26:00 PM N 200
    4 6/2/2015 4:53:00 PM B 200
    5 6/2/2015 6:18:00 PM N 200

    The sum result table:

    5/2/2015 N 100
    6/2/2015 N 400

    Thank you for all the help in advance.

  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
    53,048

    Re: Summing up values given a certain date

    =sumproduct((int($a$1:$a$5)=a8)*($b$1:$b$5="n")*($c$1:$cb$5))
    Last edited by zbor; 02-10-2015 at 03:24 AM. Reason: Change : to "

  7. #7
    Registered User
    Join Date
    01-07-2015
    Location
    London, England
    MS-Off Ver
    MS Office 2010
    Posts
    8

    Re: Summing up values given a certain date

    Thanks for your help

  8. #8
    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
    53,048

    Re: Summing up values given a certain date

    Glad it worked for you

+ 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] Summing month to date of values in multiple columns
    By oshodibo in forum Excel Formulas & Functions
    Replies: 16
    Last Post: 08-21-2013, 08:13 AM
  2. Summing values for a particular date range and putting into one cell.
    By Catherine01 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-11-2013, 01:49 AM
  3. Summing values based on a dynamic date range
    By welchs101 in forum Excel General
    Replies: 2
    Last Post: 09-27-2011, 07:00 PM
  4. Summing values for a given date only
    By theiliad2000x in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-04-2011, 01:31 PM
  5. Selecting and Summing Date Values
    By controlfreak in forum Excel General
    Replies: 7
    Last Post: 06-09-2009, 10:07 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