How to colours the cells if the conditions match

motilulla

Well-known Member
Joined
Feb 13, 2008
Messages
2,422
Office Version
  1. 2010
Hello,</SPAN></SPAN>

I want to fill the colours in column W:AL numbers, if the are matched with column G:T; Please need help </SPAN></SPAN>

Example data</SPAN></SPAN>


Book1
ABCDEFGHIJKLMNOPQRSTUVWXYZAAABACADAEAFAGAHAIAJAKAL
1
2
3
4
5n1n2n3n4n5n6n7n8n9n10n11n12n13n14n1n2n3n4n5n6n7n8n9n10n11n12n13n14n15n16
60110111001111001
701101110011110012
830030030333010013
9420040100124000124
102550133023210501235
1102161106101031012346
12221001010310000123457
130110604083030801234568
1401161210020701012345679
15420012160000000123456781323
161903801100002001234567891424
174231000048735001234567891525
1800102820111111001235678101626
1900100013086801012346781727
20001050110111270123457891828
210009300000035201234569101929
226020201120241110124567112030
23171222512101300301235678122131
2470071900612001012467932
2518210103170330012357833
261300030011016201234634
2700000140130000012345735
28500000800152020123456836
293046502601110101234567937
30108185013841108012345681038
311101100060050001234567891114151718
320001023061520330123456789101215161819
330000111010011211012456789101113171920
348300302000000100123567891014182021
Sheet1


Thank you all</SPAN></SPAN>

Excel 2000</SPAN></SPAN>
Regards,</SPAN>
Moti</SPAN></SPAN>
 
Last edited:

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)
Not sure if 2000 is the same but in 2003 you can do that with conditional Formatting
Select W6:AL34, and in Conditional Format select FormulaIs & use this formula
=AND(W6<>"",COUNTIF($G6:$T6,W6)>0)
 
Upvote 0
Not sure if 2000 is the same but in 2003 you can do that with conditional Formatting
Select W6:AL34, and in Conditional Format select FormulaIs & use this formula
=AND(W6<>"",COUNTIF($G6:$T6,W6)>0)
Wow! Fluff, it worked spot on. Thank you so much</SPAN></SPAN>

Wish you a very Happy New Year 2019
</SPAN></SPAN>

Kind Regards,
</SPAN></SPAN>
Moti :grin:
</SPAN></SPAN>

 
Upvote 0
You're welcome & thanks for the feedback
 
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