+ Reply to Thread
Results 1 to 5 of 5

Need help I want to color cells red based on a measured value

  1. #1
    Registered User
    Join Date
    05-31-2012
    Location
    MN
    MS-Off Ver
    Excel 2003
    Posts
    19

    Need help I want to color cells red based on a measured value

    I have a large number of measurements to make at different levels, I want to color a cell red if the measured value is not within the tolerance. The problem is each tolerance changes based on a Minimum value, and each % value has a different tolerance. Please see the My_Example spreadsheet I have attached. In this example the Minimum is .24 so for 20% the target is 2.10 +/- .10 (color cell red if value is <2.0 or > 2.2), for 50% target is 1.10 +/- .11 (color cell red if value is <.99 or > 1.21), same for 80% Target is .52 +/- .05. If the Minimum changes so do the Target values and the /- Tolerances. I am not sure If this can be done with a formula or maybe I need to write a macro, I am fine with either solution any help would be greatly appreciated. Thanks
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,613

    Re: Need help I want to color cells red based on a measured value

    Please Login or Register  to view this content.
    DMin = Cell B1
    Attached Files Attached Files
    Ben Van Johnson

  3. #3
    Registered User
    Join Date
    05-31-2012
    Location
    MN
    MS-Off Ver
    Excel 2003
    Posts
    19

    Re: Need help I want to color cells red based on a measured value

    Thank you for cleaning up my worksheet your solution works very well. I have one question how do you get the blue/green fill color to follow the Dmin entry to Cells A11:G13? That is a nice touch I can't figure out how that is working.

    Thanks

    Jim

  4. #4
    Registered User
    Join Date
    05-31-2012
    Location
    MN
    MS-Off Ver
    Excel 2003
    Posts
    19

    Re: Need help I want to color cells red based on a measured value

    Please disregard my last post I did not notice the conditional formatting in those cells. Thanks Again

  5. #5
    Registered User
    Join Date
    05-31-2012
    Location
    MN
    MS-Off Ver
    Excel 2003
    Posts
    19

    Re: Need help I want to color cells red based on a measured value

    I wonder if you could help me once again, I would like to add a seond table label Dmin2 that could use a separate Dmin2 value from Dmin1. I can't figure out how Dmin is tied to cell b1 and be able to change it to f1 for the secong table, I have attached an example.

    Thanks

    Jim
    Attached Files Attached Files

+ 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. change fill color of a range of cells based on color of a cell?
    By DarMelNel in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-20-2014, 04:48 PM
  2. [SOLVED] Color cells red based on a measured value
    By jmetz in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-16-2013, 01:21 PM
  3. [SOLVED] Color Index to sum up cells based on background color
    By jph89 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-16-2013, 03:23 PM
  4. How do i auto fill cell color based on other cells' color?
    By Kchatza in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-22-2012, 05:00 AM
  5. Replies: 2
    Last Post: 03-01-2007, 04:51 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