Conditional formatting and formulas

New Contributor

I am fairly familiar with Excel and others I work with cannot figure out how to do this.

I want the conditional formatting to be


If A2=bot AND AZ2>4000 then I want cell BX2 to be red. 


If A2 does NOT =bot AND AZ2>3 then I want cell BX2 to be red.

otherwise I want cell BX2 to be yellow


Is this even possible? If so, How can it be done?

2 Replies
best response confirmed by TinkerPete (New Contributor)


Select BX2 (or BX2:BXn if you want to format multiple cells in column BX).

Set the fill color to yellow. This will be the default.

On the Home tab of the ribbon, select Conditional Formatting > New Rule...

Select 'Use a formula to determine which cells to format'.

Enter the formula


Click Format...

Activate the Fill tab.

Select red.

Click OK, then click OK again.

That works PERFECTLY! Thank you so much.