Formula for conditional formatting

Kishan

Well-known Member
Joined
Mar 15, 2011
Messages
1,648
Office Version
  1. 2010
Platform
  1. Windows
Using Excel 2000</SPAN></SPAN>
Hi,
</SPAN></SPAN>

Here the below is my example I need formula for conditional format to highlight result in 3 different forms highlight 2 match, 3 match or 4, for example if I put in the cell C3=1 & in the D3=2 it should highlight in the column C6:D44 all 2 matches 1&2 and same way for 3 match in the columns H, I, J & 4 match in the columns M, N, O, P
</SPAN></SPAN>


Book1
ABCDEFGHIJKLMNOPQR
1
2
31212X12XX
4
5P1P2P3P4P1P2P3P4P1P2P3P4
6X111X111X111
7XX2112X1XX21
8X112X11212XX
9111111111111
10X111X111X111
1112XX12XXX111
12X1X2X1X2X1X2
1312X12X2112X1
141XX21XX21XX2
15X211X211X211
16111111111111
17111111111111
18111112X11111
192X2112X12X21
2012XX12XX12XX
21111212X21112
22X21X12XXX21X
23111X12XX111X
24X22112X1X221
2511X112X111X1
26122212X22122
27X211X211X211
28XX12XX1212XX
29111111111111
30X221X221X221
31X1X2X1X2X1X2
322X212X212X21
3312XX12XXX111
34111211121112
35121112111211
3621X121X121X1
371111111112XX
3811XX11XX12XX
39X121X121X121
4012X111X111X1
41XXX1XXX1XXX1
4211X111X111X1
43112112X11121
44X221X221X221
45
46
47
48
Sheet10


Thank you in advance
</SPAN></SPAN>

Regards,
</SPAN>
Kishan
</SPAN></SPAN>
 
Last edited:

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type
Here's the first one for you, apply the cf rule to $C$6:$C$44 or your actual range if larger.

=AND(C$3<>"",OR($C6=$C$3,$C$3=""),OR($D6=$D$3,$D$3=""),OR($E6=$E$3,$E$3=""),OR($F6=$F$3,$F$3=""))

Change the columns in the formula as needed for the other 2 sets.
 
Upvote 0
I've done 2 for what you appear to want. You should be able to extend to the third section.

<b>CF</b><br /><br /><table border="1" cellspacing="0" cellpadding="0" style="font-family:Arial,Arial; font-size:8pt; background-color:#ffffff; padding-left:2pt; padding-right:2pt; "> <colgroup><col style="font-weight:bold; width:30px; " /><col style="width:35px;" /><col style="width:35px;" /><col style="width:35px;" /><col style="width:35px;" /><col style="width:56px;" /><col style="width:35px;" /><col style="width:35px;" /><col style="width:35px;" /><col style="width:35px;" /></colgroup><tr style="background-color:#cacaca; text-align:center; font-weight:bold; font-size:8pt; "><td > </td><td >C</td><td >D</td><td >E</td><td >F</td><td >G</td><td >H</td><td >I</td><td >J</td><td >K</td></tr><tr style="height:21px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >3</td><td style="font-size:10pt; text-align:center; ">1</td><td style="font-size:10pt; text-align:center; ">2</td><td style="font-size:10pt; "> </td><td style="font-size:10pt; "> </td><td style="font-size:10pt; "> </td><td style="font-size:10pt; text-align:center; ">1</td><td style="font-size:10pt; text-align:center; ">2</td><td style="font-size:10pt; text-align:center; ">X</td><td style="font-size:10pt; "> </td></tr><tr style="height:21px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >4</td><td style="font-size:10pt; "> </td><td style="font-size:10pt; "> </td><td style="font-size:10pt; "> </td><td style="font-size:10pt; "> </td><td style="font-size:10pt; "> </td><td style="font-size:10pt; "> </td><td style="font-size:10pt; "> </td><td style="font-size:10pt; "> </td><td style="font-size:10pt; "> </td></tr><tr style="height:21px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >5</td><td style="font-size:10pt; text-align:center; ">P1</td><td style="font-size:10pt; text-align:center; ">P2</td><td style="font-size:10pt; text-align:center; ">P3</td><td style="font-size:10pt; text-align:center; ">P4</td><td style="font-size:10pt; "> </td><td style="font-size:10pt; text-align:center; ">P1</td><td style="font-size:10pt; text-align:center; ">P2</td><td style="font-size:10pt; text-align:center; ">P3</td><td style="font-size:10pt; text-align:center; ">P4</td></tr><tr style="height:21px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >6</td><td style="font-size:10pt; text-align:center; ">X</td><td style="font-size:10pt; text-align:center; ">1</td><td style="font-size:10pt; text-align:center; ">1</td><td style="font-size:10pt; text-align:center; ">1</td><td style="font-size:10pt; "> </td><td style="font-size:10pt; text-align:center; ">X</td><td style="font-size:10pt; text-align:center; ">1</td><td style="font-size:10pt; text-align:center; ">1</td><td style="font-size:10pt; text-align:center; ">1</td></tr><tr style="height:21px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >7</td><td style="font-size:10pt; text-align:center; ">X</td><td style="font-size:10pt; text-align:center; ">X</td><td style="font-size:10pt; text-align:center; ">2</td><td style="font-size:10pt; text-align:center; ">1</td><td style="font-size:10pt; "> </td><td style="background-color:#ffc000; font-size:10pt; text-align:center; ">1</td><td style="background-color:#ffc000; font-size:10pt; text-align:center; ">2</td><td style="background-color:#ffc000; font-size:10pt; text-align:center; ">X</td><td style="font-size:10pt; text-align:center; ">1</td></tr><tr style="height:21px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >8</td><td style="font-size:10pt; text-align:center; ">X</td><td style="font-size:10pt; text-align:center; ">1</td><td style="font-size:10pt; text-align:center; ">1</td><td style="font-size:10pt; text-align:center; ">2</td><td style="font-size:10pt; "> </td><td style="font-size:10pt; text-align:center; ">X</td><td style="font-size:10pt; text-align:center; ">1</td><td style="font-size:10pt; text-align:center; ">1</td><td style="font-size:10pt; text-align:center; ">2</td></tr><tr style="height:21px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >9</td><td style="font-size:10pt; text-align:center; ">1</td><td style="font-size:10pt; text-align:center; ">1</td><td style="font-size:10pt; text-align:center; ">1</td><td style="font-size:10pt; text-align:center; ">1</td><td style="font-size:10pt; "> </td><td style="font-size:10pt; text-align:center; ">1</td><td style="font-size:10pt; text-align:center; ">1</td><td style="font-size:10pt; text-align:center; ">1</td><td style="font-size:10pt; text-align:center; ">1</td></tr><tr style="height:21px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >10</td><td style="font-size:10pt; text-align:center; ">X</td><td style="font-size:10pt; text-align:center; ">1</td><td style="font-size:10pt; text-align:center; ">1</td><td style="font-size:10pt; text-align:center; ">1</td><td style="font-size:10pt; "> </td><td style="font-size:10pt; text-align:center; ">X</td><td style="font-size:10pt; text-align:center; ">1</td><td style="font-size:10pt; text-align:center; ">1</td><td style="font-size:10pt; text-align:center; ">1</td></tr><tr style="height:21px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >11</td><td style="background-color:#ffc000; font-size:10pt; text-align:center; ">1</td><td style="background-color:#ffc000; font-size:10pt; text-align:center; ">2</td><td style="font-size:10pt; text-align:center; ">X</td><td style="font-size:10pt; text-align:center; ">X</td><td style="font-size:10pt; "> </td><td style="background-color:#ffc000; font-size:10pt; text-align:center; ">1</td><td style="background-color:#ffc000; font-size:10pt; text-align:center; ">2</td><td style="background-color:#ffc000; font-size:10pt; text-align:center; ">X</td><td style="font-size:10pt; text-align:center; ">X</td></tr><tr style="height:21px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >12</td><td style="font-size:10pt; text-align:center; ">X</td><td style="font-size:10pt; text-align:center; ">1</td><td style="font-size:10pt; text-align:center; ">X</td><td style="font-size:10pt; text-align:center; ">2</td><td style="font-size:10pt; "> </td><td style="font-size:10pt; text-align:center; ">X</td><td style="font-size:10pt; text-align:center; ">1</td><td style="font-size:10pt; text-align:center; ">X</td><td style="font-size:10pt; text-align:center; ">2</td></tr><tr style="height:21px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >13</td><td style="background-color:#ffc000; font-size:10pt; text-align:center; ">1</td><td style="background-color:#ffc000; font-size:10pt; text-align:center; ">2</td><td style="font-size:10pt; text-align:center; ">X</td><td style="font-size:10pt; text-align:center; ">1</td><td style="font-size:10pt; "> </td><td style="font-size:10pt; text-align:center; ">2</td><td style="font-size:10pt; text-align:center; ">X</td><td style="font-size:10pt; text-align:center; ">2</td><td style="font-size:10pt; text-align:center; ">1</td></tr><tr style="height:21px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >14</td><td style="font-size:10pt; text-align:center; ">1</td><td style="font-size:10pt; text-align:center; ">X</td><td style="font-size:10pt; text-align:center; ">X</td><td style="font-size:10pt; text-align:center; ">2</td><td style="font-size:10pt; "> </td><td style="font-size:10pt; text-align:center; ">1</td><td style="font-size:10pt; text-align:center; ">X</td><td style="font-size:10pt; text-align:center; ">X</td><td style="font-size:10pt; text-align:center; ">2</td></tr><tr style="height:21px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >15</td><td style="font-size:10pt; text-align:center; ">X</td><td style="font-size:10pt; text-align:center; ">2</td><td style="font-size:10pt; text-align:center; ">1</td><td style="font-size:10pt; text-align:center; ">1</td><td style="font-size:10pt; "> </td><td style="font-size:10pt; text-align:center; ">X</td><td style="font-size:10pt; text-align:center; ">2</td><td style="font-size:10pt; text-align:center; ">1</td><td style="font-size:10pt; text-align:center; ">1</td></tr><tr style="height:21px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >16</td><td style="font-size:10pt; text-align:center; ">1</td><td style="font-size:10pt; text-align:center; ">1</td><td style="font-size:10pt; text-align:center; ">1</td><td style="font-size:10pt; text-align:center; ">1</td><td style="font-size:10pt; "> </td><td style="font-size:10pt; text-align:center; ">1</td><td style="font-size:10pt; text-align:center; ">1</td><td style="font-size:10pt; text-align:center; ">1</td><td style="font-size:10pt; text-align:center; ">1</td></tr><tr style="height:21px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >17</td><td style="font-size:10pt; text-align:center; ">1</td><td style="font-size:10pt; text-align:center; ">1</td><td style="font-size:10pt; text-align:center; ">1</td><td style="font-size:10pt; text-align:center; ">1</td><td style="font-size:10pt; "> </td><td style="font-size:10pt; text-align:center; ">1</td><td style="font-size:10pt; text-align:center; ">1</td><td style="font-size:10pt; text-align:center; ">1</td><td style="font-size:10pt; text-align:center; ">1</td></tr><tr style="height:21px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >18</td><td style="font-size:10pt; text-align:center; ">1</td><td style="font-size:10pt; text-align:center; ">1</td><td style="font-size:10pt; text-align:center; ">1</td><td style="font-size:10pt; text-align:center; ">1</td><td style="font-size:10pt; "> </td><td style="background-color:#ffc000; font-size:10pt; text-align:center; ">1</td><td style="background-color:#ffc000; font-size:10pt; text-align:center; ">2</td><td style="background-color:#ffc000; font-size:10pt; text-align:center; ">X</td><td style="font-size:10pt; text-align:center; ">1</td></tr><tr style="height:21px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >19</td><td style="font-size:10pt; text-align:center; ">2</td><td style="font-size:10pt; text-align:center; ">X</td><td style="font-size:10pt; text-align:center; ">2</td><td style="font-size:10pt; text-align:center; ">1</td><td style="font-size:10pt; "> </td><td style="background-color:#ffc000; font-size:10pt; text-align:center; ">1</td><td style="background-color:#ffc000; font-size:10pt; text-align:center; ">2</td><td style="background-color:#ffc000; font-size:10pt; text-align:center; ">X</td><td style="font-size:10pt; text-align:center; ">1</td></tr><tr style="height:21px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >20</td><td style="background-color:#ffc000; font-size:10pt; text-align:center; ">1</td><td style="background-color:#ffc000; font-size:10pt; text-align:center; ">2</td><td style="font-size:10pt; text-align:center; ">X</td><td style="font-size:10pt; text-align:center; ">X</td><td style="font-size:10pt; "> </td><td style="background-color:#ffc000; font-size:10pt; text-align:center; ">1</td><td style="background-color:#ffc000; font-size:10pt; text-align:center; ">2</td><td style="background-color:#ffc000; font-size:10pt; text-align:center; ">X</td><td style="font-size:10pt; text-align:center; ">X</td></tr><tr style="height:21px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >21</td><td style="font-size:10pt; text-align:center; ">1</td><td style="font-size:10pt; text-align:center; ">1</td><td style="font-size:10pt; text-align:center; ">1</td><td style="font-size:10pt; text-align:center; ">2</td><td style="font-size:10pt; "> </td><td style="background-color:#ffc000; font-size:10pt; text-align:center; ">1</td><td style="background-color:#ffc000; font-size:10pt; text-align:center; ">2</td><td style="background-color:#ffc000; font-size:10pt; text-align:center; ">X</td><td style="font-size:10pt; text-align:center; ">2</td></tr><tr style="height:21px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >22</td><td style="font-size:10pt; text-align:center; ">X</td><td style="font-size:10pt; text-align:center; ">2</td><td style="font-size:10pt; text-align:center; ">1</td><td style="font-size:10pt; text-align:center; ">X</td><td style="font-size:10pt; "> </td><td style="background-color:#ffc000; font-size:10pt; text-align:center; ">1</td><td style="background-color:#ffc000; font-size:10pt; text-align:center; ">2</td><td style="background-color:#ffc000; font-size:10pt; text-align:center; ">X</td><td style="font-size:10pt; text-align:center; ">X</td></tr><tr style="height:21px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >23</td><td style="font-size:10pt; text-align:center; ">1</td><td style="font-size:10pt; text-align:center; ">1</td><td style="font-size:10pt; text-align:center; ">1</td><td style="font-size:10pt; text-align:center; ">X</td><td style="font-size:10pt; "> </td><td style="background-color:#ffc000; font-size:10pt; text-align:center; ">1</td><td style="background-color:#ffc000; font-size:10pt; text-align:center; ">2</td><td style="background-color:#ffc000; font-size:10pt; text-align:center; ">X</td><td style="font-size:10pt; text-align:center; ">X</td></tr><tr style="height:21px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >24</td><td style="font-size:10pt; text-align:center; ">X</td><td style="font-size:10pt; text-align:center; ">2</td><td style="font-size:10pt; text-align:center; ">2</td><td style="font-size:10pt; text-align:center; ">1</td><td style="font-size:10pt; "> </td><td style="background-color:#ffc000; font-size:10pt; text-align:center; ">1</td><td style="background-color:#ffc000; font-size:10pt; text-align:center; ">2</td><td style="background-color:#ffc000; font-size:10pt; text-align:center; ">X</td><td style="font-size:10pt; text-align:center; ">1</td></tr><tr style="height:21px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >25</td><td style="font-size:10pt; text-align:center; ">1</td><td style="font-size:10pt; text-align:center; ">1</td><td style="font-size:10pt; text-align:center; ">X</td><td style="font-size:10pt; text-align:center; ">1</td><td style="font-size:10pt; "> </td><td style="background-color:#ffc000; font-size:10pt; text-align:center; ">1</td><td style="background-color:#ffc000; font-size:10pt; text-align:center; ">2</td><td style="background-color:#ffc000; font-size:10pt; text-align:center; ">X</td><td style="font-size:10pt; text-align:center; ">1</td></tr><tr style="height:21px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >26</td><td style="background-color:#ffc000; font-size:10pt; text-align:center; ">1</td><td style="background-color:#ffc000; font-size:10pt; text-align:center; ">2</td><td style="font-size:10pt; text-align:center; ">2</td><td style="font-size:10pt; text-align:center; ">2</td><td style="font-size:10pt; "> </td><td style="background-color:#ffc000; font-size:10pt; text-align:center; ">1</td><td style="background-color:#ffc000; font-size:10pt; text-align:center; ">2</td><td style="background-color:#ffc000; font-size:10pt; text-align:center; ">X</td><td style="font-size:10pt; text-align:center; ">2</td></tr><tr style="height:21px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >27</td><td style="font-size:10pt; text-align:center; ">X</td><td style="font-size:10pt; text-align:center; ">2</td><td style="font-size:10pt; text-align:center; ">1</td><td style="font-size:10pt; text-align:center; ">1</td><td style="font-size:10pt; "> </td><td style="font-size:10pt; text-align:center; ">X</td><td style="font-size:10pt; text-align:center; ">2</td><td style="font-size:10pt; text-align:center; ">1</td><td style="font-size:10pt; text-align:center; ">1</td></tr><tr style="height:21px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >28</td><td style="font-size:10pt; text-align:center; ">X</td><td style="font-size:10pt; text-align:center; ">X</td><td style="font-size:10pt; text-align:center; ">1</td><td style="font-size:10pt; text-align:center; ">2</td><td style="font-size:10pt; "> </td><td style="font-size:10pt; text-align:center; ">X</td><td style="font-size:10pt; text-align:center; ">X</td><td style="font-size:10pt; text-align:center; ">1</td><td style="font-size:10pt; text-align:center; ">2</td></tr><tr style="height:21px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >29</td><td style="font-size:10pt; text-align:center; ">1</td><td style="font-size:10pt; text-align:center; ">1</td><td style="font-size:10pt; text-align:center; ">1</td><td style="font-size:10pt; text-align:center; ">1</td><td style="font-size:10pt; "> </td><td style="font-size:10pt; text-align:center; ">1</td><td style="font-size:10pt; text-align:center; ">1</td><td style="font-size:10pt; text-align:center; ">1</td><td style="font-size:10pt; text-align:center; ">1</td></tr><tr style="height:21px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >30</td><td style="font-size:10pt; text-align:center; ">X</td><td style="font-size:10pt; text-align:center; ">2</td><td style="font-size:10pt; text-align:center; ">2</td><td style="font-size:10pt; text-align:center; ">1</td><td style="font-size:10pt; "> </td><td style="font-size:10pt; text-align:center; ">X</td><td style="font-size:10pt; text-align:center; ">2</td><td style="font-size:10pt; text-align:center; ">2</td><td style="font-size:10pt; text-align:center; ">1</td></tr><tr style="height:21px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >31</td><td style="font-size:10pt; text-align:center; ">X</td><td style="font-size:10pt; text-align:center; ">1</td><td style="font-size:10pt; text-align:center; ">X</td><td style="font-size:10pt; text-align:center; ">2</td><td style="font-size:10pt; "> </td><td style="font-size:10pt; text-align:center; ">X</td><td style="font-size:10pt; text-align:center; ">1</td><td style="font-size:10pt; text-align:center; ">X</td><td style="font-size:10pt; text-align:center; ">2</td></tr><tr style="height:21px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >32</td><td style="font-size:10pt; text-align:center; ">2</td><td style="font-size:10pt; text-align:center; ">X</td><td style="font-size:10pt; text-align:center; ">2</td><td style="font-size:10pt; text-align:center; ">1</td><td style="font-size:10pt; "> </td><td style="font-size:10pt; text-align:center; ">2</td><td style="font-size:10pt; text-align:center; ">X</td><td style="font-size:10pt; text-align:center; ">2</td><td style="font-size:10pt; text-align:center; ">1</td></tr><tr style="height:21px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >33</td><td style="background-color:#ffc000; font-size:10pt; text-align:center; ">1</td><td style="background-color:#ffc000; font-size:10pt; text-align:center; ">2</td><td style="font-size:10pt; text-align:center; ">X</td><td style="font-size:10pt; text-align:center; ">X</td><td style="font-size:10pt; "> </td><td style="background-color:#ffc000; font-size:10pt; text-align:center; ">1</td><td style="background-color:#ffc000; font-size:10pt; text-align:center; ">2</td><td style="background-color:#ffc000; font-size:10pt; text-align:center; ">X</td><td style="font-size:10pt; text-align:center; ">X</td></tr></table><br /><table style="font-family:Arial; font-size:10pt; background-color:#fffcf9; border-style: groove ;border-color:#ff0000"><tr><td ><b>Conditional formatting </b></td></tr><tr><td ><table border="1" cellspacing="0" cellpadding="0" style="font-family:Arial; font-size:10pt; padding-left:2pt; padding-right:2pt; "><tr><td >Cell</td><td >Nr.: / Condition</td><td >Format</td></tr><tr><td >C6</td><td >1. / Formula is =$C6&$D6=$C$3&$D$3</td><td style="background-color:#ffc000; ">Abc</td></tr><tr><td >D6</td><td >1. / Formula is =$C6&$D6=$C$3&$D$3</td><td style="background-color:#ffc000; ">Abc</td></tr><tr><td >H6</td><td >1. / Formula is =$H6&$I6&$J6=$H$3&$I$3&$J$3</td><td style="background-color:#ffc000; ">Abc</td></tr><tr><td >I6</td><td >1. / Formula is =$H6&$I6&$J6=$H$3&$I$3&$J$3</td><td style="background-color:#ffc000; ">Abc</td></tr><tr><td >J6</td><td >1. / Formula is =$H6&$I6&$J6=$H$3&$I$3&$J$3</td><td style="background-color:#ffc000; ">Abc</td></tr></table></td></tr></table>
 
Upvote 0
Here's the first one for you, apply the cf rule to $C$6:$C$44 or your actual range if larger.

=AND(C$3<>"",OR($C6=$C$3,$C$3=""),OR($D6=$D$3,$D$3=""),OR($E6=$E$3,$E$3=""),OR($F6=$F$3,$F$3=""))

Change the columns in the formula as needed for the other 2 sets.
jasonb75, as you explain your formula worked fine, but it is more interesting when I applied formula selecting cell C6:F44, it highlights 1 in the column if I put 1 in C3, then if I put 2 in the D3 it highlight 2 in the column D and disappear extra 1's from column C and show only 1&2 highlighted cells and when keep extending E3 & F3 does the same so far "your single formula is doing multiple job highlights any 1, 2, 3 or 4 as required" </SPAN></SPAN>I like the formula </SPAN></SPAN>

Thank you so much for your help
</SPAN></SPAN>

Kind Regards,
</SPAN></SPAN>
Kishan :)
</SPAN></SPAN>
 
Upvote 0
I've done 2 for what you appear to want. You should be able to extend to the third section.

Conditional formatting
Cell
Nr.: / Condition
Format
C6
1. / Formula is =$C6&$D6=$C$3&$D$3
Abc
D6
1. / Formula is =$C6&$D6=$C$3&$D$3
Abc
H6
1. / Formula is =$H6&$I6&$J6=$H$3&$I$3&$J$3
Abc
I6
1. / Formula is =$H6&$I6&$J6=$H$3&$I$3&$J$3
Abc
J6
1. / Formula is =$H6&$I6&$J6=$H$3&$I$3&$J$3
Abc

<TBODY>
</TBODY>


<TBODY>
</TBODY>
Peter_SSs, formulas are working perfect for both the options as you provide, and for 3rd one it was easy I just change the range and added one more column it worked fine!</SPAN></SPAN>

Thank you so much for your help
</SPAN></SPAN>

Kind Regards
</SPAN></SPAN>
Kishan :)
</SPAN></SPAN>
 
Upvote 0
Peter_SSs, formulas are working perfect for both the options as you provide, and for 3rd one it was easy I just change the range and added one more column it worked fine!</SPAN></SPAN>

Thank you so much for your help
</SPAN></SPAN>

Kind Regards
</SPAN></SPAN>
Kishan :)
</SPAN></SPAN>
You're welcome. Thanks for the follow-up. :)
 
Upvote 0

Forum statistics

Threads
1,214,827
Messages
6,121,816
Members
449,049
Latest member
cybersurfer5000

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