+ Reply to Thread
Results 1 to 5 of 5

Adding tolerances to the EXACT formula

Hybrid View

  1. #1
    Registered User
    Join Date
    06-15-2010
    Location
    Milan, Italy
    MS-Off Ver
    Excel 2003
    Posts
    1

    Adding tolerances to the EXACT formula

    Hello everyone, new user here.

    My problem is the following:

    I have two sets of values, A (predicted) and B (actuals). At the moment I track the accuracy of my predictions with a simple EXACT formula, so for example we have

    =EXACT(A;B)

    As you know it returns TRUE if the values match and FALSE if they don't.

    However, for the purposes of refining my forecast, being off by a few units isn't a critical flaw. How does one go about creating a similar function, but with a built-in range of tolerances in which the values still show a match?

    In effect the intention is that A would still be TRUE if it equalled B, plus or minus, for example, five units.

    I can’t seem to make any progress on this front.

    Any help would be appreciated. Thanks in advance.

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Adding tolerances to the EXACT formula

    EXACT function is useful for case sensitive string comparisons (given most functions are case insensitive), however, for numerical comparisons EXACT is not really needed.

    =ABS(A1-B1)<=5

  3. #3
    Registered User
    Join Date
    05-13-2010
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003
    Posts
    35

    Re: Adding tolerances to the EXACT formula

    To add to what Ote suggested, u need to use if statement to identify true ++ or false ++

  4. #4
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Adding tolerances to the EXACT formula

    Quote Originally Posted by jawad1_ali
    u need to use if statement to identify true ++ or false ++
    No you don't, the nature of the calculation is such that a Boolean value will result.

    eg. =ABS(10-6)<=5 will return TRUE.

  5. #5
    Registered User
    Join Date
    05-13-2010
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003
    Posts
    35

    Re: Adding tolerances to the EXACT formula

    hey thats right..

    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