#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default Countif time

Try this:

=COUNTIF(S4:S128,TIMEVALUE("0:08"))

or this:

=COUNTIF(S4:S128,TIME(0,8,0))

Times are stored internally by Excel as fractions of a 24-hour day, so
you need to compare like with like.

Hope this helps.

Pete

On Mar 28, 2:08 am, "S.C" wrote:
I have a column of time (0:08) I would like to count the amount of times the
time of 0:08 (for example) but I cannot get my formula of
=COUNTIF(S4:S128,"0:08") to count. This column is a subtraction of two times
=B4-E4, I copy and Paste Special the value into column "S"

Thanks in advance for the assistance
Steve



  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
S.C S.C is offline
external usenet poster
 
Posts: 6
Default Countif time

I have a column of time (0:08) I would like to count the amount of times the
time of 0:08 (for example) but I cannot get my formula of
=COUNTIF(S4:S128,"0:08") to count. This column is a subtraction of two times
=B4-E4, I copy and Paste Special the value into column "S"

Thanks in advance for the assistance
Steve



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default Countif time

Try this:

=SUMPRODUCT(--(C1:C7<=--"0:08"),--(C1:C7--"0:07:59"))


"S.C" wrote:

Pete,

Thanks for the formulas .... but neither of them worked .... I am going to
try and convert the time into a text number and see if that will work.

Thanks again

"Pete_UK" wrote in message
oups.com...
Try this:

=COUNTIF(S4:S128,TIMEVALUE("0:08"))

or this:

=COUNTIF(S4:S128,TIME(0,8,0))

Times are stored internally by Excel as fractions of a 24-hour day, so
you need to compare like with like.

Hope this helps.

Pete

On Mar 28, 2:08 am, "S.C" wrote:
I have a column of time (0:08) I would like to count the amount of times

the
time of 0:08 (for example) but I cannot get my formula of
=COUNTIF(S4:S128,"0:08") to count. This column is a subtraction of two

times
=B4-E4, I copy and Paste Special the value into column "S"

Thanks in advance for the assistance
Steve






  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
S.C S.C is offline
external usenet poster
 
Posts: 6
Default Countif time

Pete,

Thanks for the formulas .... but neither of them worked .... I am going to
try and convert the time into a text number and see if that will work.

Thanks again

"Pete_UK" wrote in message
oups.com...
Try this:

=COUNTIF(S4:S128,TIMEVALUE("0:08"))

or this:

=COUNTIF(S4:S128,TIME(0,8,0))

Times are stored internally by Excel as fractions of a 24-hour day, so
you need to compare like with like.

Hope this helps.

Pete

On Mar 28, 2:08 am, "S.C" wrote:
I have a column of time (0:08) I would like to count the amount of times

the
time of 0:08 (for example) but I cannot get my formula of
=COUNTIF(S4:S128,"0:08") to count. This column is a subtraction of two

times
=B4-E4, I copy and Paste Special the value into column "S"

Thanks in advance for the assistance
Steve





  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
S.C S.C is offline
external usenet poster
 
Posts: 6
Default Countif time

OK .. I will try that one in the morning ... Thanks


"Teethless mama" wrote in message
...
Try this:

=SUMPRODUCT(--(C1:C7<=--"0:08"),--(C1:C7--"0:07:59"))


"S.C" wrote:

Pete,

Thanks for the formulas .... but neither of them worked .... I am going

to
try and convert the time into a text number and see if that will work.

Thanks again

"Pete_UK" wrote in message
oups.com...
Try this:

=COUNTIF(S4:S128,TIMEVALUE("0:08"))

or this:

=COUNTIF(S4:S128,TIME(0,8,0))

Times are stored internally by Excel as fractions of a 24-hour day, so
you need to compare like with like.

Hope this helps.

Pete

On Mar 28, 2:08 am, "S.C" wrote:
I have a column of time (0:08) I would like to count the amount of

times
the
time of 0:08 (for example) but I cannot get my formula of
=COUNTIF(S4:S128,"0:08") to count. This column is a subtraction of

two
times
=B4-E4, I copy and Paste Special the value into column "S"

Thanks in advance for the assistance
Steve







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
Countif time is between two nominated times hopeless in excel Excel Worksheet Functions 2 April 20th 06 11:33 PM
Help with CountIf < and time formula please Stu Leslie Excel Worksheet Functions 1 March 31st 06 03:41 PM
Help with CountIf < and time formula please bpeltzer Excel Worksheet Functions 0 March 26th 06 11:44 PM
Using Countif to count occurences of time? Liketoknow Excel Worksheet Functions 5 February 6th 06 08:21 AM
COUNTIF use with fields of time sshakley Excel Worksheet Functions 2 December 1st 05 06:48 PM


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

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"