Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

Conditional formatting in tables

Hi everyone,

 

In my report, I have a matrix with an overview of 12 employees. In this Matrix, the employees can see how many sales they made, their budget and "% on budget". In the column with "% on Budget", I want to add conditional formatting with font color formatted by rules. If they have % on budget from 0% to 40% then the font color should be red, if it is from 41% to 70% then yellow and 71% and above then green. 
This is quite easy to implement, but the problem is some of the employees have sold more than their budget, which means that they are over 100%. And the percent rules are based on the difference between the lowest and the highest value. So when an employee has a % on budget on 160% then an employee with 64% can have a red color, but the employee should have a yellow color. This isn't optimal. See the screens below 🙂

 

 
 

Hope someone can help 🙂

 

  • Hi Anonymous ,

     

    It may be a easy problem, you need to uniform number type.

     

7 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    Instead of percent use number in conditional formating.

    Once i had same problem and it worked for me.

     

    Thanks,

    Pravin

  • ammcleod's avatar
    ammcleod
    Frequent Visitor

    Hi Anonymous ,

    I used "Number" instead of "Percentage" for the conditional formatting options and that seems to work for me.

     

     

    Hope this helps 🙂

    • Anonymous's avatar
      Anonymous
      Not applicable

      ammcleod Anonymous 

      It still doesn't work for me even though I change it to numbers. I have formatted the number as a percentage and that is probably the reason (see the screen below).

       

       

  • v-eachen-msft's avatar
    v-eachen-msft
    Community Support

    Hi Anonymous ,

     

    It may be a easy problem, you need to uniform number type.