if, then formula with conditional formating

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

IF(D4<=(E4*4),"OK","NOT OK")

D4 E4
182 41

this returns NOT OK (41*4 = 164) 182 is not <=164

Can I write this as a conditional formating formula? Return the answer
(164) but change the font color it if it does not meet the OK criteria.

Thanks in advance!
I'm learning a lot reading this discussion group!
 
Write the following formula in the conditional formatting condition window:
=FALSE(A1) assuming the cell whose value you're looking to test is A1.
Change to suit your needs.

This tests if the condition is FALSE. If it is true that it is false
(confusing) then it will apply the format you need.
 
=false(D15<=(E15*4) Did not work. Left the font color black. Tried the
formula in the conditional formating window. What am I doing wrong? Can I
have a formula in the cell to compute E15*4 and a conditional format.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top