Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Sue
 
Posts: n/a
Default Working with If statements and time

I am trying to figure out If statements with time that is written as 19:57
(7:57 PM). In cell D2 I have the Paged Time to ER and in cell E2 I have the
Arrived Time to ER. I want Excel to place a "1" in F2 when it took more than
5 minutes to arrive in the ER. I also am wanting Excel to place a "1" in cell
G2 when it took more that 10 minutes to arrive in ER. How do I set this up???
Thanks!
  #2   Report Post  
Jason Morin
 
Posts: n/a
Default

Time is nothing more than a number in Excel. In F1 you
could use:

=IF(E2-D2TIME(,5,),1,"")

or

=IF(E2-D2--"00:05:00",1,"")

HTH
Jason
Atlanta, GA

-----Original Message-----
I am trying to figure out If statements with time that

is written as 19:57
(7:57 PM). In cell D2 I have the Paged Time to ER and in

cell E2 I have the
Arrived Time to ER. I want Excel to place a "1" in F2

when it took more than
5 minutes to arrive in the ER. I also am wanting Excel

to place a "1" in cell
G2 when it took more that 10 minutes to arrive in ER.

How do I set this up???
Thanks!
.

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
If statements for time format Shesh Excel Worksheet Functions 1 February 11th 05 11:57 PM
VLOOKUP statements Jennifer Kramer Excel Discussion (Misc queries) 1 January 20th 05 05:51 AM
if then statements Atlanta Rudy Excel Discussion (Misc queries) 4 January 6th 05 04:11 PM
Employing constant arrays to limit nested IF statements. Richard-44 Excel Worksheet Functions 2 January 6th 05 02:19 AM
If/Then statements with images??? Brw Excel Worksheet Functions 1 November 18th 04 10:43 AM


All times are GMT +1. The time now is 03:58 AM.

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"