+ Reply to Thread
Results 1 to 3 of 3

Hi i'm new and stumped need help getting values added by dates.

  1. #1
    Registered User
    Join Date
    04-28-2014
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    1

    Hi i'm new and stumped need help getting values added by dates.

    Hi I need help with formula to add the following values.

    Column A (Date) Column B (Hours) Column C (Hrs)

    1. 1/1/2014 3 3
    2. 1/2/2014 8 0
    3. 1/2/2014 4 12
    4. 1/3/2014 8 8
    5. 1/5/2014 5 0
    6. 1/5/2014 4 9

    The idea is that those values in column b can be anything but if the date is repeated and then both of the values (Column B) for the dates should be added and placed in column C. I have a formula working and gives me the total but it also shows the value as is for the 2nd date as well.

    This is what I get....and its wrong.
    Formula I used - =IF(A1=A2,B1+B2,B2)

    Column A (Date) Column B (Hours) Column C (Hrs)

    1. 1/1/2014 3 3
    2. 1/2/2014 8 8
    3. 1/2/2014 4 12
    4. 1/3/2014 8 8
    5. 1/5/2014 5 5
    6. 1/5/2014 4 9

    Can someone help please...TY

  2. #2
    Forum Expert
    Join Date
    09-20-2011
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    2,278

    Re: Hi i'm new and stumped need help getting values added by dates.

    Hello
    Welcome to the forum. I'm assuming the bottom table is correct, so try in C1 down:

    Please Login or Register  to view this content.
    Hope this helps.
    DBY

  3. #3
    Forum Contributor
    Join Date
    01-30-2011
    Location
    Vancouver, Canada
    MS-Off Ver
    Excel 2010
    Posts
    604

    Re: Hi i'm new and stumped need help getting values added by dates.

    I've included a SUMIFS formula attached. You may want to look into pivot tables too since they are very useful for summing data in that format. See the "Pivot" tab attached.
    Attached Files Attached Files

+ 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. Adding dates & who added the macro in VBA code
    By j1mbo007 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-20-2013, 09:09 AM
  2. [SOLVED] Sorting dates with added text issue.
    By skyping in forum Excel General
    Replies: 6
    Last Post: 11-26-2012, 09:38 PM
  3. [SOLVED] Trend function skipping NA values (whole office stumped)
    By jstone12 in forum Excel General
    Replies: 5
    Last Post: 07-30-2012, 08:00 PM
  4. Matching Values have me Stumped
    By Helen_88 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 03-03-2010, 05:24 PM
  5. Replies: 2
    Last Post: 06-26-2006, 12:25 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