Conditional formatting based the content of 2 cells

Chevy_wench

New Member
Joined
Nov 16, 2005
Messages
2
I want say.... in cell q2 for it to first look at d2 to see if I have a "C" or "S" in that cell, if d2 has "C" and the formula in q2 equals 170 or greater then q2 turn red and bold or if d2 has a "S" and the formula in q2 equals 300 or greater then turn red and bold. In english if a person is type C than they can not go over 170 and if they are type S than they can not go over 300. I don't want to have to sort by C & S then apply a conditional format. Please help, I've been frying my brain on this spreadsheet.
 

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"

barry houdini

MrExcel MVP
Joined
Mar 23, 2005
Messages
20,825
Format > Conditional formatting

"formula is"

=OR(AND(D2="C",Q2>=170),AND(D2="S",Q2>=300))

set red font and bold
 
Upvote 0

Chevy_wench

New Member
Joined
Nov 16, 2005
Messages
2
Thank you very much! It worked and worked great! After applying that, I came up with a couple more ideas, but I want to try to do them myself first before I ask for any help. I felt like I should have been able to figure this one out on my own, but after a while I felt like I was chasing my own tail in the same circles. Again, thank you!!
 
Upvote 0

Forum statistics

Threads
1,195,745
Messages
6,011,401
Members
441,613
Latest member
worksux

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top