How to delete specific list of words in a column

new2world

New Member
Joined
Apr 16, 2011
Messages
46
Hello,

i need to know is there any method to replace or remove list of words from a column

example

95.168.183.244:3128
195.56.32.133:3128
173.3.243.226:11772
71.57.148.111:2010
69.251.1.62:1841
24.1.73.3:1774
67.189.173.51:1035
69.174.244.77:9050
76.22.161.245:1868


i want to replace or delete everything after this :
i.e 3128 , 11772,2010 etc

i have a huge list of this and i want to know how to delete everything after this :

is there any macro for this i can not use find and replace in this as there is a huge list of numbers to be replace

thanks
waiting for reply
 

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.
Try like this

Excel Workbook
AB
195.168.183.244:312895.168.183.244:
2195.56.32.133:3128195.56.32.133:
3173.3.243.226:11772173.3.243.226:
471.57.148.111:201071.57.148.111:
569.251.1.62:184169.251.1.62:
624.1.73.3:177424.1.73.3:
767.189.173.51:103567.189.173.51:
869.174.244.77:905069.174.244.77:
976.22.161.245:186876.22.161.245:
Sheet5
 
Upvote 0
Hi,


Select Range > Hit Ctrl + H > Find what: ":*" (without quotes) > Replace with: ":" (without quotes)

HTH
 
Upvote 0

Forum statistics

Threads
1,224,574
Messages
6,179,629
Members
452,933
Latest member
patv

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