Formula for conditional formatting

taywl

New Member
Joined
Feb 2, 2012
Messages
14
I'd like to highlight a row based on certain criteria.

Say for example in row 7, if C7 contains the word "checked" or its empty, and if D7 contains the word "checked" or its empty, and if E7 contains the word "checked" or its empty, then i want this row to be highlighted.

Thanks in advance!
 

Excel Facts

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN
I'm assuming that you don't need all 16,000+ columns in a row highlighted and that you want to start your checks in row 2.
Select from A2 to the bottom right of your data and apply this CF formula. If it does not do what you want, please give some examples and more explanation.

=SUBSTITUTE(LOWER($C2&$D2&$E2),"checked","")=""
 
Upvote 0
I've tried your formula and all cells are highlighted. I will need about 2000 rows to input my data. Here are more examples:<style><!--table {mso-displayed-decimal-separator:"\."; mso-displayed-thousand-separator:"\,";}@page {margin:1.0in .75in 1.0in .75in; mso-header-margin:.5in; mso-footer-margin:.5in;}td {padding-top:1px; padding-right:1px; padding-left:1px; mso-ignore:padding; color:black; font-size:12.0pt; font-weight:400; font-style:normal; text-decoration:none; font-family:Calibri, sans-serif; mso-font-charset:0; mso-number-format:General; text-align:general; vertical-align:bottom; border:none; mso-background-source:auto; mso-pattern:auto; mso-protection:locked visible; white-space:nowrap; mso-rotate:0;}.xl64 {color:black;}.xl65 {color:windowtext; font-family:Calibri; mso-generic-font-family:auto; mso-font-charset:0;}.xl66 {background:#BDD7EE; mso-pattern:black none;}.xl67 {color:black; background:yellow; mso-pattern:black none;}.xl68 {background:yellow; mso-pattern:black none;}.xl69 {color:windowtext; font-family:Calibri; mso-generic-font-family:auto; mso-font-charset:0; background:yellow; mso-pattern:black none;}--></style>[TABLE="width: 325"]
<!--StartFragment--> <colgroup><col width="65" span="5" style="width:65pt"> </colgroup><tbody>[TR]
[TD="class: xl66, width: 65"]Name[/TD]
[TD="class: xl66, width: 65"]File[/TD]
[TD="class: xl66, width: 65"]Illustration[/TD]
[TD="class: xl66, width: 65"]Technical[/TD]
[TD="class: xl66, width: 65"]Photo[/TD]
[/TR]
[TR]
[TD="class: xl67"]abc[/TD]
[TD="class: xl67"]BC SB2 C08[/TD]
[TD="class: xl68"]checked[/TD]
[TD="class: xl68"]checked[/TD]
[TD="class: xl68"] [/TD]
[/TR]
[TR]
[TD="class: xl64"]abc[/TD]
[TD="class: xl64"]BC SB2 C10[/TD]
[TD][/TD]
[TD]WIP[/TD]
[TD]checked[/TD]
[/TR]
[TR]
[TD="class: xl67"]cde[/TD]
[TD="class: xl67"]BC SB3 C10[/TD]
[TD="class: xl68"]checked[/TD]
[TD="class: xl68"]checked[/TD]
[TD="class: xl68"]checked[/TD]
[/TR]
[TR]
[TD="class: xl64"]cde[/TD]
[TD="class: xl65"]BC SB3 C11[/TD]
[TD]sent[/TD]
[TD]checked[/TD]
[TD][/TD]
[/TR]
[TR]
[TD="class: xl64"]efg[/TD]
[TD="class: xl64"]BC SB2 C09[/TD]
[TD]WIP[/TD]
[TD]sent[/TD]
[TD]WIP[/TD]
[/TR]
[TR]
[TD="class: xl64"]efg[/TD]
[TD="class: xl64"]BC SB2 C11[/TD]
[TD]checked[/TD]
[TD]WIP[/TD]
[TD][/TD]
[/TR]
[TR]
[TD="class: xl64"]efg[/TD]
[TD="class: xl64"]BC SB2 C12[/TD]
[TD][/TD]
[TD]WIP[/TD]
[TD][/TD]
[/TR]
[TR]
[TD="class: xl64"]efg[/TD]
[TD="class: xl64"]BC RT3 C01[/TD]
[TD][/TD]
[TD]WIP[/TD]
[TD][/TD]
[/TR]
[TR]
[TD="class: xl67"]abc[/TD]
[TD="class: xl69"]ON SB5 C12[/TD]
[TD="class: xl68"] [/TD]
[TD="class: xl68"]checked[/TD]
[TD="class: xl68"] [/TD]
[/TR]
[TR]
[TD="class: xl67"]abc[/TD]
[TD="class: xl67"]ON RT6 C06[/TD]
[TD="class: xl68"]checked[/TD]
[TD="class: xl68"]checked[/TD]
[TD="class: xl68"]checked[/TD]
[/TR]
[TR]
[TD="class: xl67"]cde[/TD]
[TD="class: xl67"]ON SB6 C06[/TD]
[TD="class: xl68"]checked[/TD]
[TD="class: xl68"] [/TD]
[TD="class: xl68"] [/TD]
[/TR]
[TR]
[TD="class: xl64"]cde[/TD]
[TD="class: xl65"]ON SB6 C07[/TD]
[TD]WIP[/TD]
[TD]checked[/TD]
[TD][/TD]
[/TR]
[TR]
[TD="class: xl64"]efg[/TD]
[TD="class: xl65"]ON SB6 C12[/TD]
[TD]WIP[/TD]
[TD]WIP[/TD]
[TD][/TD]
[/TR]
[TR]
[TD="class: xl64"]efg[/TD]
[TD="class: xl65"]ON SB6 C13[/TD]
[TD]WIP[/TD]
[TD]WIP[/TD]
[TD][/TD]
[/TR]
[TR]
[TD="class: xl64"]efg[/TD]
[TD="class: xl64"]ON SB6 C09[/TD]
[TD]WIP[/TD]
[TD]checked[/TD]
[TD][/TD]
[/TR]
[TR]
[TD="class: xl64"]efg[/TD]
[TD="class: xl64"]ON EN5 C08[/TD]
[TD]sent[/TD]
[TD]checked[/TD]
[TD]checked[/TD]
[/TR]
[TR]
[TD="class: xl64"]cde[/TD]
[TD="class: xl64"]ON SB5 C09[/TD]
[TD]checked[/TD]
[TD]WIP[/TD]
[TD][/TD]
[/TR]
[TR]
[TD="class: xl64"]cde[/TD]
[TD="class: xl64"]ON SB5 C10[/TD]
[TD][/TD]
[TD]WIP[/TD]
[TD][/TD]
[/TR]
[TR]
[TD="class: xl67"]cde[/TD]
[TD="class: xl67"]ON SB6 C03[/TD]
[TD="class: xl68"] [/TD]
[TD="class: xl68"] [/TD]
[TD="class: xl68"]checked[/TD]
[/TR]
[TR]
[TD="class: xl64"]cde[/TD]
[TD="class: xl64"]ON SB6 C08[/TD]
[TD][/TD]
[TD]WIP[/TD]
[TD]checked[/TD]
[/TR]
<!--EndFragment--></tbody>[/TABLE]


Notice that I only want the status for all 3 columns C, D, and E to be either "checked" or empty for the row to be highlighted.
 
Upvote 0
Here is my sheet with your sample data and I followed the steps in my previous post. Is this the result you would expect?

Excel Workbook
ABCDE
1NameFileIllustrationTechnicalPhoto
2abcBC SB2 C08checkedchecked
3abcBC SB2 C10WIPchecked
4cdeBC SB3 C10checkedcheckedchecked
5cdeBC SB3 C11sentchecked
6efgBC SB2 C09WIPsentWIP
7efgBC SB2 C11checkedWIP
8efgBC SB2 C12WIP
9efgBC RT3 C01WIP
10abcON SB5 C12checked
11abcON RT6 C06checkedcheckedchecked
12cdeON SB6 C06checked
13cdeON SB6 C07WIPchecked
14efgON SB6 C12WIPWIP
15efgON SB6 C13WIPWIP
16efgON SB6 C09WIPchecked
17efgON EN5 C08sentcheckedchecked
18cdeON SB5 C09checkedWIP
19cdeON SB5 C10WIP
20cdeON SB6 C03checked
21cdeON SB6 C08WIPchecked
CF Row
Cells with Conditional Formatting
CellConditionCell FormatStop If True
A21. / Formula is =SUBSTITUTE(LOWER($C2&$D2&$E2),"checked","")=""Abc
 
Upvote 0
This works. Thanks a lot for your help!
No problem. I take it that you must have not quite implemented the suggestion correctly the first time. In any case, the main thing is that it is resolved now. :)
 
Upvote 0

Forum statistics

Threads
1,224,816
Messages
6,181,139
Members
453,021
Latest member
Justyna P

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