troubleshooting Question

Data Validation based on formula

Avatar of RWayneH
RWayneHFlag for United States of America asked on
Microsoft ExcelMicrosoft Office
10 Comments1 Solution174 ViewsLast Modified:
I have a variable saved as a value, it is an average.  lets call it MyAvg.

I would like to apply a data validation on a column (D) that uses MyAvg that:

If value is >15% of MyAvg = Red
If value is between >10 of MyAvg but <15% of MyAvg = Yellow
If value is between <10 of MyAvg and -10% of MyAvg = Green

How would I write a formula in the Data Validation, to use MyAvg?
Ideally, or another option I would like to explore this using some VBA code against a cell... but was going to try both ways.  

Please advise and thanks.
Join our community to see this answer!
Unlock 1 Answer and 10 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 10 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros