98.7% Of all customers recommend us, we're so confident about our results we publish all reviews and stats
View Live Stats View ReviewsForum home » Delegate support and help forum » Microsoft Excel Training and help » Conditional Formatting based on a % of another cell
Conditional Formatting based on a % of another cell
Resolved · Urgent Priority · Version 2011 (Mac)
Alex has attended:
Excel Intermediate course
Conditional Formatting based on a % of another cell
Hi
I am trying to use conditional formatting on a cell.
I would like it to be conditioned on a % of another cell.
For example:
Column A are my Total sales and column B/C/D are sales from my registers.
If A1 is £1000
B1 is £300
C1 is £500
D1 is £200
I want to make it so that if B1 equals or is greater than 25% of the total sales it is green,
10%-15% orange
9% and bellow red
Please help
RE: Conditional Formatting based on a % of another cell
Hello Alex,
Hope you enjoyed your Microsoft Excel Intermediate course with Best STL.
Thank you for your question regarding using conditional formatting with percentages.
To do this follow these steps:
1) Select the 3 cells containing the register values
2) Click the conditional formatting button on the Home ribbon
3) Click 'New Rule'
4) Select the option to 'Use a formula to determine which cells to format
5) Enter this formula - =IF(B2>$A2*25/100,TRUE)
6) Format with a green fill colour. Click OK
7) Go to Manage Rules
8) Add new rule following same procedure as above
9) Formula is =IF(B2>=$A2*10/100,TRUE)
10) Format with a yellow fill colour
11) Add another new rule
12) Formula is =IF(B2<$A2*10/100,TRUE)
13) Format with a red fill colour
The conditions must be arranged properly with Green then Yellow then Red in the Manage Rules area.
I have attached a sample file with additional data for you to examine. I have added conditional formatting to the data.
Have fun with it.
I hope this resolves your question. If it has, please mark this question as resolved.
If you require further assistance, please reply to this post. Or perhaps you have another Microsoft Office question?
Have a great day.
Regards,
Rodney
Microsoft Office Specialist Trainer
Attached files...
Fri 3 May 2013: Automatically marked as resolved.
Training information:
See also:
Welcome. Please choose your application (eg. Excel) and then post your question. Our Microsoft Qualified trainers will then respond within 24 hours (working days). Frequently Asked Questions
Any suggestions, questions or comments? Please post in the Improve the forum thread. |
Excel tip:Convert Text to Columns in Excel 2010If you have a cell in your Excel spreadsheet that contains a lot of text and you want to divide it into separate columns, this can only be done if there is a logical character which separates the text, for example, a comma. |