+ Reply to Thread
Results 1 to 2 of 2

Checking a tolerance with two values

Hybrid View

  1. #1
    Registered User
    Join Date
    02-03-2013
    Location
    Canada
    MS-Off Ver
    Excel 2003
    Posts
    7

    Checking a tolerance with two values

    I have the original number of 1
    the second number i calculated to be 0.35

    I need to make the second cell highlight if the number is within +0.1 or -0.75

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Checking a tolerance with two values

    Hi

    Assuming your data is in A1 (1) and A2 (0.35)...

    1. highlight the range you want to apply the conditional formatting to
    2. on the home tab, styles, select CF
    3. select new rule, select use formula
    4. enter =AND(A2<=A1+0.1,A2>=A1-0.75) format fill as required
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

+ 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