+ Reply to Thread
Results 1 to 2 of 2

Sum a Column If between 2 dates and Matches a Project Name

  1. #1
    Registered User
    Join Date
    07-13-2017
    Location
    California
    MS-Off Ver
    2016
    Posts
    9

    Sum a Column If between 2 dates and Matches a Project Name

    Hi everyone - see an example of the type of data I have below.

    I need an equation that will sum the number of hours between 2 dates for a specific project.


    Project Date Hours
    A 1/10/2019 8
    A 1/2/2020 5
    A 6/2/2019 8
    B 3/2/2018 10
    B 4/1/2018 5
    B 1/20/2019 8


    For example - the number of hours between 1/3/19-1/3/20 for Project A is 21 hours. The number of hours for project B between 3/1/18 through 6/1/18 is 15 hours. Is there an equation that can do this for me?

  2. #2
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Sum a Column If between 2 dates and Matches a Project Name

    e1 = A
    e2 = B

    =sumif($a$1:$a$15,$e1,$c$1:$c$15) and drag down.
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

+ 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] INDEX on a cell in Column H if field $A4 matches Column D *OR* Matches Column E?
    By StevenCranford in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-09-2017, 09:05 PM
  2. Replies: 17
    Last Post: 10-22-2015, 02:19 PM
  3. [SOLVED] Summing the matches of one column only if its corresponding description matches a list
    By bishop-jese-erl in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 02-19-2015, 04:26 PM
  4. Replies: 1
    Last Post: 09-26-2013, 12:16 PM
  5. [SOLVED] Convert column of dates to rows where date matches
    By ss10 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-11-2013, 01:33 PM
  6. [SOLVED] Sum amounts based on dates in a column range and a project # in a specific cell
    By Jexcel2012 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-08-2012, 01:51 PM
  7. Conditional Format Dates in a Calender when Matches dates in a list
    By Lungfish in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-14-2009, 06:23 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