SOLVED

Conditional formatting and formulas

Copper 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. 

but,

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 (Copper Contributor)
Solution

@TinkerPete 

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

=AZ2>IF(A2="bot",4000,3)

Click Format...

Activate the Fill tab.

Select red.

Click OK, then click OK again.

That works PERFECTLY! Thank you so much.
1 best response

Accepted Solutions
best response confirmed by TinkerPete (Copper Contributor)
Solution

@TinkerPete 

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

=AZ2>IF(A2="bot",4000,3)

Click Format...

Activate the Fill tab.

Select red.

Click OK, then click OK again.

View solution in original post