+ Reply to Thread
Results 1 to 9 of 9

Conditional Formatting: Can't get red dot to show up

Hybrid View

  1. #1
    Registered User
    Join Date
    09-21-2018
    Location
    Redondo Beach, CA
    MS-Off Ver
    2016
    Posts
    13

    Conditional Formatting: Can't get red dot to show up

    So I am trying to set up some conditional formatting using formulas the red/yellow/ green icons. The green and yellow icons seem to be capturing correctly for some reason I can't get the red icon to show up.

    Conditional format.PNG

    Here is the formulas I put in. I want it to be green if they exceed their goal, yellow if they reach 80% of the goal, and red for anything lower.

    results.PNG

    As you can see, the fourth column should be red, as they did not meet 80% of the goal, but it still shows up as yellow. I can't figure out how to include the red icon in this table. And I am already aware that there needs to be a separate rule for each line.

    Any advice would be appreciated!
    Attached Files Attached Files
    Last edited by stell64; 01-17-2019 at 03:48 PM.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,371

    Re: Conditional Formatting: Can't get red dot to show up

    Will you please attach a sample Excel workbook? We are not able to work with or manipulate a picture of one and nobody wants to have to recreate your data from scratch.

    1. Make sure that your sample data are REPRESENTATIVE of your real data. The use of unrepresentative data is very frustrating and can lead to long delays in reaching a solution.

    2. Make sure that your desired results are also shown (mock up the results manually).

    3. Make sure that all confidential data is removed or replaced with dummy data first (e.g. names, addresses, E-mails, etc.).

    4. Try to avoid using merged cells as they cause lots of problems.

    Unfortunately the attachment icon doesn't work at the moment, so to attach an Excel file you have to do the following: just before posting, scroll down to Go Advanced and then scroll down to Manage Attachments. Now follow the instructions at the top of that screen.

    Please pay particular attention to point 2 (above): without an idea of your intended outcomes, it is often very difficult to offer appropriate advice.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    09-21-2018
    Location
    Redondo Beach, CA
    MS-Off Ver
    2016
    Posts
    13

    Re: Conditional Formatting: Can't get red dot to show up

    I have uploaded my attachment here. All sensitive info has been removed.

    My goal I am trying to achieve is to get the 5th entry to show a red icon. It should not be yellow based on the formulas I entered.
    Attached Files Attached Files

  4. #4
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: Conditional Formatting: Can't get red dot to show up

    Looks like the rule is only applied to the first cell, since only the first cell shows the icon with the tick and the cells below show icons without the ticks.

    Make sure that the cells have only one conditional format and make sure that the CF is applied to all the cells you are interested in.

  5. #5
    Registered User
    Join Date
    09-21-2018
    Location
    Redondo Beach, CA
    MS-Off Ver
    2016
    Posts
    13

    Re: Conditional Formatting: Can't get red dot to show up

    I have a separate rule for each line, the picture I posted is just an example of what I did for each line. The tick is unique to the first line, was just playing around with the different icons. I attached my file in the original post if you have some time to take a look

  6. #6
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: Conditional Formatting: Can't get red dot to show up

    Do you know that you don't have to create individual rules for each row? Select all rows, create a rule with icon sets and it will apply that ONE rule to all rows.

    Your rule in row 5 uses percent, not formula in the definition of the yellow value, so it differs from the rest.

    All the other rules work correctly, as in their individual definitions.

    for example row 7 is yellow because =L7-L7*0.8 = 5.6 and the value 20 is not smaller than that, so yellow is applied, not red. Red will be applied if the value is less than 5.6.

    What is the problem? Do you expect to see something different? Why? Can you explain your rules in words?

  7. #7
    Registered User
    Join Date
    09-21-2018
    Location
    Redondo Beach, CA
    MS-Off Ver
    2016
    Posts
    13

    Re: Conditional Formatting: Can't get red dot to show up

    Appreciate the response!

    In this case, when using icon sets, you do have to do an individual rule for each row (unless there's something I'm not understanding). You can't use relative references with icon sets, so it automatically references cell $L$3 and compares it to every row.

    error_message.PNG

    As for row 7. I can see now that my math is off, thanks for pointing that out. I should have been using 0.2 instead of 0.8 (and I made sure it said formula instead of percentage). I think that was causing my issues because I am now able to get the red icons to appear. Thank you!

    If I'm misunderstanding that error message and there is an easier way to do conditional formatting with icon sets and apply it to an entire row. Could you explain that a little bit?

    Thanks again!
    Last edited by AliGW; 01-18-2019 at 02:08 AM.

  8. #8
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: Conditional Formatting: Can't get red dot to show up

    You could use a helper formula in a separate column to the left of TPH, use a formula to return 3, 2, or 1, depending on your evaluation of the difference between TPH and Goal, then use just one rule on the helper column.

    2019-01-18_13-32-03.png

    The row-relative calculation is just one formula copied down.

    =IF(L3>=M3,3,IF(L3>M3-M3*0.8,2,1))

    The rule is just one rule based on the cell value and the type is set to Number.

    Much quicker to set up than having individual icon set rules for each row.

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

    Re: Conditional Formatting: Can't get red dot to show up

    Clear all CF rules from K3:K26
    With K3:K26 selected, choose Cond Fmt: Icons
    Formula for Green: >= 0.85*$L$3
    Formula for yellow: >= 0.55*$L$3
    Attached Files Attached Files
    Last edited by protonLeah; 01-17-2019 at 08:37 PM.
    Ben Van Johnson

+ 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. [SOLVED] Header doesn't show conditional formatting
    By Jackxel in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 08-09-2018, 05:11 AM
  2. [SOLVED] Conditional formatting to show difference
    By Shamz41 in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 07-10-2018, 03:43 AM
  3. conditional formatting to show blank cells
    By Shamz41 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-20-2018, 09:25 AM
  4. Conditional Formatting to show if a formula has been changed
    By Grimwood in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-12-2013, 12:06 PM
  5. Conditional Formatting to show biggest reductions in %
    By LDouble3 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-26-2013, 11:45 AM
  6. Replies: 0
    Last Post: 07-31-2012, 06:09 PM
  7. Conditional Formatting to show age of invoice?
    By leven in forum Excel General
    Replies: 9
    Last Post: 06-08-2012, 09:31 AM

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