Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Deb Deb is offline
external usenet poster
 
Posts: 102
Default Counting in columns

Hi all - I have a column which can include a date (eg format 10 June 2009)
and I want to be able to count the total number of times a date appears in
that column. I also have another column which includes the letter 'y' in
some cells. I also wish to count the total number of 'y's. Can anyone help.
As you can read I am so rubbish at that it is pitiful! Deb
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default Counting in columns

Hope the dates are formatted to excel date format. IF so

=COUNTIF(A:A,DATE(2009,6,10))
will give you the number of dates with 6th June 2009 in Column A

=COUNTIF(A:A,"Y")
will give you the number of Y's in Column A

--
If this post helps click Yes
---------------
Jacob Skaria


"Deb" wrote:

Hi all - I have a column which can include a date (eg format 10 June 2009)
and I want to be able to count the total number of times a date appears in
that column. I also have another column which includes the letter 'y' in
some cells. I also wish to count the total number of 'y's. Can anyone help.
As you can read I am so rubbish at that it is pitiful! Deb

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Deb Deb is offline
external usenet poster
 
Posts: 102
Default Counting in columns

Hi Jacob

The dates are all different. What I need to is to be able to know how many
cells have dates in.

"Jacob Skaria" wrote:

Hope the dates are formatted to excel date format. IF so

=COUNTIF(A:A,DATE(2009,6,10))
will give you the number of dates with 6th June 2009 in Column A

=COUNTIF(A:A,"Y")
will give you the number of Y's in Column A

--
If this post helps click Yes
---------------
Jacob Skaria


"Deb" wrote:

Hi all - I have a column which can include a date (eg format 10 June 2009)
and I want to be able to count the total number of times a date appears in
that column. I also have another column which includes the letter 'y' in
some cells. I also wish to count the total number of 'y's. Can anyone help.
As you can read I am so rubbish at that it is pitiful! Deb

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,766
Default Counting in columns

Hi

=count(range_of _dates) will count the number of cells which have dates and
numbers. Since you have not mentioned what else the column can hold, I
assuming that the cells are either blank or hold dates

--
Regards,

Ashish Mathur
Microsoft Excel MVP
www.ashishmathur.com

"Deb" wrote in message
...
Hi all - I have a column which can include a date (eg format 10 June 2009)
and I want to be able to count the total number of times a date appears in
that column. I also have another column which includes the letter 'y' in
some cells. I also wish to count the total number of 'y's. Can anyone
help.
As you can read I am so rubbish at that it is pitiful! Deb


  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default Counting in columns

Use

=COUNT(A:A)

If this post helps click Yes
---------------
Jacob Skaria


"Deb" wrote:

Hi Jacob

The dates are all different. What I need to is to be able to know how many
cells have dates in.

"Jacob Skaria" wrote:

Hope the dates are formatted to excel date format. IF so

=COUNTIF(A:A,DATE(2009,6,10))
will give you the number of dates with 6th June 2009 in Column A

=COUNTIF(A:A,"Y")
will give you the number of Y's in Column A

--
If this post helps click Yes
---------------
Jacob Skaria


"Deb" wrote:

Hi all - I have a column which can include a date (eg format 10 June 2009)
and I want to be able to count the total number of times a date appears in
that column. I also have another column which includes the letter 'y' in
some cells. I also wish to count the total number of 'y's. Can anyone help.
As you can read I am so rubbish at that it is pitiful! Deb



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 247
Default Counting in columns

On 10 Iun, 15:36, Deb wrote:
*What I need to is to be able to know how many cells have dates in.


Maybe next (count and cells with text) :

=COUNTBLANK(A:A)
or : = 65536 - COUNTBLANK(A:A)
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 in columns Mrs T.[_2_] Excel Worksheet Functions 15 May 2nd 09 11:44 PM
counting in columns Mrs T. Excel Worksheet Functions 9 May 2nd 09 10:13 PM
Counting in Columns Bernie R. Excel Worksheet Functions 4 February 11th 08 07:28 PM
Counting in two columns PedersenJ Excel Worksheet Functions 3 August 8th 06 12:24 AM
counting columns jpcblood Excel Worksheet Functions 1 August 10th 05 12:41 AM


All times are GMT +1. The time now is 10:40 AM.

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

About Us

"It's about Microsoft Excel"