Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Mike R
 
Posts: n/a
Default Conditional formatting w/minutes

xl 2000--I am tracking transaction times and would like to use CF to highlite
times more than and less than 2 minutes. I tried to use "cell value" and it
is not recognizing :02, (for instance). What would a formula be that would
work to do this? I think I need to convert the answer to a portion of a day?
I am using a formula to subtract the start time and the end time. The results
are formated as time ie :01, :06, :11, :02 etc.
  #2   Report Post  
Ron Rosenfeld
 
Posts: n/a
Default

On Sat, 5 Feb 2005 19:25:02 -0800, Mike R
wrote:

xl 2000--I am tracking transaction times and would like to use CF to highlite
times more than and less than 2 minutes. I tried to use "cell value" and it
is not recognizing :02, (for instance). What would a formula be that would
work to do this? I think I need to convert the answer to a portion of a day?
I am using a formula to subtract the start time and the end time. The results
are formated as time ie :01, :06, :11, :02 etc.


Depending on what you want to do at exactly two minutes:

Cell Value is Less Than 0.0013888888888889


--ron
  #3   Report Post  
Mike R
 
Posts: n/a
Default

Thanks Ron that did it for me. Could you tell me what that number represents
or how you got it?

"Ron Rosenfeld" wrote:

On Sat, 5 Feb 2005 19:25:02 -0800, Mike R
wrote:

xl 2000--I am tracking transaction times and would like to use CF to highlite
times more than and less than 2 minutes. I tried to use "cell value" and it
is not recognizing :02, (for instance). What would a formula be that would
work to do this? I think I need to convert the answer to a portion of a day?
I am using a formula to subtract the start time and the end time. The results
are formated as time ie :01, :06, :11, :02 etc.


Depending on what you want to do at exactly two minutes:

Cell Value is Less Than 0.0013888888888889


--ron

  #4   Report Post  
Biff
 
Posts: n/a
Default

Hi!

Ron's suggestion is correct (it always is) but it may be
easier to understand in this application:

You were correct in that you need to convert the value to
a "portion" of a day.

A day is 1440 minutes so you need to convert 2 minutes to
a fractional part of a day:

2/1440 = 0.0013888888888889

So, you could select from the CF dialog: FORMULA IS

=A1<2/1440

The same applies to any measure of time.

hours = h/24
seconds = s/86400

Biff

-----Original Message-----
xl 2000--I am tracking transaction times and would like

to use CF to highlite
times more than and less than 2 minutes. I tried to

use "cell value" and it
is not recognizing :02, (for instance). What would a

formula be that would
work to do this? I think I need to convert the answer to

a portion of a day?
I am using a formula to subtract the start time and the

end time. The results
are formated as time ie :01, :06, :11, :02 etc.
.

  #5   Report Post  
Mike R
 
Posts: n/a
Default

Thank you very much. Ron for the formula and Biff for the explaination.
24*60 is 1440, now it seems so simple. Thank you again.
Mike R.

"Biff" wrote:

Hi!

Ron's suggestion is correct (it always is) but it may be
easier to understand in this application:

You were correct in that you need to convert the value to
a "portion" of a day.

A day is 1440 minutes so you need to convert 2 minutes to
a fractional part of a day:

2/1440 = 0.0013888888888889

So, you could select from the CF dialog: FORMULA IS

=A1<2/1440

The same applies to any measure of time.

hours = h/24
seconds = s/86400

Biff

-----Original Message-----
xl 2000--I am tracking transaction times and would like

to use CF to highlite
times more than and less than 2 minutes. I tried to

use "cell value" and it
is not recognizing :02, (for instance). What would a

formula be that would
work to do this? I think I need to convert the answer to

a portion of a day?
I am using a formula to subtract the start time and the

end time. The results
are formated as time ie :01, :06, :11, :02 etc.
.




  #6   Report Post  
Ron Rosenfeld
 
Posts: n/a
Default

On Sat, 5 Feb 2005 20:47:01 -0800, Mike R
wrote:

Thanks Ron that did it for me. Could you tell me what that number represents
or how you got it?


As *you* correctly wrote, you need to convert the 2 minutes to a fraction of a
day. There are 24*60=1440 minutes in a day. That number is equal to 2/1440.


--ron
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
Conditional Formatting in Excel Help Please..... Willie T Excel Discussion (Misc queries) 4 February 9th 05 02:28 PM
Effect of Conditional Formatting, Data Validation Bill Sturdevant Excel Discussion (Misc queries) 1 January 25th 05 11:50 PM
Copy conditional formatting across multiple rows? Gil Excel Discussion (Misc queries) 1 January 11th 05 11:27 AM
Determine cells that drive conditional formatting? Nicolle K. Excel Discussion (Misc queries) 2 January 7th 05 01:08 AM
Conditional formatting not available in Excel BAB Excel Discussion (Misc queries) 2 January 1st 05 03:33 PM


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