+ Reply to Thread
Results 1 to 10 of 10

Pass And Fail

  1. #1
    Forum Contributor
    Join Date
    01-31-2011
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    191

    Pass And Fail

    Hi Experts,

    Can you please help me with my problem regarding Pass and Fail condition
    The Criteria or Acceptance region is 98-102 is Passed, Below 98 = Failed
    103 Up Failed. Can you please help me figure out the formula.

    The formula Im using is

    =IF(A1<98,"Failed",IF(A1>98,"Passed",IF(A1>=103,"Failed")))

    But I dont have any luck.


    Thank you.

    thong
    Last edited by thong127; 06-11-2013 at 03:42 PM.

  2. #2
    Valued Forum Contributor Harribone's Avatar
    Join Date
    02-24-2013
    Location
    Midlands, UK
    MS-Off Ver
    Excel 2019/365
    Posts
    563

    Re: Pass And Fail

    Try:

    =IF(AND(A1>102,A1<98),"Failed","Passed")
    Say thanks, click *

  3. #3
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Excel 2016
    Posts
    13,764

    Re: Pass And Fail

    Try tis one (untested)

    =if(or(a1<98,a1>103),"Failed","Passed")
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  4. #4
    Forum Contributor bentleybob's Avatar
    Join Date
    02-27-2009
    Location
    Seattle, WA
    MS-Off Ver
    Excel 2010
    Posts
    643

    Re: Pass And Fail

    =IF(AND(A1>=98,A1<103),"Passed","Failed")

  5. #5
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    2012 for Mac at home
    Posts
    7,129

    Re: Pass And Fail

    I tried this... IF(And(A1>97,A3<103),"Passed","Failed") and it worked for me.

  6. #6
    Valued Forum Contributor
    Join Date
    07-27-2012
    Location
    Dublin, Ireland
    MS-Off Ver
    Excel 2010
    Posts
    826

    Re: Pass And Fail

    thong,

    The following formula:

    Please Login or Register  to view this content.
    returns PASSED if A1 = 98-102, failed for all other values, and blank/nothing if A1 is empty.

    Hope this helps.
    Brendan.


    __________________________________________________________________________________________________
    Things to consider:

    1) You can thank any poster by clicking the * at the left of a helpful post.
    2) You can help to keep the forum tidy by marking your thread as "Solved", if it has been answered to your satisfaction.
    3) Help us to help you, by uploading a sample workbook, showing the type of data you're dealing with, and clearly indicating what the results should be.

  7. #7
    Valued Forum Contributor Harribone's Avatar
    Join Date
    02-24-2013
    Location
    Midlands, UK
    MS-Off Ver
    Excel 2019/365
    Posts
    563

    Re: Pass And Fail

    Good point well made by BB1972. All three previous solutions work also but when the cell is blank Excel will treat this as 0 and therefore "Failed" will be visible in your formula cell unless you approach this along the lines of BB1972.

  8. #8
    Valued Forum Contributor
    Join Date
    07-27-2012
    Location
    Dublin, Ireland
    MS-Off Ver
    Excel 2010
    Posts
    826

    Re: Pass And Fail

    Very gracious of you to say so, Harribone Cheers!

  9. #9
    Forum Contributor
    Join Date
    01-31-2011
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    191

    Re: Pass And Fail

    Hi All,

    Thank you very much. Appreciate it.

    Thong

  10. #10
    Valued Forum Contributor
    Join Date
    07-27-2012
    Location
    Dublin, Ireland
    MS-Off Ver
    Excel 2010
    Posts
    826

    Re: Pass And Fail

    thong, if your query has been answered to your satisfaction - as your post above suggests - could you please use the thread tools to mark it SOLVED. Thank you.

+ 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