+ Reply to Thread
Results 1 to 3 of 3

IF statement when datapoint may or maynot be zero

  1. #1
    Registered User
    Join Date
    10-24-2012
    Location
    Auburn, Indiana
    MS-Off Ver
    Excel 2007
    Posts
    2

    IF statement when datapoint may or maynot be zero

    Good morning to all – I am a registered “newbie”, but I’ve been lurking for several years Can you help me with the following – this is day 2 of the headache?

    The min/max numbers are entered from the required spec. into columns B and C. The actual test results as whole numbers are entered in column E16 with the following located in column F to indicate pass/fail:

    =IF(E16<B16,"FAIL",IF(E16=B16,"PASS",IF(E16>C16,"FAIL","PASS")))

    I have attached the form.

    My problem - the requirement for “maximum” may or may not be required. Therefore, if the maximum is NOT required, the pass/fail needs to be based the concept that if the result is >= the minimum it passes. If it IS required, the pass/fail needs to be based on the concept of >=minimum and <= maximum.

    All help will be greatly appreciated.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    09-20-2011
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    2,278

    Re: IF statement when datapoint may or maynot be zero

    Hello
    Perhaps the following formula might do the trick, if I've followed the logic correctly, copied down from cell F16:

    Please Login or Register  to view this content.
    Hope this helps.
    DBY

  3. #3
    Registered User
    Join Date
    10-24-2012
    Location
    Auburn, Indiana
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: IF statement when datapoint may or maynot be zero

    DBY - this is WONDERFUL - thank you ever so much!!! No more headaches (at least for awhile). Valerie

+ 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