+ Reply to Thread
Results 1 to 3 of 3

Conditional Formatting help for fill base on %

  1. #1
    Forum Contributor
    Join Date
    03-12-2012
    Location
    Singapore
    MS-Off Ver
    MS 365
    Posts
    532

    Conditional Formatting help for fill base on %

    Hi, i am trying to show how many % each brand is. I have 3 Brand. Their total make up 100%. I have a box where i have 1% 2% all the way to 100%. Each brand has a Colour. Hence, if Brand A is 50% (red), Brand B is 30% (Yellow). Brand C is 20% (Blue). The box should have 50% of cell fill with Red. Then 51% to 80% fill with Yellow while the rest is Blue. I have no problem for the first 50% conditional formatting. HOwever, the formula i key in for the next 20% somehow doesnt work. I duno y. Can any one help?

  2. #2
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: Conditional Formatting help for fill base on %

    hi there. you probably selected the wrong cells. delete your current conditional formatting for the red, and try this.
    select the range you want to apply to (say from B2:K11)
    go to Home tab -> Conditional Formatting -> New Rule -> Use a formula to determine which cells to format -> Format values where this formula is true:
    =AND(B2>$P$1,B2<=$P$2)

    you can also use an easier way. remove ALL conditional formatting. elect the range you want to apply to (say from B2:K11)
    go to Home tab -> Conditional Formatting -> New Rule -> Use a formula to determine which cells to format -> Format values where this formula is true:
    =B2<=$P$3
    format blue

    and later in this particular order.
    =B2<=$P$2
    =B2<=$P$1

    this works because the Conditional Formatting will input the latest Conditional Formatting you did first. once it checks that cell is <=59%. it then checks for <=88% since yellow will be checked first. it will not overwrite the yellow
    Attached Files Attached Files

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  3. #3
    Forum Contributor
    Join Date
    03-12-2012
    Location
    Singapore
    MS-Off Ver
    MS 365
    Posts
    532

    Re: Conditional Formatting help for fill base on %

    Is it possible to Outline each brand?

+ 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. Conditional Formatting fill down
    By l7faa in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 10-13-2016, 02:12 PM
  2. Replies: 7
    Last Post: 06-27-2016, 01:11 AM
  3. Replies: 3
    Last Post: 11-24-2015, 01:57 PM
  4. [SOLVED] Conditional Formatting change cell colour base on value
    By robrobet in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-24-2014, 12:34 AM
  5. Replies: 1
    Last Post: 07-22-2014, 03:01 AM
  6. [SOLVED] Need to apply conditional formatting of a cell base on text in multiple other cells
    By Herkfixer in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 09-19-2013, 08:59 PM
  7. Conditional Formatting Base on Changing Cell Value
    By starbwoy in forum Excel General
    Replies: 2
    Last Post: 12-17-2009, 12:15 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