Conditional Formatting over multiple cells

surkdidat

Well-known Member
Joined
Oct 1, 2011
Messages
582
Office Version
  1. 365
Hi again

In Columns I, L and O I have various drop down options (4 in total)

If these dropdowns are any combination of either "Approved" or "Not Applicable" I need to turn the row green

If the row contains one of the other values "Open" or "Escalated" (or blank) the line should remain free of being coloured in

Thanks
 
Sorry for this - another idea

out of interest what is in columns J K M N - perhaps we can do some sort of simple count of the range
we could use the full range
=(COUNTIF($I2:$O2,"approved")+COUNTIF($I2:$O2,"not applicable"))=3
as conditional formatting will accept that - as its NOT an array

Book8
ABCDEFGHIJKLMNO
2ApprovedApprovedApproved
3ApprovedApprovedNot applicable
4ApprovedNot applicableApproved
5Not applicableApprovedApproved
6ApprovedNot applicableNot applicable
7Not applicableApprovedNot applicable
8Not applicableNot applicableApproved
9Not applicableNot applicableNot applicable
10ApprovedApproved
11ApprovedApprovedNot applicable
12ApprovedopenApproved
13Not applicableApprovedApproved
14escaletedNot applicableNot applicable
15Not applicableApprovedNot applicable
16Not applicableexpiredApproved
17Not applicableNot applicableopen
Sheet1 (2)
Cells with Conditional Formatting
CellConditionCell FormatStop If True
A2:O17Expression=(COUNTIF($I2:$O2,"approved")+COUNTIF($I2:$O2,"not applicable"))=3textNO
 
Upvote 0

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.
Sorry for this - another idea

out of interest what is in columns J K M N - perhaps we can do some sort of simple count of the range
we could use the full range
=(COUNTIF($I2:$O2,"approved")+COUNTIF($I2:$O2,"not applicable"))=3
as conditional formatting will accept that - as its NOT an array

Book8
ABCDEFGHIJKLMNO
2ApprovedApprovedApproved
3ApprovedApprovedNot applicable
4ApprovedNot applicableApproved
5Not applicableApprovedApproved
6ApprovedNot applicableNot applicable
7Not applicableApprovedNot applicable
8Not applicableNot applicableApproved
9Not applicableNot applicableNot applicable
10ApprovedApproved
11ApprovedApprovedNot applicable
12ApprovedopenApproved
13Not applicableApprovedApproved
14escaletedNot applicableNot applicable
15Not applicableApprovedNot applicable
16Not applicableexpiredApproved
17Not applicableNot applicableopen
Sheet1 (2)
Cells with Conditional Formatting
CellConditionCell FormatStop If True
A2:O17Expression=(COUNTIF($I2:$O2,"approved")+COUNTIF($I2:$O2,"not applicable"))=3textNO
Dates received / updated etc for status'
 
Upvote 0
Dates received / updated etc for status'
if there is NO chance of having the words Approved or non applicable in those columns , then easier to use the simple countif()
=(COUNTIF($I2:$O2,"approved")+COUNTIF($I2:$O2,"not applicable"))=3
No helper - cna be in cond frmt as not an array and simple formula
 
Upvote 0

Forum statistics

Threads
1,215,024
Messages
6,122,729
Members
449,093
Latest member
Mnur

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