+ Reply to Thread
Results 1 to 4 of 4

Sumproduct Date Compare for Month and Year

  1. #1
    Registered User
    Join Date
    11-01-2018
    Location
    Seattle
    MS-Off Ver
    Windows 7
    Posts
    2

    Question Sumproduct Date Compare for Month and Year

    Hello! new here!! I am looking for a formula that will look at the dates in two columns (start and end date), and return the sum of another column if those dates are included in a certain month.

    For example below.

    The first table, is where my data is stored.

    The second table (on another sheet), I want to return the sum of resources needed if the start and end date ranges include that month. So for October in the second table , it would return 2 while November returns 3.

    I tried to attach my file, so hopefully it worked.

    I have tried this, but am getting a return of 0. It's not calculating how i need it to.

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Hope that makes sense and that someone can help me out!
    Attached Files Attached Files
    Last edited by missdeannamarie; 11-01-2018 at 07:43 PM.

  2. #2
    Forum Guru
    Join Date
    02-27-2016
    Location
    Vietnam
    MS-Off Ver
    2016
    Posts
    5,907

    Re: Sumproduct Date Compare for Month and Year

    Try:
    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    11-01-2018
    Location
    Seattle
    MS-Off Ver
    Windows 7
    Posts
    2

    Re: Sumproduct Date Compare for Month and Year

    That didn't seem to work.

    I changed it a bit to look at the correct columns. Where H:I is the start and end date range, and G should be summed but i still got a return of 0.
    Also, i need this to work for different years as well.


    Formula: copy to clipboard
    Please Login or Register  to view this content.

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

    Re: Sumproduct Date Compare for Month and Year

    "Where H:I is the start and end date range, and G should be summed..."
    That doesn't seem to match the file attached to post #1.
    Phuocam's formula seems to sum the "PLANNED APPLICATION ENGINEERS" correctly (i.e. 2 for Oct 18, 2.5 for Nov 18 - March 19 and .5 for April 19).
    Let us know if you have any questions.
    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. SUMPRODUCT - Month AND Year
    By CarloF in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 02-19-2015, 12:58 PM
  2. [SOLVED] Formula to compare date (including month and year) from a listed date to today's date
    By mhewitson15 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-11-2014, 05:31 PM
  3. [SOLVED] Sumproduct from date - 4 criteria (inc month & year)
    By Knawl in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-28-2014, 04:48 AM
  4. Need to convert Month/Date/Year to Year/Month/Date so excel will recognize
    By juliettelam in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-25-2014, 04:17 PM
  5. [SOLVED] Using SumProduct for dates inclusive of Year to Date, Month to date, Quarter to Date
    By cartica in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-26-2014, 04:22 PM
  6. Replies: 3
    Last Post: 09-04-2013, 10:49 AM
  7. [SOLVED] SUMPRODUCT, OR, Less than Month & Less than Year
    By JUGGAKNOTZZ in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 03-01-2013, 10:51 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