+ Reply to Thread
Results 1 to 5 of 5

Need help with a formula to give Pass/Fail results for items with different limits

  1. #1
    Forum Contributor
    Join Date
    05-09-2017
    Location
    NC
    MS-Off Ver
    2013
    Posts
    103

    Need help with a formula to give Pass/Fail results for items with different limits

    Hello,

    Thank you for taking the time. I've done something similar but not to this degree. I've included a sheet to illustrate my need.

    In column B, operators will put the sample name and in column C they will put the test results. I would like column D to enter in "Pass" or "Fail" based upon the results.

    cells H2:K3 has the limits which the results must be within that range to pass. I was trying a few different formulas but can not get it to work.

    Any help or attempt to help is greatly appreciated.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,522

    Re: Need help with a formula to give Pass/Fail results for items with different limits

    =IF(AND($C3>=VLOOKUP($B3,$N$2:$P$5,2,FALSE),$C3<=VLOOKUP($B3,$N$2:$P$5,3,FALSE)),"Pass","Fail")

    N:P is a lookup table: See attached
    Attached Files Attached Files

  3. #3
    Forum Contributor
    Join Date
    05-09-2017
    Location
    NC
    MS-Off Ver
    2013
    Posts
    103

    Re: Need help with a formula to give Pass/Fail results for items with different limits

    Thank you so much!

    I was in a totally different direction trying iserror and match instead of vlookup. Thank you again for the help and the education.

  4. #4
    Forum Contributor
    Join Date
    05-09-2017
    Location
    NC
    MS-Off Ver
    2013
    Posts
    103

    Re: Need help with a formula to give Pass/Fail results for items with different limits

    My apologies John, it says I can't add reputation and I give some to other people. You must've helped me about two months back. I will get it in the future

  5. #5
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,522

    Re: Need help with a formula to give Pass/Fail results for items with different limits

    no problem!

+ 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. Pass/Fail Formula Issue
    By cjb0723 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-07-2020, 02:42 PM
  2. Formula to determine Pass/Fail
    By joeyjee in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 05-04-2018, 02:24 PM
  3. [SOLVED] simple computation of certain values that would give pass or a fail mark
    By cottonfam8 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 11-17-2014, 08:45 AM
  4. Dual Upper and Lower limits Pass/Fail
    By Stevo56 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 10-29-2014, 07:40 AM
  5. [SOLVED] Need a formula for pass/fail based on no. of Y answers but automatically fail if 3a is N
    By Researcher1111 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 09-15-2013, 10:20 PM
  6. [SOLVED] Get unique items and decide whether they are pass or fail
    By netha in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 03-30-2013, 02:33 PM
  7. Help with Pass / Fail Formula
    By milovisk in forum Excel General
    Replies: 4
    Last Post: 03-20-2012, 02:57 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