Removing ">" between unknown numbers

leroylove87

New Member
Joined
Aug 2, 2010
Messages
7
Hi all,

Looked hi and low, but cant find an answer anywhere.

I have 16000 entries containing "?? > ?? >"
(?? being unknown numbers)
I need to remove the second ">" whilst keeping the one between the two number groups, therefore becoming "?? > ??"

Below is an example:

<table style="border-collapse: collapse; width: 447pt;" width="596" border="0" cellpadding="0" cellspacing="0"><col style="width: 447pt;" width="596"> <tbody><tr style="height: 15pt;" height="20"> <td style="height: 15pt; width: 447pt;" width="596" height="20">K&N Alfa Romeo 33 90 > 94 > Replacement Filter (33-2096)</td> </tr> <tr style="height: 15pt;" height="20"> <td style="height: 15pt;" height="20">K&N Alfa Romeo 33 86 > 94 > Replacement Filter (33-2096)</td> </tr> <tr style="height: 15pt;" height="20"> <td style="height: 15pt;" height="20">Pipercross - Alfa Romeo 33 1.8 TD 86 > 94 > PP1214</td> </tr> <tr style="height: 15pt;" height="20"> <td style="height: 15pt;" height="20">Pipercross - Alfa Romeo 33 1.7 i.e. 4x4 88 > 92 > PP1214</td> </tr> <tr style="height: 15pt;" height="20"> <td style="height: 15pt;" height="20">Pipercross - Alfa Romeo 33 1.7 i.e. 88 > 94 > PP1214</td> </tr> <tr style="height: 15pt;" height="20"> <td style="height: 15pt;" height="20">Pipercross - Alfa Romeo 33 1.7 16v 4x4 90 > 94 > PP1214
</td></tr></tbody></table>
Any ideas?

Thanks in advance
 

Excel Facts

Will the fill handle fill 1, 2, 3?
Yes! Type 1 in a cell. Hold down Ctrl while you drag the fill handle.
Yeah, Barry's is better - I knew there was a way to get rid of the extra space in the middle, but had forgotten it was TRIM.
 
Upvote 0
Try :-
Code:
[COLOR="Navy"]Sub[/COLOR] MG16Sep40
[COLOR="Navy"]Dim[/COLOR] Rng [COLOR="Navy"]As[/COLOR] Range, Dn [COLOR="Navy"]As[/COLOR] Range
[COLOR="Navy"]Set[/COLOR] Rng = Range(Range("A1"), Range("A" & Rows.count).End(xlUp))
[COLOR="Navy"]For[/COLOR] [COLOR="Navy"]Each[/COLOR] Dn [COLOR="Navy"]In[/COLOR] Rng
    Dn.Characters(InStrRev(Dn, ">"), 1).Text = ""
[COLOR="Navy"]Next[/COLOR] Dn
[COLOR="Navy"]End[/COLOR] [COLOR="Navy"]Sub[/COLOR]
Regards Mick
 
Upvote 0

Forum statistics

Threads
1,213,565
Messages
6,114,337
Members
448,568
Latest member
Honeymonster123

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