Remember Me?

 Eddie Munster Posts: n/a 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

 Gary''s Student Posts: n/a 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

 JE McGimpsey Posts: n/a 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.

 JE McGimpsey Posts: n/a 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)

 Gary''s Student Posts: n/a 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.

 Eddie Munster Posts: n/a 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.

 Thread Tools Search this Thread Show Printable Version Search this Thread: Advanced Search Display Modes Linear Mode Switch to Hybrid Mode Switch to Threaded Mode Posting Rules Smilies are On [IMG] code is On HTML code is OffTrackbacks are On Pingbacks are On Refbacks are On Similar Threads Thread Thread Starter Forum Replies Last Post matteo Excel Discussion (Misc queries) 0 June 16th 05 07:43 PM sax30 Excel Worksheet Functions 2 April 26th 05 08:08 PM Krishna Excel Discussion (Misc queries) 6 April 8th 05 02:57 PM Brandi Excel Worksheet Functions 5 January 27th 05 09:15 PM 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. Copyright ©2004-2021 ExcelBanter.