+ Reply to Thread
Results 1 to 3 of 3

Sumif to count up specific date

  1. #1
    Forum Contributor
    Join Date
    06-10-2014
    Location
    UK
    MS-Off Ver
    2010
    Posts
    272

    Sumif to count up specific date

    I'm trying to sum the number of sales by product type in a previous year up to and including todays date, ignoring the year. So I want to get todays date automatically, remove the year and

    and count the number of sales to 15 Jan for example.

    I have this formula, which counts by product type, upto the current date, which is wrong. Can't figure out how to just use the day & Month.

    =SUMIF(A1:E1,"<="&TODAY(),A2:E2)

    Many thanks

  2. #2
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,957

    Re: Sumif to count up specific date

    I don't feel like setting up a spreadsheet to test this so I'll tell you how to do it and you can figure it out from my verbal description. It sounds like a combination of TEXT() to separate the date into DD-MM format and SUMPRODUCT or an array formula should do the trick for you.

  3. #3
    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: Sumif to count up specific date

    By removing the year, if you have more than just this year/last year, you could include more than just 1 year's data

    Look at using SUMIFS() for this. Can you upload a small (clean) sample workbook (not a pic) of what you are working with, and what your expected outcome would look like.
    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

+ 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. Help with sumif to count based on date
    By sipa in forum Excel General
    Replies: 30
    Last Post: 01-18-2016, 11:29 AM
  2. [SOLVED] Sumif based on date and specific listing
    By lifeisaspreadsheet in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-03-2015, 02:03 PM
  3. Replies: 3
    Last Post: 08-04-2015, 08:03 AM
  4. [SOLVED] SUMIF array formula to count unique values after a certain date
    By CakeMish in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-13-2015, 09:24 AM
  5. [SOLVED] Count cells within a specific date range that contain a specific word
    By oneillp1 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 07-23-2014, 08:34 AM
  6. SUMIF Issue, how to not count specific values
    By Hypnopoison in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-20-2013, 12:57 PM
  7. Replies: 1
    Last Post: 02-05-2013, 09:14 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