+ Reply to Thread
Results 1 to 2 of 2

Working with If statements and time

  1. #1
    Sue
    Guest

    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. #2
    Jason Morin
    Guest

    Re: Working with If statements and time

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

    =IF(E2-D2>TIME(,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 to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1