+ Reply to Thread
Results 1 to 4 of 4

IF cell problem

  1. #1
    Registered User
    Join Date
    09-06-2010
    Location
    Cork
    MS-Off Ver
    Excel 2003
    Posts
    3

    IF cell problem

    Hi,

    New to the forum and just have what should be a fairly easy enough question.

    I'm currently doing a spreadsheet for reproducibility. I've a requirement for an accuracy on the reproducibility to be 0.0 +/- 1. In theory I inject 20mLs 6 times but in reality I actually get my mean to be 20.1mLs (have some very simple excel formulaes to calculate weights versus volumes). What I'm trying to do is for my actual results to be subtracted from my theoritical results and if the result is between my specification i.e +/-1 the cell will say pass, otherwise if says fail. I'm trying the formulae below where P42 = 1, N52 = 20 and O58 = 20.1 but the cell just says fail. Could someone please direct me where I would be going wrong.

    =IF(-P42<=(N52-O58)<=P42,"Pass","Fail")

    thanks for the help in advance

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: IF cell problem

    Hi,

    How about

    =IF(ABS(N52-O58)<P42,"Pass","Fail")

    HTH
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Registered User
    Join Date
    09-06-2010
    Location
    Cork
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: IF cell problem

    works a treat, thanks very much for this

  4. #4
    Registered User
    Join Date
    09-06-2010
    Location
    Cork
    MS-Off Ver
    Excel 2003
    Posts
    3

    (Solved) IF cell problem

    sorted, thanks

+ 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