#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 143
Default Counting Dates

Hi,

I have a spreadsheet where in one column, some cells have dates, and some
are blank. I want to count all the cells that have the dates and exclude any
empty cells or cells that contain the header information. I have tried
=COUNT(A1:A100) and =COUNTA(A1:A100). I have even tried several other ideas
based on posts in this group, but the result always is 1/6/1900 instead of a
count. I can't imagine why this isn't working for me and would appreciate any
ideas you may have. Thanks.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default Counting Dates

Marie,

Your Counta formula will count all non-blank cells in your range. It is
showing 1/6/1900 because the cell is formatted as a date. Change the format
to general and you should get an answer of 153.

Just one point Counta will count any populated cell not just those with
dates in.

Mike

"Marie" wrote:

Hi,

I have a spreadsheet where in one column, some cells have dates, and some
are blank. I want to count all the cells that have the dates and exclude any
empty cells or cells that contain the header information. I have tried
=COUNT(A1:A100) and =COUNTA(A1:A100). I have even tried several other ideas
based on posts in this group, but the result always is 1/6/1900 instead of a
count. I can't imagine why this isn't working for me and would appreciate any
ideas you may have. Thanks.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Counting Dates

I have tried =COUNT(A1:A100) and =COUNTA(A1:A100).
Change the format to general and you should get an answer of 153.


How can you get 153 from a range of 100 cells? <g

That's why I don't like it when people post ambiguous dates like 1/6/1900 or
6/1/1900.

To me, 1/6/1900 is "obviously" January 6 1900 = 6

To you, 1/6/1900 is "obviously" 1 June 1900 = 153

Biff

"Mike H" wrote in message
...
Marie,

Your Counta formula will count all non-blank cells in your range. It is
showing 1/6/1900 because the cell is formatted as a date. Change the
format
to general and you should get an answer of 153.

Just one point Counta will count any populated cell not just those with
dates in.

Mike

"Marie" wrote:

Hi,

I have a spreadsheet where in one column, some cells have dates, and some
are blank. I want to count all the cells that have the dates and exclude
any
empty cells or cells that contain the header information. I have tried
=COUNT(A1:A100) and =COUNTA(A1:A100). I have even tried several other
ideas
based on posts in this group, but the result always is 1/6/1900 instead
of a
count. I can't imagine why this isn't working for me and would appreciate
any
ideas you may have. Thanks.



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 143
Default Counting Dates

Thanks guys.....it worked! I changed the format to general and it worked
correctly. Mike, you're right....when I used COUNT, it gave me just the
number of cells populated with a date, and when I used COUNTA it included the
header row as well. I guess I'll use COUNT. Thanks again.

"Marie" wrote:

Hi,

I have a spreadsheet where in one column, some cells have dates, and some
are blank. I want to count all the cells that have the dates and exclude any
empty cells or cells that contain the header information. I have tried
=COUNT(A1:A100) and =COUNTA(A1:A100). I have even tried several other ideas
based on posts in this group, but the result always is 1/6/1900 instead of a
count. I can't imagine why this isn't working for me and would appreciate any
ideas you may have. Thanks.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
counting dates Tim Rowlan Excel Worksheet Functions 5 August 31st 06 07:59 PM
counting occasions dates occur between 2 dates hoyt New Users to Excel 5 June 16th 06 08:11 AM
Counting dates, within a list of dates jrheinschm Excel Worksheet Functions 7 April 19th 06 06:13 PM
counting dates jeremy via OfficeKB.com New Users to Excel 1 August 12th 05 02:03 AM
Counting Dates MJMP Excel Worksheet Functions 2 May 24th 05 07:34 PM


All times are GMT +1. The time now is 07:01 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"