+ Reply to Thread
Results 1 to 3 of 3

IF Formula not working - need to return "NO" if cell is 1% greater or "YES" if less 1%

  1. #1
    Registered User
    Join Date
    06-12-2013
    Location
    Fairbury NE
    MS-Off Ver
    Excel 2007
    Posts
    70

    IF Formula not working - need to return "NO" if cell is 1% greater or "YES" if less 1%

    I was using the following formula:

    =IF(A1>(b1*1.01),"NO","YES")

    This works fine if the variance is greater than 1% on the plus side (for tolerance levels), however, if the variance is greater than 1% on the negative side, my formula doesn't work.

    Any suggestions on how to edit?
    Last edited by maryren; 09-26-2013 at 12:12 PM.

  2. #2
    Valued Forum Contributor
    Join Date
    02-05-2013
    Location
    Jakarta, Indonesia
    MS-Off Ver
    Excel 2013
    Posts
    571

    Re: IF Formula not working - need to return "NO" if cell is 1% greater or "YES" if less 1%

    Try to use =abs() so the calculation all will be (+)
    Click (*) if you received helpful response.

    Regards,
    David

  3. #3
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: IF Formula not working - need to return "NO" if cell is 1% greater or "YES" if less 1%

    =if(or(a1>b1*1.01,a1<b1*0.99),"no","yes") no that seems wrong hmm
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

+ 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. [SOLVED] Cell Formula to count time with "Greater Than or Equal to" and "Less Than"
    By chriswhite1982 in forum Excel General
    Replies: 3
    Last Post: 06-16-2013, 12:30 AM
  2. Return "green", "yellow" or "red" from date/age and priority ranking
    By Cantaloop in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-04-2013, 12:12 AM
  3. Application.ExecuteExcel4Macro "SHOW.TOOLBAR(""Ribbon"",False)" not working
    By redders in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-31-2011, 03:52 PM
  4. Replies: 3
    Last Post: 02-16-2011, 02:55 PM
  5. Replies: 5
    Last Post: 10-12-2010, 06:46 AM

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