How to find duplicated items???

VN

Board Regular
Joined
Aug 19, 2003
Messages
83
I would like to find items that may duplicate in my data.

My data have dimension WxLxH or LxWxH or HxWxL so I have to do some thing to separate the item that may be duplicated item.

How can I do?

(may be make a format color for duplicated items)

Exsample as below;
Book1
CDEFG
17Original DataNew Data
1812x5x6 mm.12x5x6 mm.
193*2*5.5 mm3*2*5.5 mm
205mm x 77.3 x 8mm5mm x 77.3 x 8mm
213 mm x 2mm x 5.5 mmI would like it to be==>3 mm x 2mm x 5.5 mm
2212mm*5mm*6mm6mm*12mm*5mm
2312x5x6 mm.5x6 x12mm.
243*2*5.5 mm3*2*5.5 mm
255mm x 77.3 x 8mm5mm x 77.3 x 8mm
264 mm x 2mm x 5.5 mm4 mm x 2mm x 5.5 mm
2712mm*5mm*6mm12mm*5mm*6mm
2812x5x6 mm.12x5x6 mm.
293*2*5.5 mm3*5.5*2 mm
305mm x 77.3 x 8mm5mm x 77.3 x 8mm
315 mm x 2mm x 5.5 mm5 mm x 2mm x 5.5 mm
3212mm*5mm*6mm12mm*5mm*6mm
Sheet1
 
Hi, Tony.
Your lastest code work perfect . Thank you for your kind support my problem . I hope that I will recieve some advice from you in the future. Thanks alot Tony.

VN.


Hi, Agihcam
I 'm not run your code yet. I will try it.However , Thank you for your advice.

VN
:biggrin:
 
Upvote 0

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
Hi,

If I would like to add other sign to this code . How can I do ?

I mean that If I have another sign in my data ( in the futer) such as - or / ..etc…


Thank you.
 
Upvote 0
Hi

Change the 2 lines

fs.Pattern = "[^0-9*x.]"

fs.Pattern = "[x*]"


The first one is to show the characters you want to keep, and the second is for the characters you want to convert to "x"


Tony
 
Upvote 0

Forum statistics

Threads
1,214,827
Messages
6,121,817
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