Solved

Excel 2003 conditional formatting

Posted on 2011-02-14
309 Views
Hello experts, I need a hand with formula based conditional formatting. I need to colour the cells in two columns where there is a difference against a target value. This target value is held in one of the cells and is changed weekly.

I've attached a sample spreadsheet which hopefully illustrates my question

Thanks for any help or suggestions
RAG-Example.xls
0
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

• Help others & share knowledge
• Earn cash & points

LVL 85

Expert Comment

ID: 34887747
I don't follow your logic. If the percentage is greater than target it should be green but if more then 10% greater than target it should be orange, and if more than 20% greater it should be red? But that does not match your applied formatting as far as I can see.
0

LVL 85

Expert Comment

ID: 34887750
"more than 10%" rather than "more then". :)
0

LVL 33

Expert Comment

ID: 34887800
Following your rules, the final result will not be like you posted on your file!

If value in Actual Number is greater than or equal to Target Number
If value in Actual Number is 10% or less than Target Number
If value in Actual Percentage is 20% or greater than Target Percentage - do you meant "Target Number"?

jppinto
RAG-Example-1-.xls
0

LVL 17

Expert Comment

ID: 34887844
I think the line:

If value in Actual Percentage is greater than or equal to Target Percentage

If value in Actual Percentage is lees than or equal to Target Percentage
0

LVL 17

Expert Comment

ID: 34887850
If value in Actual Percentage is less than or equal to Target Percentage
0

LVL 17

Accepted Solution

gtgloner earned 500 total points
ID: 34887899
Here is an example of one way to achieve this, have a look in cells A1 and B1 for some formulas and compare them against the conditional formatting that is set up. I know this might not be exactly the result you were hoping for, but it might give you some guidance as to how to get what you want.
RAG-Example-1-.xls
0

Author Closing Comment

ID: 34887976
Thanks very much,
0

LVL 17

Expert Comment

ID: 34888349
You're welcome, thanks for the grade, hope to be helpful to you in the future.

Glenn
0

Featured Post

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

You need to know the location of the Office templates folder, so that when you create new templates, they are saved to that location, and thus are available for selection when creating new documents.  The steps to find the Templates folder path are â€¦
Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will diâ€¦
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a â€¦
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.
Suggested Courses
Course of the Month8 days, 15 hours left to enroll