Solved

Conditional formatting formula comparing two columns

Posted on 2012-12-28
3
268 Views
Last Modified: 2012-12-28
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?
0
Comment
Question by:MisUszatek
[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
  • Learn & ask questions
  • 2
3 Comments
 
LVL 22

Expert Comment

by:Flyster
ID: 38728104
You can use this formula:

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

Flyster
0
 

Author Comment

by:MisUszatek
ID: 38728112
I might need to change the percentage once in a while to a different value, let say 37%. How would that look like?
0
 
LVL 22

Accepted Solution

by:
Flyster earned 350 total points
ID: 38728211
If you want to hard code it you can use:

=IF(A1<(B1*0.37),"Yes","No")

Or, you can use a reference cell:

=IF(A1<(B1*D1),"Yes","No")

Just put your .37 in cell D1. A little more flexibility that way.
0

Featured Post

SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

Question has a verified solution.

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

When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
In Part II of this series, I will discuss how to identify all open instances of Excel and enumerate the workbooks, spreadsheets, and named ranges within each of those instances.
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…
This Micro Tutorial will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.

751 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question