Avatar of MisUszatek
MisUszatek
Flag for United States of America asked on

Conditional formatting formula comparing two columns

I have 3 columns (A, B and C) in Excel 2010. I need to put text YES in the C column if A is less than 25% of B and text NO if it is more than 25%. What is the best way to do it?
Microsoft Excel

Avatar of undefined
Last Comment
Flyster

8/22/2022 - Mon
Flyster

You can use this formula:

=IF(A1<(B1/4),"Yes","No")

Flyster
MisUszatek

ASKER
I might need to change the percentage once in a while to a different value, let say 37%. How would that look like?
ASKER CERTIFIED SOLUTION
Flyster

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes