duplicate entries

stepzilla

New Member
Joined
May 18, 2014
Messages
9
Hello,

I have numbers in column R3:R100 and other numbers in column X3:X100. What I'd like to do is highlight the number red in column R if it is in column X.


I'd also like to be able to delete the duplicated number if the number in column T3:T100 is in column A3:A100

Thanks
 
Last edited:

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.
Part one...

Cell A2 and A4 should return "in red" as they are found in C1:C5


Excel 2012
ABCDE
1268348I highlighted (Selected) A1:A5, went to Conditional Formatting, selected Use Formula and in Box
2172327entered =Countif($A$1:$A$5,$A1) -- then Format on the Font Tab, Select Color, OK, OK
3271307
4327172
5181428
6
7SubstitututeSubstitutute
8Your R RefYour X Ref
9aboveabove
Sheet1
 
Upvote 0
22-Nov
23-Nov24-Nov25-Nov26-Nov27-Nov28-NovC22-Nov23-Nov24-Nov25-Nov26-Nov27-Nov28-Nov


SAT SUNMONTUEWEDTHUFRICSAT OPENSUN OFFMON OPENTUE OPENWED OPENTHU OPENFRI OPEN
NSD230 HOL 209
ALNSD NSD HOL 210 210 210
NSD HOL245 211
NSDNSD HOL 217 217
230NSD HOL 219
NSDNSD HOL 220 220
ALNSDNSDAL HOL 230 230230 230
NSDALNSD HOL 244244 244
245NSDNSD 245245
230230HOL 246
ALNSDALNSD HOL 251 251251 251
391NSD HOL 363
361NSD HOL 365
NSDNSD HOL 369
NSDNSD HOL 372
SAT ONLY 361
SAT ONLY 389
SAT ONLY 390T
NSDNSD HOL 374 374
NSDNSDHOL 380380380
NSDNSD HOL 384 384
NSDNSD HOL 387
NSDNSD HOL 391 391
NSD101T 500 101T
HLNSDNSDHLHLHOLHL 102T 102T102T102T102T102T
NSDNSD 2330 104T
107TNSD 500 107T
NSD 113T500 113T
HOLNSDNSD 121T121T121T
NSDNSD 2215 126T
NSD102T HOL 141T 141T
150T150T2330 150T150T
102TNSDALAL HOL 203T 203T203T 203T
249TNSD HOL 205T 205T
HLNSDNSDHLHHOLHL 206T 206T206T206T206T206T
251NSDALAL HOL
212T212T 212T
206TNSD HOL
214T 214T
NSDNSDHOL
215T215T215T
102T121T500
216T216T
NSD 218THOL
NSD 218T 218T218T218T
NSDNSD HOL
222T 222T
HOLNSD
NSD 223T223T223T
ALALNSDNSDHOL
224T224T224T224T224T
NSD 231THOL
230 231T 231T231T
NSDNSD HOL
243T 243T
NSD 212T 500
247T
248TNSD
104T 248T248T248T
ALNSDNSDAL HOL
249T 249T249T 249T
364T1200
NSD 364T 364T
366T1500
NSD 366T 366T
390TNSD HOL
367T
NSDNSD HOL
368T
NSDNSD HOL
370T 370T
NSDNSD HOL 371T
NSDNSD HOL 381T
NSDNSDNSDNSDNSDNSDNSD 382T 382T382T382T382T382T
NSDNSD HOLNSD 385T 385T385T
NSD382T HOL
388T 388T
389NSD HOL 392T
NSDNSD 1200
382TNSD HOL 395T
396T1200NSD 396T 396T
374NSD HOL
397T
<colgroup><col width="57" style="width: 43pt; mso-width-source: userset; mso-width-alt: 2084;"> <col width="43" style="width: 32pt; mso-width-source: userset; mso-width-alt: 1572;" span="7"> <col width="57" style="width: 43pt; mso-width-source: userset; mso-width-alt: 2084;"> <col width="53" style="width: 40pt; mso-width-source: userset; mso-width-alt: 1938;"> <col width="63" style="width: 47pt; mso-width-source: userset; mso-width-alt: 2304;"> <col width="57" style="width: 43pt; mso-width-source: userset; mso-width-alt: 2084;"> <col width="63" style="width: 47pt; mso-width-source: userset; mso-width-alt: 2304;"> <col width="60" style="width: 45pt; mso-width-source: userset; mso-width-alt: 2194;"> <col width="55" style="width: 41pt; mso-width-source: userset; mso-width-alt: 2011;"> <tbody> </tbody>

Thanks …. But I think I didn't ask quite right.
have a look at the spreadsheet above. What I want to do is:
If the numbers in column I are in column A, I want the numbers
in column I to be highlighted red.
I'm going to continue the same formula for columns B and J,
L, etc.
<colgroup><col width="64" style="width: 48pt;" span="7"> <tbody> </tbody>
 
Upvote 0
The formula I provided earlier should have been,,, Sorry

=COUNTIF($C$1:$C$5,$A1)
 
Upvote 0

Forum statistics

Threads
1,214,807
Messages
6,121,679
Members
449,047
Latest member
notmrdurden

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