+ Reply to Thread
Results 1 to 5 of 5

Help with Pass / Fail Formula

  1. #1
    Registered User
    Join Date
    03-20-2012
    Location
    Lancashire
    MS-Off Ver
    Excel 2007
    Posts
    8

    Help with Pass / Fail Formula

    Hi

    I would like help with a formula to do the following

    If cell A is >= cell B or <= cell C then display the test "FAIL" and highlight the cell red otherwise display the text "PASS"

    Try as I might I have been unable to make a formula to get this to work

  2. #2
    Forum Expert DGagnon's Avatar
    Join Date
    02-23-2012
    Location
    Ontario, Canada
    MS-Off Ver
    Excel 2003, 2007
    Posts
    1,645

    Re: Help with Pass / Fail Formula

    try this

    =IF(OR(A1>=B1,A1<=C1),"Fail","Pass")
    If you liked my solution, please click on the Star -- to add to my reputation

    If your issue as been resolved, please clearly state so and mark the thread as [SOLVED] using the thread tools just above the first post.

  3. #3
    Registered User
    Join Date
    03-20-2012
    Location
    Lancashire
    MS-Off Ver
    Excel 2007
    Posts
    8

    Re: Help with Pass / Fail Formula

    Thank you so much, it is easy when you know how
    Your kind help is much appreciated

  4. #4
    Registered User
    Join Date
    03-20-2012
    Location
    Lancashire
    MS-Off Ver
    Excel 2007
    Posts
    8

    Re: Help with Pass / Fail Formula

    How would I get the cell or text to go red in the fail condition?

  5. #5
    Forum Expert DGagnon's Avatar
    Join Date
    02-23-2012
    Location
    Ontario, Canada
    MS-Off Ver
    Excel 2003, 2007
    Posts
    1,645

    Re: Help with Pass / Fail Formula

    you will need to apply conditional formating where the value = "Fail"

+ 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