+ Reply to Thread
Results 1 to 6 of 6

Percentage tolerance

  1. #1
    Registered User
    Join Date
    09-15-2014
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    11

    Percentage tolerance

    Hello,

    I've been struggling on this for a while,

    I have an Aim and CurrentValue and a tolerance of 5%.

    I am struggling on how to make a formula which makes it if the current is + or -5% of the Aim it says Within Tolerance (if Current = Aim it says 1)
    Points of note, The aim is a static manually added number whilst CurrentValue sums up everthing in I:I

    Example:

    Aim: 1000
    Current: 500
    Boundary is:
    - 950
    + 1050
    Within Tolerance?: Yes, No, 1

    In the example, since the current isn't within the boundary it would be No.

    Sounds easy enough, I just can't figure it out in my tired state.

  2. #2
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: Percentage tolerance

    Try:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    See attachment for example.
    Attached Files Attached Files
    let Source = #table({"Question","Thread", "User"},{{"Answered","Mark Solved", "Add Reputation"}}) in Source

    If I give you Power Query (Get & Transform Data) code, and you don't know what to do with it, then CLICK HERE

    Walking the tightrope between genius and eejit...

  3. #3
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,915

    Re: Percentage tolerance

    try
    =IF(ABS(aim-current)<=aim*5%,"Yes","No")
    =IF(ABS(A1-A2)<=A1*5%,"Yes","No")
    A1 and A2 are your aim and current values
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

  4. #4
    Valued Forum Contributor
    Join Date
    08-04-2011
    Location
    UK
    MS-Off Ver
    Excel 2021
    Posts
    346

    Re: Percentage tolerance

    with aim in B1;

    =IF(ABS(1-(SUM(I:I)/B1))<=0.05,"YES","No")

  5. #5
    Registered User
    Join Date
    09-15-2014
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    11

    Re: Percentage tolerance

    I used Olly's and it works lovely. I'll have to learn how you did the names as references instead of A1 etc one day

    Everyone else thanks :D

    edit; Just realised what Olly did after a quick proper glance. Thanks again!
    Last edited by squirrel32; 09-07-2016 at 06:09 AM.

  6. #6
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: Percentage tolerance


+ 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. tolerance calculation..
    By sandy3444 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-16-2014, 01:45 AM
  2. [SOLVED] VBA tolerance loops
    By Stevo56 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-26-2014, 09:16 AM
  3. Reference Line Percentage tolerance
    By Stevo56 in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 05-06-2014, 06:05 AM
  4. Return a yes no value for dat tolerance
    By Hollyoak08 in forum Excel General
    Replies: 4
    Last Post: 03-16-2010, 05:19 AM
  5. tolerance level
    By excelhelp18 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-23-2010, 04:56 AM
  6. how to put a tolerance
    By bolton78 in forum Excel General
    Replies: 1
    Last Post: 02-03-2008, 07:06 AM
  7. Tolerance
    By Odysseus in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-27-2007, 12:26 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