Conditional Formatting

Tennisguuy

Well-known Member
Joined
Oct 17, 2007
Messages
564
Office Version
  1. 2016
Platform
  1. Windows
I need help with conditional formatting. I need to do conditional formatting but the condition is based on two values being true.

I have a spreadsheet where if the value in B1 is equal to "saw mill" and the value is S1 is less than 25 I want it to change the color of cell B1 to blue. I will need to do this for every value in B1:B500 and S1:S500
 

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result
Select B1:B500

Go to Conditional Formatting, select Formula Is and enter the formula

=AND(B1="saw mill",S1< 25)

click the Format button, apply your format and OK your way out.
 
Upvote 0
Select B1:B500

Go to Conditional Formatting, select Formula Is and enter the formula

=AND(B1="saw mill",S1< 25)

click the Format button, apply your format and OK your way out.
It might be a good idea to make sure S1 is not an empty cell.

=AND(B1="saw mill",S1<>"",S1< 25)
 
Upvote 0

Forum statistics

Threads
1,224,517
Messages
6,179,240
Members
452,898
Latest member
Capolavoro009

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
Back
Top