#1   Report Post  
Old October 9th 05, 07:54 PM
Eddie Munster
 
Posts: n/a
Default compare time

I would like to compare a calculated time in my work sheet vs. the actual
system time. For example, if the caculated time is than or = to the system
time I want excel to tell me to "CALL", if not then "REST"...any help would
be appreciated.

Thanks,
DE

  #2   Report Post  
Old October 9th 05, 08:12 PM
Gary''s Student
 
Posts: n/a
Default

Put your calculated time in a cell (say A1) In B1 put =NOW()
in C1 enter =IF(A1=B1,"CALL","REST)
--
Gary''s Student


"Eddie Munster" wrote:

I would like to compare a calculated time in my work sheet vs. the actual
system time. For example, if the caculated time is than or = to the system
time I want excel to tell me to "CALL", if not then "REST"...any help would
be appreciated.

Thanks,
DE

  #3   Report Post  
Old October 9th 05, 08:37 PM
JE McGimpsey
 
Posts: n/a
Default

One way:

If your calculated value is in A1, then

=IF(A1=MOD(NOW(),1),"CALL","REST")

In article ,
"Eddie Munster" <Eddie wrote:

I would like to compare a calculated time in my work sheet vs. the actual
system time. For example, if the caculated time is than or = to the system
time I want excel to tell me to "CALL", if not then "REST"...any help would
be appreciated.

  #4   Report Post  
Old October 9th 05, 08:41 PM
JE McGimpsey
 
Posts: n/a
Default

Student - did you test this?

Your formula should never result in "CALL", since NOW() returns a date
and time, not just a time.

If B1 contains =MOD(NOW(), 1), then the formula would work.

In article ,
Gary''s Student wrote:

Put your calculated time in a cell (say A1) In B1 put =NOW()
in C1 enter =IF(A1=B1,"CALL","REST)

  #5   Report Post  
Old October 9th 05, 09:18 PM
Gary''s Student
 
Posts: n/a
Default

You are right JE. My calculated time was actually a date with time formatting
--
Gary''s Student


"JE McGimpsey" wrote:

One way:

If your calculated value is in A1, then

=IF(A1=MOD(NOW(),1),"CALL","REST")

In article ,
"Eddie Munster" <Eddie wrote:

I would like to compare a calculated time in my work sheet vs. the actual
system time. For example, if the caculated time is than or = to the system
time I want excel to tell me to "CALL", if not then "REST"...any help would
be appreciated.




  #6   Report Post  
Old October 10th 05, 01:27 AM
Eddie Munster
 
Posts: n/a
Default

Thank you both...works like a charm!!!

"Gary''s Student" wrote:

You are right JE. My calculated time was actually a date with time formatting
--
Gary''s Student


"JE McGimpsey" wrote:

One way:

If your calculated value is in A1, then

=IF(A1=MOD(NOW(),1),"CALL","REST")

In article ,
"Eddie Munster" <Eddie wrote:

I would like to compare a calculated time in my work sheet vs. the actual
system time. For example, if the caculated time is than or = to the system
time I want excel to tell me to "CALL", if not then "REST"...any help would
be appreciated.




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
Lookup and compare to (today) + time and get result matteo Excel Discussion (Misc queries) 0 June 16th 05 07:43 PM
Time Sheet Calculation Help Needed! sax30 Excel Worksheet Functions 2 April 26th 05 08:08 PM
time interval calculations in excel Krishna Excel Discussion (Misc queries) 6 April 8th 05 02:57 PM
Calculating tvl time in Excel 2000 Rev.9.2720 Brandi Excel Worksheet Functions 5 January 27th 05 09:15 PM
entering numbers to display a time format Ian Williams/Eazygig Excel Discussion (Misc queries) 1 January 10th 05 11:57 AM


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

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

About Us

"It's about Microsoft Excel"

 

Copyright © 2017