Conditional Formatting using an If and statment

tophat88

New Member
Joined
Apr 30, 2019
Messages
2
Hi,

Can someone please advise me how to use conditional formatting when you want to use to conditions in the same formula. Effectively a 'And' statement.

So I want Team A below where it shows May 60% to be 'Dark Green' in conditional Formatting. The formula is in the 2nd table is the May value greater than the April Value and the 2nd part of the formula is May % of 60% greater than the April value of 50%. If both values are true format the cell Dark Green.

In Team C although the values are lower than May the % is higher in May v April so I want to show this as Light Green in the Format.

Is there a way this can be done in Excel?

Any help would be great.

Thanks


TeamAprilMay
A50%60%Dark Green
B40%39%Leave
C55%70%Light Green
Team
A4050
B4051
C5040

<colgroup><col span="3"><col><col></colgroup><tbody>
</tbody>
 

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.
Welcome to the Board!

You would use AND, i.e.
=AND(condition1, condition2)

So it might look something like:
Code:
=AND($C2>$C1,$C10>$C9)
 
Upvote 0
You are welcome.
Note that you can have more than 2 conditions, too. I believe you can go up to 32 in AND and OR functions, in most versions of Excel.
 
Upvote 0

Forum statistics

Threads
1,214,385
Messages
6,119,209
Members
448,874
Latest member
b1step2far

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