Excel Icon Sets conditional formatting: inbuilt and custom

The article provides detailed guidance on how to use conditional formatting Icon Sets in Excel. It will teach you how to create a custom icon set that overcomes many limitations of the inbuilt options and apply icons based on another cell value.

A while ago, we started to explorer various features and capabilities of Conditional Formatting in Excel. If you haven't got a chance to read that introductory article, you may want to do this now. If you already know the basics, let's move on and see what options you have with regard to Excel's icon sets and how you can leverage them in your projects.

Excel icon sets

Icon Sets in Excel are ready-to-use formatting options that add various icons to cells, such as arrows, shapes, check marks, flags, rating starts, etc. to visually show how cell values in a range are compared to each other.

Normally, an icon set contains from three to five icons, consequently the cell values in a formatted range are divided into three to five groups from high to low. For instance, a 3-icon set uses one icon for values greater than or equal to 67%, another icon for values between 67% and 33%, and yet another icon for values lower than 33%. However, you are free to change this default behavior and define your own criteria. Excel Icon Sets: inbuilt and custom

How to use icon sets in Excel

To apply an icon set to your data, this is what you need to do:

  1. Select the range of cells you want to format.
  2. On the Home tab, in the Styles group, click Conditional Formatting.
  3. Point to Icon Sets, and then click the icon type you want.

That's it! The icons will appear inside the selected cells straight away. Using an icon set in Excel

How to customize Excel icon sets

If you are not happy with the way Excel has interpreted and highlighted your data, you can easily customize the applied icon set. To make edits, follow these steps:

  1. Select any cell conditionally formatted with the icon set.
  2. On the Home tab, click Conditional Formatting > Manage Rules.
  3. Select the rule of interest and click Edit Rule. Customize an Excel icon sets.
  4. In the Edit Formatting Rule dialog box, you can choose other icons and assign them to different values. To select another icon, click on the drop-down button and you will see a list of all icons available for conditional formatting. Choose another icon.
  5. When done editing, click OK twice to save the changes and return to Excel.

For our example, we've chosen the red cross to highlight values greater than or equal to 50% and the green tick mark to highlight values less than 20%. For in-between values, the yellow exclamation mark will be used. A customized icon set

Tips:

  • To reverse icon setting, click the Reverse Icon Order button.
  • To hide cell values and show only icons, select the Show Icon Only check box.
  • To define the criteria based on another cell value, enter the cell's address in the Value box.
  • You can use icon sets together with other conditional formats, e.g. to change the background color of the cells containing icons.

How to create a custom icon set in Excel

In Microsoft Excel, there are 4 different kinds of icon sets: directional, shapes, indicators and ratings. When creating your own rule, you can use any icon from any set and assign any value to it.

To create your own custom icon set, follow these steps:

  1. Select the range of cells where you want to apply the icons.
  2. Click Conditional Formatting > Icon Sets > More Rules.
  3. In the New Formatting Rule dialog box, select the desired icons. From the Type dropdown box, select Percentage, Number of Formula, and type the corresponding values in the Value boxes.
  4. Finally, click OK.

For this example, we've created a custom three-flags icon set, where:

  • Green flag marks household spendings greater than or equal to $100.
  • Yellow flag is assigned to numbers less than $100 and greater than or equal to $30.
  • Green flag is used for values less than $30.
A custom three-flags icon set

How to set conditions based on another cell value

Instead of "hardcoding" the criteria in a rule, you can input each condition in a separate cell, and then refer to those cells. The key benefit of this approach is that you can easily modify the conditions by changing the values in the referenced cells without editing the rule.

For example, we've entered the two main conditions in cells G2 and G3 and configured the rule in this way:

  • For Type, pick Formula.
  • For the Value box, enter the cell address preceded with the equality sign. To get it done automatically by Excel, just place the cursor in the box and click the cell on the sheet. Define the icon set conditions based on another cell.

Excel conditional formatting icon sets formula

To have the conditions calculated automatically by Excel, you can express them using a formula.

To apply conditional formatting with formula-driven icons, start creating a custom icon set as described above. In the New Formatting Rule dialog box, from the Type dropdown box, select Formula, and insert your formula in the Value box.

For this example, the following formulas are used:

  • Green flag is assigned to numbers greater than or equal to an average + 10:

    =AVERAGE($B$2:$B$13)+10

  • Yellow flag is assigned to numbers less than an average + 10 and greater than or equal to an average - 20.

    =AVERAGE($B$2:$B$13)-20

  • Green flag is used for values lower than an average - 20.
Create a conditional formatting icon set using a formula.

Note. It's not possible to use relative references in icon set formulas.

Excel conditional format icon set to compare 2 columns

When comparing two columns, conditional formatting icon sets, such as colored arrows, can give you an excellent visual representation of the comparison. This can be done by using an icon set in combination with a formula that calculates the difference between the values in two columns - the percent change formula works nicely for this purpose.

Suppose you have the June and July spendings in columns B and C, respectively. To calculate how much the amount has changed between the two months, the formula in D2 copied down is:

=C2/B2 - 1 The percent change formula to compare the values in the two columns

Now, we want to display:

  • An up arrow if the percent change is a positive number (value in column C is greater than in column B).
  • A down arrow if the difference is a negative number (value in column C is less than in column B).
  • A horizontal arrow if the percent change is zero (columns B and C are equal).

To accomplish this, you create a custom icon set rule with these settings:

  • A green up arrow when Value is > 0.
  • A yellow right arrow when Value is <=0 and >=0, which limits the choice to zeros.
  • A red down arrow when Value is < 0.
  • For all the icons, Type is set to Number.

At this point, the result will look something like this: Excel icon set to compare 2 columns

To show only the icons without percentages, tick the Show Icon Only checkbox. Compare two columns using only the icons.

How to apply Excel icon sets based on another cell

A common opinion is that Excel conditional formatting icon sets can only be used to format cells based on their own values. Technically, that is true. However, you can emulate the conditional format icon set based on a value in another cell.

Suppose you have payment dates in column D. Your goal is to place a green flag in column A when a certain bill is paid, i.e. there is a date in the corresponding cell in column D. If a cell in column D is blank, a red flag should be inserted.

To accomplish the task, these are the steps to perform:

  1. Start with adding the below formula to A2, and then copy it down the column:

    =IF($D2<>"", 3, 1)

    The formula says to return 3 if D2 is not empty, otherwise 1. Formula to identify blank and non-blank cells

  2. Select the data cells in column A without the column header (A2:A13) and create a custom icon set rule.
  3. Configure the following settings:
    • Green flag when the number is >=3.
    • Yellow flag when the number is >2. As you remember, we do not really want a yellow flag anywhere, so we set a condition that will never be satisfied, i.e. a value less than 3 and greater than 2.
    • In the Type dropdown box, pick Number for both icons.
    • Select the Icon Set Only checkbox to hide the numbers and only show the icons.

The result is exactly as we were looking for: the green flag if a cell in column D contains anything in it and the red flag if the cell is empty. Configure an Excel icon sets based on another cell.

Excel conditional formatting icon sets based on text

By default, Excel icon sets are designed for formatting numbers, not text. But with just a little creativity, you can assign different icons to specific text values, so you can see at a glance what text is in this or that cell.

Suppose you've added the Note column to your household spendings table and want to apply certain icons based on the text labels in that column. The task requires some preparatory work such as:

  • Make a summary table (F2:G4) numbering each note. The idea is to use a positive, negative, and zero number here.
  • Add one more column to the original table named Icon (it's where the icons are going to be placed).
  • Populated the new column with a VLOOKUP formula that looks up the notes and returns matching numbers from the summary table:

    =VLOOKUP(C2, $F$2:$G$4, 2, FALSE)

    Summary table  and VLOOKUP formula

Now, it's time to add icons to our text notes:

  1. Select the range D2:D13 and click Conditional Formatting> Icon Sets > More Rules.
  2. Choose the icon style you want and configure the rule as in the image below: An icon set rule for text values
  3. The next step is to replace the numbers with text notes. This can be done by applying a custom number format. So, select the range D2:D13 again and press the CTRL + 1 shortcut.
  4. In the Format Cells dialog box, on the Number tab, select the Custom category, enter the following format in the Type box, and click OK:

    "Good";Exorbitant";"Acceptable"

    Where "Good" is the display value for positive numbers, "Exorbitant" for negative numbers, and "Acceptable" for 0. Please be sure to correctly replace those values with your text.

    This is very close to the desired result, isn't it? Apply a custom format for positive numbers, negative numbers, and zeros.

  5. To get rid of the Note column, which has become redundant, copy the contents of the Icon column, and then use the Paste Special feature to paste as values in the same place. However, please keep in mind that this will make your icons static, so they won't respond to changes in the original data. If you are working with an updatable dataset, skip this step.
  6. Now, you can safely hide or delete (if you replaced the formulas with calculated values) the Note column without affecting the text labels and symbols in the Icon column. Done! Conditional formatting icon sets for text values

Note. In this example, we've used a 3-icon set. Applying 5-icon sets based on text is also possible but requires more manipulations.

How to show only some items of the icon set

Excel's inbuilt 3-icon and 5-icon sets look nice, but sometimes you may find them a bit inundated with graphics. The solution is to keep only those icons that draw attention to the most important items, say, best performing or worst performing.

For example, when highlighting the spendings with different icons, you may want to show only those that mark the amounts higher than average. Let's see how you can do this:

  1. Create a new conditional formatting rule by clicking Conditional formatting > New Rule > Format only cells that contain. Choose to format cells with values less than average, which is returned by the below formula. Click OK without setting any format.

    =AVERAGE($B$2:$B$13) Create a conditinal formatting rule with no format set for values less than average.

  2. Click Conditional Formatting > Manage Rules…, move up the Less than average rule, and put a tick into the Stop if True check box next to it.

As a result, the icons are only shown for the amounts that are greater than average in the applied range: The icons are only shown for the amounts greater than average.

How to add custom icon set to Excel

Excel's built-in sets have a limited collection of icons and, unfortunately, there is no way to add custom icons to the collection. Luckily, there is a workaround that allows you to mimic conditional formatting with custom icons.

Method 1. Add custom icons using Symbol menu

To emulate Excel conditional formatting with a custom icon set, these are the steps to follow:

  1. Create a reference table outlining your conditions as shown in the screenshot below.
  2. In the reference table, insert the desired icons. For this, clicking the Insert tab > Symbols group > Symbol button. In the Symbol dialog box, select the Windings font, pick the symbol you want, and click Insert.
  3. Next to each icon, type its character code, which is displayed near the bottom of the Symbol dialog box. Insert custom icons from the Symbols menu.
  4. For the column where the icons should appear, set the Wingdings font, and then enter the nested IF formula like this one:

    =IF(B2>=90, CHAR(76), IF(B2>=30, CHAR(75), CHAR(74)))

    With cell references, it takes this shape:

    =IF(B2>=$H$2, CHAR($F$2), IF(B2>=$H$3, CHAR($F$3), CHAR($F$4)))

    Copy the formula down the column, and you will get this result: A custom icon set based on a formula

Black and white icons appear rather dull, but you can give them a better look by coloring the cells. For this, you can apply the inbuilt rule (Conditional Formatting > Highlight Cells Rules > Equal To) based on the CHAR formula such as:

=CHAR(76)

Now, our custom icon formatting looks nicer, right? Custom icons in colored cells

Method 2. Add custom icons using virtual keyboard

Adding custom icons with the help of the virtual keyboard is even easier. The steps are:

  1. Start by opening the virtual keyboard on the task bar. If the keyboard icon is not there, right-click on the bar, and then click Show Touch Keyboard Button.
  2. In your summary table, select the cell where you want to insert the icon, and then click on the icon you like.

    Alternatively, you can open the emoji keyboard by pressing the Win + . shortcut (the Windows logo key and the period key together) and select the icons there. Insert custom icons from the emoji keyboard.

  3. In the Custom Icon column, enter this formula:

    =IF(B2>=$G$2, $E$2, IF(B2>=$G$3, $E$3, $E$4))

    In this case, you need neither the character codes nor fiddling with the font type.

When added to Excel desktop, the icons are black and white: Formula to conditionally format data with custom icons

In Excel Online, colored icons look a lot more beautiful: Conditional format with colored custom icons

This is how to use icon sets in Excel. Upon a closer look, they are capable of a lot more than just a few preset formats, right? If you are curious to learn other conditional formatting types, the tutorials linked below may come in handy.

Practice workbook for download

Conditional formatting icon sets in Excel - examples (.xlsx file)

162 comments

  1. Hello! Thanks for all the great info re conditional formatting, very helpful. In my case, conditional formatting works perfectly based on the parameters set and I have the spreadsheet set to display the icons only. As an added benefit for soft copy readers, I'd like the data value of the cell to be displayed when the mouse hovers over the cell. For example, the resulting data value of cell A10 is +10bps and a green light is displayed but the value is hidden. I've seen other spreadsheets (creator is not available) where I can hover my mouse over the cell and +10bps is momentarily displayed. Thanks in advance for your help!

  2. Hi,

    I'm having trouble with 3 colored arrows, when applying the previous solution I do not get the expected results; Formatting is in Column C, when it's positive I want green arrow, when negative red and zero value should be marked with yellow arrow. e.g. for negative value, -13.94% i'm getting a Yellow arrow and it should be marked red. I'm making a wrong rule but i'm not seeing the mistake. Any help would be appreciated.

    Regards,

    ===

    A B C
    10435 10512 0.74%
    967 1041 7.65%
    622 759 22.03%
    1231 1579 28.27%
    452 389 -13.94%

  3. how to show positive and negative number through icon sets

  4. Hi,

    Can we change the Icon Color based on our requirements in conditional formatting.

    Regards
    Ravindra Tiwari

  5. HI MARY how to separate cells in excel by color using formula by coloring the actual months from the projections (april to March)

    • Hello Khaya,

      You can create a conditional formatting rule with a formula similar to this:
      =OR(MONTH($A2)=4, MONTH($A2)=5)

      Where A2 is the top-most cell with a date.

  6. Hi,
    I want to use flags on a cell 'A' based on a dropdown list (green, ornage or red), when I select any color, the corresponding flag is not displayed.

    How can I fix it ?

    Thank you

  7. How do I change the colour of a icon set I want the quadrants but in blue instead of black?

    • Hi Mandy,

      It's not possible to change the icon's color because they are "hard coded" by Microsoft.

  8. Good Day,

    Please assist, I hope this finds you well,

    I am trying to change the conditional formatting rules, to have the 3 color sets only apply, I do not require color to scale at all.

    Thus,
    Green, Should be if 100% is achieved,
    Yellow, Should be between 0.01% and 99,99%
    Red , Must be 0%

    Is there a way to have conditional formatting change this, I tried doing various ways, nothing seems to work, have you encountered a similar request and will you be able to help.

    Thank you.

  9. Hi Svetlana,
    I am currently trying to create relative references on conditional formatting icons as well. I had an idea of possibly using the INDIRECT() formula to accomplish this.. not sure if it is possible, but thought I'd run it past an expert.
    Thanks,
    Terry

    • Terry,

      You can use the INDIRECT() function to create relative references in Icon Sets rules.
      The key problem is that the rule must be applied only to ONE cell, in this case the formula will work correctly. It means that for 10 cells with icons you need to create 10 separate rules.

  10. Hi Svetlana,

    Is there any way to use data bars in Excel 2010 to format so that 100% is treated the same as anything above that? In other words, I'd like the scale for what the bar indicates to go from 0% to 100% but leave room for the ability to go over 100% (say 285% for example) in the percentage represented, even though the bar itself would look identical to a cell with 100%....Hope that makes sense

    • Hi Ryan,

      When you apply data bars to a range of cells, Excel treats the maximum value in the rage as 100%, so the scale simply cannot go any higher than 100%.

      In your rule, you can set the Minimum and Maximum Type to "Percent" and the Maximum value, say to 70. In this case, 70% and above will have the identical bar length (entire cell).

  11. Is there any way that i can drag Icon set conditional formatting to other cells also ?

  12. Hi!

    Where you have used Icons above, to the right of the examples shown there are boxes with keys/descriptions as to what the icons actually mean. How do I get the same? Is this some automatic function?

    • Hi Phil,

      Yes, this is the default functionality. In fact, these descriptions reflect your settings, i.e. the values and logical operators that you choose for each icon.

      You can try creating a new rule (Conditional Formatting > Icon Sets > More rules) and you will see that the descriptions change as soon as you change a value or logical operator.

  13. Also, this page is very helpful, as is the rest of your site. Is there a way to send you a couple of dollars for the benefit this provides to people who are not regular paying customers? This is a few thousand times more helpful (and less painful) than microsoft, apple, or any other paid support.

    • Thank you very much for your kind words! Your feedback is worth much more than a few dollars :)

  14. Is there truly no access to "color scales" (or an equivalent function under a different name) in Excel 2008? I no longer have 2007, and I'd hate to have to buy a new computer just to get space to add Office 2013 (and don't know if anyone will still sell me 2007 or 2010, and not sure 2011 is quite compatible).

  15. Hi

    How do I format a certain cell to change to a chosen colour depending on the wording in another cell?

    Is this possible? For instance, if cell A says YES then cell B turns green but if cell A says NO then cell B turns red?

    Regards

  16. Hello,
    I am trying to figure out what type of formula I would use.

    I have a spreadsheet where I input data. As long as the cell has data in it, it turns green. I want to be able to keep track of what percentage is green in another column.
    For example

    NAME Test A Test B Test C Percentage
    John Complete Complete Complete
    Kevin Complete
    Jack

    The cells that have information in it are green while the other cells are red. How do I make a formula for the percentage cells based on the color the cell is?

  17. Hi
    I am trying to show icons for what I would think would be a simple task but I can't seem to make it work.
    In column "N" I have a current rate percentage. In column "O" I have a target rate percentage. I want to use the icons to show a green check if the target has been met, a yellow exclamation point if the target has not been met, and a red stop light if the current rate is 50% or more below the target rate. Basically just showing which rates have been met, are almost there, and are in danger of not being met.
    Can anyone help with this?
    Thanks,
    Heather

  18. Hi
    How can I show Icons for the following:

    Between -1 and +1 Green Light
    Less than -1 Red light
    More than +1 Red Light

    Many thanks

    Sishy

    • Hello Sishy

      Select your data and create an Icon Sets rule for three icons.
      You can see the rule settings on this screenshot:

      To choose the icons, please click on a small arrow to the right of the icon.

  19. Hi
    I've tried to apply the icon sets to the variance report for my budget. As this is the capital expenditure budget for the period I need to monitor the budget at each asset category level and department level to alert on their budget consumption.
    My requirement is as follows.
    Red icon - Actual value is more than 75% of the budget
    Yellow icon - actual value is more than 50% of the budget
    Green icon - actual value is less than 30% of the budget

    I have sent an email to the support team. Please check on this matter.

  20. So I am trying to use ICON sets to conditionally format percentages.
    What I am doing is calculating percentages of certain measures by calculating a Budget target versus and ACtual performance. I am putting the % of attainment into a cell by entering a formula similar to A1/A2 to return the % of attainment. When I go to create the Icon Sets I want a Green Arrow to show next to the result if attainment was 100% or better, a sideways Yellow arrow if attainment was between 90% up to 100% , and a downward Red Arrow if attainment was lower than 90%.

    My issue is, once I have set up these parameters only Green arrows show up regardless of the value of the data in the cell? What am I doing wrong?

  21. Let's say column A has a unit cost that I need to multiply by 15% to give me the new unit cost in column B. Then I'll need to multiply the new unit cost in column B by the quantity in column C to give me a grand total in column D. How do I write a formula in order to achieve this? There are 166 rows of unit cost in Column A and 166 quantities in column B. Please help.

  22. Hi,
    Guys is there any way My row automatically moves up and down when i change its value? Means i have applied conditional formating in a column when i change one of its value its color changes OK. But what i want is that when the value change it must move up or down as according to the ascending or desending order that i have assigned it

  23. Hi,
    Is it possible to apply a color scale conditional format based on values, but then have text in that cell that differs from those values? This would be like in your example above if the expenditure categories themselves were shaded (e.g. House Rent dark green, Car Payment light green, etc.). I know that the conditional formatting depends on the numerical values, but can the numbers be somewhere behind the scenes while the text in each cell gets shaded?
    Thank you!

  24. Hi!

    There is specific set of icons. I want to use my own customized icon set. Is there any possibility of customized icon set in conditional formatting?

  25. I've seen two questions above related to using negative percentages, but have not seen a response. I want to use an up arrow icon for percentage increases above 2%, a right arrow between 2% and negative 2%, and a down arrow for decreases greater than negative 2%. So, I have a data set that compares a percentage from last year and a percentage this year with a resultant percentage difference -- positive difference if if it went from say, 61% to 63% and a negative difference if it went from 63% to 61%. The change, then, is 2% and -2% respectively. Using these figures in the conditional formatting, I get an error message from Excel saying that "one or more of the values is not a valid percentage." Does Excel not allow a negative percentage?

    • Hi Ken,
      I have the same problem. did you ever get an answer to this?
      Cheers
      Rodney

  26. I want to change format of a cell range, A1 to B10" based on a cell reference, cell A4 and value can be Income or %Income.
    For Ex. If Cell reference is "Income" then format of cell range should be "Numeric" and if cell reference is "%Income" then format should be "Percentage" for the cell range.

  27. Hi!
    I have a trend analysis looking at data from Sept-August and a column that ranks the results in the trend 1-12 based on their type. I have conditional formating applied to the column using icons ex. green is for everyting from 1-3, etc. It works great with a data that's there, but when I try and paste new updated data over the trend, the conditional formating in the ranking column disapears and does not work when i try to reapply it. Do you know why that happens and what would be the remedy for it.

    Thank you, Lesya

  28. can add new icon in excel to use them in conditional formatting? like smileys (emotions for showing progress of any activity e.g. smiling face in completion of activity, sad smiley in case of incomplete activity)??

  29. Ok, I want each column to show the Up, down arrows in comparison to the previous column. For example if the value in B2 is greater than B1 the green up arrow appears in B2. I know how to do this separately, but is there a way to copy and fill series this formatting?

  30. Good Morning,
    I have a smiliar question as Vicki, from 11/14, but rather than a score value, I'd like for the text in the column to be read and an icon to display in another column.

    Can the be done or must I use numbers?
    Thank you...

    • Hello Michelle,

      Yes, it is possible. If you describe your rules in more detail, i.e. what text corresponds with each icon, I think we'll be able to help you with formulas.

  31. Good morning,

    I am trying to insert an icon (X, check, exclamation point) into a cell based on the absolute value in another cell of the same row but can't figure out the right way to accomplish this. The value will be a score - 1, 2, or 3 - and the icon would correspond to the value.

    When I go into the conditional formatting menu and try to create the formula based on a number I cannot choose an equal to option, only >= or >

    Can you help? It must be so simple I am missing it!

  32. We operate a business that has credit accounts. We update the accounts weekly, but make changes do to purchases frequently. Is there a way to show by using the arrow icons, what type of action was last performed? i.e., was there a credit added or was there a deduction made. Would ideally love for this to happen every time the cell text is altered.

  33. Dear Svetlana,

    I have a change column and I would like the values to be gradients of red or green if they are positive or negative and then anything = zero to be white/ no formatting. Right now the default gradients will highlight the lowest positive number as red, which makes it look like it was negative.

    Thanks,

  34. Dear Svetlana,

    Would this be possible: I have a column with data bars representing a % of YES answers to my questionnaire, but would for example like to show ratio in YES answers as given Female or Male. Now i could do 2 colums, but it would be better if it could be done within the same data bar. I seems not possible, but just to be sure, I wanted to ask.

    thanks!

    • Dear Loes,

      Regrettably, I don't know any way to do this either : (

    • Consider using Sparklines

      Regards,

      Sherin

      • Hi Loes, perhaps you could try two columns side by side or M & F, format left one for right indent & right for left indent and hit each for own colour bar.

  35. Hi, there is some great info here but I can't figure out how to do what I'm trying to do.

    NOTE: Rephrased/Not repeated

    I have a goal value in cell S9 (this is my daily goal). I have a column of values in C (actual value for each day). I want to compare the value in column c to cell S9 to see if I'm on track to hit my goal. For each cell in the column, if the value in the cell is within 95% or more of the value in S9, then make it green. If it's only 70% to 90% or so of S9, then make it Yellow. if it is between 50% and 70 or so is Dark yellow, and if it is below 50% make it RED.

    I was trying to "use a formula to determine which cells to format" and use a formula, but I fail to do so. Can anyone help me with this?

    • Hi Yonas,

      Select all the cells in column C you want to highlight (without the column header, if any) and create the conditional formatting rules based on the following formulas:

      Green:=$C2/$S$9>=0.95

      Yellow: =AND($C2/$S$9>=0.7, $C2/$S$9<=0.9)

      Dark yellow:=AND($C2/$S$9>=0.5, $C2/$S$9<0.7)

      Red: =$C2/$S$9<0.5

      In the formulas, C2 is your fist cell with values.

      Also, please note that there is a small gap between 95% (lower bound of the red rule) and 90% (upper bound of the yellow rule), meaning that values within this range won't get colored. But I think you can easily change the figures in the corresponding formulas on your own if needed : )

  36. Hi there,

    I agree with some of the other commenters that there is some really valuable information found here.

    I am having some trouble accomplishing something and I was hoping to find some help.

    I am creating a log for perishable items. In Column F (Expiry Date) I have conditionally formatted the cells to fill yellow if within 30 days of expiry, and red the day of expiry (and beyond).

    I have Column G (Status) which I would like to conditionally format using a colour scale (3 colours: Green, Yellow, Red) based on the time left (from the dated of entry into the log) until the expiry date in Column F.

    I know the expiry date column is already conditionally formatted, but I think the colour scale provides a better visual control for the status of the product and how far into it's shelf life it is. I hope that makes sense.

    Any help would be much appreciated!! Thanks.

    • Hi Jeremy,

      I believe we will be able to help you better, if we can have a look at your data. If possible, please send a sample workbook at support@ablebits.com and specify the expected result.

  37. Hi, there is some great info here but I can't figure out how to do what I'm trying to do.

    I have a goal value in cell S9 (this is my daily goal). I have a column of values in C (actual value for each day). I want to compare the value in column c to cell S9 to see if I'm on track to hit my goal. For each cell in the column, if the value in the cell is within 95% or more of the value in S9, then make it green. If it's only 10% or so of S9, then make it red. 50% or so is yellow.

    I was trying to use a 3 color scale so I get the gradients to tell me if each day is close to hitting my daily goal. If I can't use the gradients, that's okay. Do you know how I can do this?

    • I figured it out. Thanks!

  38. I am curious about using icon sets to warn me when if I've used a certain number of hours - like a warning if I'm close to using all hours (yellow) or if I'm in danger of going over my hours (red).

    For example, if I have a value in A1 which is the amount of hours used and A2 has the available hours for use. I want A3 to use icon sets (red/yellow/green) based off of the percentage of hours consumed.

    so,
    Red = x>90%
    Yellow = x 75 and 90%
    Green = x <=75%

    Is this possible?

    • Hello Hanna,

      Please try the following:

      1 Enter the formula =A1/A2 in cell A3.
      2 Go to Conditional Formatting -> Icon Sets and create a new rule for cell A3.
      3 In the New Formatting Rule dialog box, specify the following settings:
      - Click the "Reverse Icon Order" button.
      - Select the "Show Icon Only" checkbox.
      - For the red icon choose ">"; 0.9 ; Number
      - For the yellow icon choose ">"; 0.75 ; Number

  39. Svetlana - what was the answer to Mary's question - I have same, where I have MtM data in separate columns and want to use Icons to mark if the increase MtM is greater than 10%, Less than -10% or between.

    How do I sent you the data set?

    • Hi Ben,

      Mary's question was a few months ago and I do not remember the details, sorry. You can send me your data set at support@ablebits.com and I'll try to help. Please also specify in what exactly column you want to add the icons.

  40. Hoping someone can help!

    I have created a stock monitoring/forecast sheet, including 3 columns -

    A - Stock at the end of the month prior
    B - Expected stock at the end of current month
    C - Stock in hand

    I want to format cell C for each line (list of items we stock) to have a data bar highlighting how close it is to reaching the value in cell B.
    I can do this by selecting 'Format all cells based on their values', and choosing the shortest bar as a formula, linking to A, and the longest bar as a formula, linking to B.

    In addition I also want a format overriding the data bar to show the cell in a solid colour when it reaches the value in B.
    I can do this by selecting 'Format only cells that contain', and choosing 'less than' and formula linking to cell B.

    I want to copy this formatting to apply to all cells in the same column, but when I try to copy and paste it in the next cell below C, it is linking to the original cells A and B for the formatting, not the one's below them (absolute formulas, not relative). I have read that you cannot set relative formulas when using data bars.

    Is there a way to apply my above formatting over a number of cells at once, without having to format each one individually?

    • Hello Kate,

      I believe it would be easier for me to suggest a solution if I could see your data. If you can send your sample workbook at support@ablebits.com, I'll try to help.

  41. I would like to make the data bars three colors with gradient fill to indicate a change in percentage Red for 0-30% Yellow for 30-70% and Green for 70-100% sort of what the 3-color scale does only in data bar format? Is this possible?

    • Sorry, Nathan, I don't know any way to do this. Most likely this is not feasible.

  42. how to change the colors scale in format style more than three colors.

  43. Is there a way to add an extra layer of formatting with the icon sets (ie add a blue circle in addition to the Red, Yellow, and Green options). I have a data set that needs to be analyzed into for different components. Thank You.

    • Hi Jonathan,

      To my best knowledge, only one icon set can be applied at a time.

  44. When it comes to Conditional Formatting, I really was in the dark but after going through the notes I hv now at least seen some light thanks to the illustrations. Only I'm still confused as to why when I assign Icon set to represt values in a cell range which are in percentage type (%) do I have to change type to Number in the Manage the rules dialog box for it to give me the desired results?

    • Hello Ramaite,

      Sorry, I am not sure I can follow you. Anyway, it is difficult to recommend anything without seeing your data. If you can post a data sample and explain what exactly result you are truing to achieve, I'll try to help.

  45. Hi,

    thanks for the useful info. After applying the conditional formatting, if we want to copy and paste it into Word or presentations how should be do it. I know we can paste it as image. But, the image doesn't work for me so is there a way to paste it as an excel table where the icons remains in the word as they are in the excel.

    Thanks!

  46. Hi there, I am stuck with a small problem I have in conditional formatting and came thru a blog by you and thought of writing here.

    Here I need to show if the % change in the cost driver is more than 2% higher or lower than the % change in actual price.

    Product Warehouse July'13 Aug'13 Sep'13 Oct'13
    A 1 Actual Price 1.65 1.67 1.71 1.77
    A 2 Actual Price 1.65 1.53 1.57 1.73
    Cost driver 1.62 1.67 1.74 1.69

    Can you please help.

    • Hi,

      Our support team sent you a solution by email. Hopefully, it was helpful.

  47. I have 3 columns: CURRENT YEAR, PRIOR YEAR, CHANGE.
    I want to conditionally format the Change column so that decreases are in red & increases are in green.
    Additionally, I want to use Icon Sets (arrows) to show:
    * green up arrow if it's an increase that would have a positive impact
    * red up arrow if it's an increase that would have a negative impact
    * green down arrow if it's a decrease that would have a positive impact
    * red down arrow if it's a decrease that would have a negative impact

    Is this doable w/ Icon Sets? Sort of a 2-dimensional icon set: direction of arrow to denote increase vs decrease, but color of arrow to denote impact this change has on bottom line.

    Thanks!

    • Hi Kertran,

      It's a bit difficult to figure out what positive / negative impact is without seeing your data. If you can send us your sample workbook at support@ablebits.com, we will be able to help you better.

  48. Hey, I've been having trouble with the icon sets, i wonder if you could help me.

    I'm want to add an icon set,the circles red, green and yellow. I want to compare changes in percentage between 1 month and another.

    I need to set the icons: green for when its equal or greater to 0.01%; yellow: when there is no change 0.00%; and red the the number reflects a negative %.

    Could you please advice how to do it.

    Thank you, it will be of great help.

    • Hey Mary,

      I need to know a bit more about your data structure to be able to suggest a solution. Do you have values for 2 months in 2 separate columns? Or, do you already have a column with the calculated percentage of change? Maybe you can provide a sample of your data - what exactly values you have in column A, B, C etc. You can send me a sample workbook at support@ablebits.com and I'll try to help.

  49. Hello Sean,

    Regrettably, you cannot do without an additional column. Excel icon sets allow using formulas as a condition, but do not support relative cell references that are needed in your case.

    So, you can achieve the result you want in this way:

    1. Create an additional column.

    2. Enter the formula =AJ162-AJ161 to row 162 of the newly created column (assuming row 162 is the first row where you need the icons).

    3. Copy the formula to all other cells of this column until row 175 (or the last row where you want to display the icon set).

    4. Create the icon set rule for the column with the above formula. In the rule:
    - Select the 'Icon Set Only' check box.
    - For the green up arrow, set >=1.
    - For the yellow right arrow, set >0.
    - Set Type to "Number" for both icons.

    Hope this helps.

    • Thank you Svetlana for the reply, it does help, unfortunately I have several tables (about 10), 22 columns where values may be changing randomly in each table, and nearly 300 rows of parameters (~600 total). Is adding a new column the only possible way to show a change in value or no change? I've looked up other forums where similar questions were asked, and I've seen "IF" or "AND" formulas being put in with the values in a cell, and then giving it an icon to put in if it matches the statement. Is that possible, or am I better simply going over the cells with my eyes, looking for a change, and going from there? Hope my questions aren't confusing and that there is some sort of solution other than adding columns.

      Thanks,
      Sean

      • Hi Sean,

        Of course, you can use IF and AND formulas as well. The problem is that you cannot have both - a formula and your current data - in the same cell. So, an additional column will be needed anyway.

        As an alternative, you can consider changing the cell's fill or font color instead of adding icons to reflect the value change. If this approach may work for you, you can create 3 rules based on the below formulas:

        Green (a value increases): =$AJ162>$AJ161
        Yellow (a value is the same): =$AJ162=$AJ161
        Red (a value decreases): =$AJ162<$AJ161 For step-by-step instructions on creating rules with formulas, please see Excel conditional formatting formulas.

  50. I'll give an example to hopefully make this faster.

    In cell AJ161, I have a value of 200. Going down the table (each row is a new parameter for what I'm doing, something is going to be altered), the value of 200 increases by 10 each cell (AJ162, cell value = 210, etc.), until AJ166. From AJ166 to AJ169 the cell value stays at 250. The value then goes up again by 10 in AJ170. In AJ171, the value drops to 240, and continues to drop until AJ175.

    What I would like, is to have Conditional Formatting Icon arrow sets, that show if a value increases, decreases, or stays the same, from the cell directly above it, rather than being given a specific number. I hope you are able to help me with this.

    Many thanks!

Post a comment



Thank you for your comment!
When posting a question, please be very clear and concise. This will help us provide a quick and relevant solution to
your query. We cannot guarantee that we will answer every question, but we'll do our best :)