conditional formatting based on several conditions

Mandy_84

Board Regular
Joined
May 29, 2017
Messages
71
Hi All! need a help
Does anyone can help me in following?
I have used conditional formatting with formula =and($A2>=40,$B2="ional"), however it highlights even those which are below 40 and not "ional"....what am I doing wrong?
Thanks in advance!
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.
When you edit the conditional formatting, what does it say in the "Applies to" section. Also, can you post any sample data?

WBD
 
Upvote 0
If you have an existing conditional format, it must apply to a range. What range does it apply to?

WBD
 
Upvote 0
But if you've applied this formula to columns A:B then all rows will be offset by 1 and it won't work as expected. You need to either apply to range $A$2:$B$9999 (or whatever the range is) or change the formula to:

Code:
=AND($A1>=40,$B1="ional")

WBD
 
Upvote 0
But if you've applied this formula to columns A:B then all rows will be offset by 1 and it won't work as expected. You need to either apply to range $A$2:$B$9999 (or whatever the range is) or change the formula to:

Code:
=AND($A1>=40,$B1="ional")

WBD

Right! it works now! Thanks a million times!
 
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,284
Members
452,630
Latest member
OdubiYouth

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