+ Reply to Thread
Results 1 to 3 of 3

Conditional Formatting - Unable to get excel to use my values.

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    10-16-2010
    Location
    Memphis, TN
    MS-Off Ver
    Excel 2003, 2010
    Posts
    151

    Question Conditional Formatting - Unable to get excel to use my values.

    Hello All


    I have a worksheet in Excel 2010 where I am trying to use conditional formatting to highlight a cell according to 1 of 3 possible values.

    The low value is <=(((3800*16)/6)*.95)
    The median value is between (((3800*16)/6)*.95) and (((3800*16)/6)*1.05)
    The high value is >=(((3800*16)/6*1.05)

    We have an acceptable range of +- 5% of the ideal and we are wanting to highlight the quantity produced so the supervisor can follow up and recount production or explain the variance.

    I have been able to get the high and low but they split at the point of >< ((3800*16)/6) and leave no middle ground so it is always either too low or too high according to the highlighting.

    Any help would be greatly appreciated.
    Last edited by jacob@thepenpoint; 10-20-2011 at 01:43 PM. Reason: Problem Solved! Thanks!!
    Jacob Albers
    Excel 2003 & 2010

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,158

    Re: Conditional Formatting - Unable to get excel to use my values.

    Rule 1: =AND(A1<>"",A1<=(((3800*16)/6)*0.95))
    Rule 2: =AND(A1<>"",A1>(((3800*16)/6)*0.95), A1< (((3800*16)/6)*1.05))
    Rule 3: =AND(A1<>"",A1>=((3800*16)/6*1.05))

    Assuming you are formatting cells starting with A1; adjust as required.

    Regards
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Forum Contributor
    Join Date
    10-16-2010
    Location
    Memphis, TN
    MS-Off Ver
    Excel 2003, 2010
    Posts
    151

    Re: Conditional Formatting - Unable to get excel to use my values.

    Quote Originally Posted by TMShucks View Post
    Rule 1: =AND(A1<>"",A1<=(((3800*16)/6)*0.95))
    Rule 2: =AND(A1<>"",A1>(((3800*16)/6)*0.95), A1< (((3800*16)/6)*1.05))
    Rule 3: =AND(A1<>"",A1>=((3800*16)/6*1.05))
    Thanks! That worked like a charm! I think I had confused Excel and it didn't know what to do.

    Thanks!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

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