+ Reply to Thread
Results 1 to 7 of 7

Counting entries in a date range

  1. #1
    Registered User
    Join Date
    02-12-2014
    Location
    California, USA
    MS-Off Ver
    Excel 2007
    Posts
    4

    Counting entries in a date range

    Hello... I'm looking for a way to count entries of numbers per day of the week within a date range. Example

    Start End Mo Tu We Th Fr Sa Su TOTAL
    2/10 2/23 1 1 1 1 0 1 1 12
    3/1 3/31 1 2 1 1 1 1 2 40

    I don't know if that possible in excel or its to much

    Thanks for the help

  2. #2
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,227

    Re: Counting entries in a date range

    Hi chiveto and welcome to the forum,

    If you can use Pivot Tables this is an easy problem. You might also need an excel function called WeekDay(). Weekday will return a 1 for Sunday, 2 for Monday, etc. I've made some fake data in the attached.

    See the attached where I've grouped the dates by 14 days (you can use any number of days). See if it helps and start learning Excel Functions and this type of Pivot Table.
    Attached Files Attached Files
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  3. #3
    Registered User
    Join Date
    02-12-2014
    Location
    California, USA
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Counting entries in a date range

    Thank for the reply... But I can't figured out how to implemented on my job....

    I'm including the exact file I use on my job with the example where I have to add a line of data per week, in the example I have 3 weeks per this month.

    But I want to find a way to get the result using only one line.
    Attached Files Attached Files

  4. #4
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,227

    Re: Counting entries in a date range

    Hi chiveto,

    I'm not sure my attached helps much but I cleaned it up a little using Sum(). What cell do you want to get a formula in that is only one line?
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    02-12-2014
    Location
    California, USA
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Counting entries in a date range

    In the example I had the line 20,21 and 22 with their individual total on column Q but I want instead of this 3 lines had only one like
    In the line 25 with the result on column Q (Total Spots per month)

    The Cell Q34 has the GRAND TOTAL for all the lines input

  6. #6
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,227

    Re: Counting entries in a date range

    Isn't that what I did in my second attached example? Where do you want the "one" formula? What cell?

  7. #7
    Registered User
    Join Date
    02-12-2014
    Location
    California, USA
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Counting entries in a date range

    the result had to be on the column Q for each individual line... for the line 25 the formula has to be on cell Q25 for line 29 its Q29 and so on.

+ 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. Counting entries in a date range
    By kiah522 in forum Excel General
    Replies: 2
    Last Post: 09-07-2011, 02:03 PM
  2. VBA counting used entries in a range
    By f_mayr in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-22-2009, 04:16 AM
  3. Counting date entries between a date range
    By Vetequk in forum Excel General
    Replies: 2
    Last Post: 05-12-2009, 12:32 AM
  4. Counting number of entries in a range?
    By r055c in forum Excel General
    Replies: 3
    Last Post: 10-20-2008, 04:06 PM
  5. SUM - Counting Entries by date range
    By LAB2007 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-01-2008, 05:48 PM

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