Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default Count cells that have a number 0

00:00 Don't count
00:01 Count
00:10 Count
01:00 Count
12:01 Count

I want to count a column that has 1 to 60 minutes and 1 to 12 hrs.

Any help would be appreciated.

Fly Boy 5
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 21
Default Count cells that have a number 0

use following function

=COUNTIF(A:A,"0")

"Fly Boy 5" wrote:

00:00 Don't count
00:01 Count
00:10 Count
01:00 Count
12:01 Count

I want to count a column that has 1 to 60 minutes and 1 to 12 hrs.

Any help would be appreciated.

Fly Boy 5

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,624
Default Count cells that have a number 0

One way:

1-60 minutes:

=COUNTIF(A:A,"0") - COUNTIF(A:A,"" & 1/24)

or, alternatively:

=SUMPRODUCT(--(A1:A1000),--(A1:A100<=1/24))

1-12 hours:

=COUNTIF(A:A,"" & 1/24) - COUNTIF(A:A,"" & 12/24)

or, alternatively:

=SUMPRODUCT(--(A1:A1001/24),--(A1:A100<=0.5))


In article ,
Fly Boy 5 wrote:

00:00 Don't count
00:01 Count
00:10 Count
01:00 Count
12:01 Count

I want to count a column that has 1 to 60 minutes and 1 to 12 hrs.

Any help would be appreciated.

Fly Boy 5

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default Count cells that have a number 0

Thanks, it worked great!!!!!!!!!!!!


"sand" wrote:

use following function

=COUNTIF(A:A,"0")

"Fly Boy 5" wrote:

00:00 Don't count
00:01 Count
00:10 Count
01:00 Count
12:01 Count

I want to count a column that has 1 to 60 minutes and 1 to 12 hrs.

Any help would be appreciated.

Fly Boy 5

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
How do I get a count of number of cells filled in? Meenie Excel Discussion (Misc queries) 3 January 10th 07 09:16 PM
Count Number of Different Cells ForSale Excel Worksheet Functions 3 June 8th 06 09:19 PM
count number of cells bill gras Excel Worksheet Functions 4 October 3rd 05 07:15 AM
Count the number of Cells in one ROW with conditions Amanda Excel Worksheet Functions 2 September 9th 05 04:03 PM
How do I count the number of cells in a list, e.g. H6:H12, J4, J7: KTS Excel Worksheet Functions 0 July 26th 05 08:09 PM


All times are GMT +1. The time now is 01:08 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"