+ Reply to Thread
Results 1 to 3 of 3

Formula to Count cells that contain a date

  1. #1
    Registered User
    Join Date
    02-17-2012
    Location
    Chicago
    MS-Off Ver
    Excel 2010
    Posts
    14

    Formula to Count cells that contain a date

    Hi everyone,
    I know the normal formula for COUNTIF AND COUNTIFS, but I'm trying to get Excel to count the number of cells in a range that contain ANY date. The range of cells would either create the word "Pending", be empty, or have a date in it. I want it to count the cells in the range with the date. I already have my formula for cells that contain "Pending" ... just can't figure out the same formula if it contains a date. Help?

  2. #2
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: Formula to Count cells that contain a date

    A date is just a number. So =COUNTIF(A1:A20,">" &40000)
    My General Rules if you want my help. Not aimed at any person in particular:

    1. Please Make Requests not demands, none of us get paid here.

    2. Check back on your post regularly. I will not return to a post after 4 days.
    If it is not important to you then it definitely is not important to me.

  3. #3
    Forum Expert XLent's Avatar
    Join Date
    10-13-2010
    Location
    Northumberland, UK
    MS-Off Ver
    various
    Posts
    2,704

    Re: Formula to Count cells that contain a date

    Use COUNT... Dates are just serial numbers with a date mask applied to them - i.e. on standard Windows today's serial is 43978, with 1 being 1 Jan 1900.

+ 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. Formula to Count Consecutive Blank Cells in a Range Depending on Today's Date
    By tophatpete in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 11-28-2020, 05:12 AM
  2. [SOLVED] Formula needed to count the number of days based on a date in other cells
    By excelteam777 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 10-06-2019, 11:49 AM
  3. [SOLVED] count occurrenced of today's date in cells where the date is imbedded in other text
    By ItzikM in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-25-2015, 10:51 PM
  4. Replies: 8
    Last Post: 07-13-2012, 09:02 AM
  5. Replies: 12
    Last Post: 11-22-2011, 09:27 AM
  6. Count number of cells with date <today's date
    By Cachod1 in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 01-27-2006, 10:40 PM
  7. count the number of cells with a date <= today's date
    By Cachod1 in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 01-27-2006, 05:20 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