+ Reply to Thread
Results 1 to 4 of 4

count the number of dates for last month and the number of dates for this month

  1. #1
    Registered User
    Join Date
    04-24-2013
    Location
    Charlotte NC
    MS-Off Ver
    Excel 2007
    Posts
    31

    count the number of dates for last month and the number of dates for this month

    I have a list of dates in short date format (mm dd yyyy) I need a formula that will count the number of dates that are for the previous Month and for current month.
    I thought I needed to use =Eomonth(now()). Threre appears so many ways to calculate dates. What is the most efficient way to count previous and current dates

  2. #2
    Valued Forum Contributor
    Join Date
    09-01-2013
    Location
    Dallas, TX
    MS-Off Ver
    Excel 2010
    Posts
    324

    Re: count the number of dates for last month and the number of dates for this month

    Assuming all dates are in column A, use the below formulas to count.


    Count all dates of current month
    Please Login or Register  to view this content.
    Count all dates of previous month
    Please Login or Register  to view this content.
    Count of both displayed in one cell
    Please Login or Register  to view this content.
    Last edited by playaller; 04-25-2014 at 12:35 AM.

  3. #3
    Valued Forum Contributor Saarang84's Avatar
    Join Date
    02-19-2009
    Location
    Chennai, India
    MS-Off Ver
    XL 2003 to 2010
    Posts
    812

    Re: count the number of dates for last month and the number of dates for this month

    I suppose playaller has given the exact solution needed...


    Sarang

  4. #4
    Registered User
    Join Date
    04-24-2013
    Location
    Charlotte NC
    MS-Off Ver
    Excel 2007
    Posts
    31

    Re: count the number of dates for last month and the number of dates for this month

    Playller,
    Thank you for your help it worked perfectly,

+ 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] count number of times a text appeared in a month in given range of dates and names
    By KK1234 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 01-26-2014, 08:27 AM
  2. [SOLVED] Formula to count number of nights falling in each month from arrival and departure dates
    By zicitron in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 05-28-2013, 02:16 AM
  3. Counting number of unique dates per month in a list of duplicate dates
    By Rackle83 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 04-22-2013, 10:15 AM
  4. Count number of dates in one month
    By korygrandy in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-18-2008, 04:20 PM
  5. Replies: 9
    Last Post: 03-15-2006, 03:25 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