+ Reply to Thread
Results 1 to 6 of 6

2 "if formulas", don't know how to use them

  1. #1
    Registered User
    Join Date
    02-20-2014
    Location
    Ploiesti, Romania
    MS-Off Ver
    Excel 2003
    Posts
    2

    2 "if formulas", don't know how to use them

    hello all,

    I have a problem with 2 "IF formulas"

    A B C
    23:30 00:30 1:00 - =IF(B2>B2,A2-A2,B2+1-A2)
    14:00 13:00 On Time -=IF(B3<A3,"On Time","Delayed")

    My question is: - how to make the first line to show me Delayed. It is a problem with the time before and after midnight.

    Any sugestion is welcome.

    Thank You

  2. #2
    Valued Forum Contributor
    Join Date
    02-04-2009
    Location
    Texas
    MS-Off Ver
    Excel 2016
    Posts
    665

    Re: 2 "if formulas", don't know how to use them

    not sure what you are looking for - But B2>B2 will ALWAYS be false (because B2=B2)
    maybe attach a small example -with the result you would like to get

  3. #3
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: 2 "if formulas", don't know how to use them

    =IF(B2>B2,A2-A2,B2+1-A2)
    are you sur eabout that formula? b2 can never be >than b2
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  4. #4
    Registered User
    Join Date
    02-20-2014
    Location
    Ploiesti, Romania
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: 2 "if formulas", don't know how to use them

    yes, i'm sure about that formula B2>B2, it shows me that i have a delayed time of one hour, but i want to show me " Delayed"

  5. #5
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: 2 "if formulas", don't know how to use them

    A cell calue canot be greater or less than itself

  6. #6
    Forum Contributor
    Join Date
    12-09-2013
    Location
    India
    MS-Off Ver
    Excel 2003
    Posts
    171

    Re: 2 "if formulas", don't know how to use them

    May it is B2>A2...

    Because I dont see any use of B2>B2, if in that case you can simply use the false action as a formula into the cell..... because True action never ever used...
    Like my answer, then click * below

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 4
    Last Post: 11-17-2013, 12:05 PM
  2. [SOLVED] How to USE """"" cells count """"" change font color
    By austin123456 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-09-2013, 06:14 AM
  3. Delete rows in the result of formulas "OK" n column "J"
    By marreco in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 01-29-2012, 10:08 AM
  4. Recognize "formulas "result" as "typed data", through and through.
    By gandolff in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-13-2009, 01:30 PM
  5. [SOLVED] Automatically making formulas "Absolute" or "$ Relative"
    By JMATHES in forum Excel General
    Replies: 4
    Last Post: 08-26-2005, 08:05 PM

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