Hello,
I have columns of thousands of numbers and letters combined. I'm trying to do a formula that will check and see if the last 6 characters begins with a "/" character, IF so THEN Substitute it with a "-" (Hyphen).
My data has a lot of "/" (backslashes) so the formula has to check only the last six characters.
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]{I have this}[/TD]
[TD]{I want this}[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]hi/friends[/TD]
[TD]hi/friends[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]/99996[/TD]
[TD]-99996[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]lots/of/text/here/73335[/TD]
[TD]lots/of/text/here-73335[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]jon/555/55987[/TD]
[TD]jon/555-55987[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]some/text/no/numbers[/TD]
[TD]some/text/no/numbers[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
I've searched for this issue on the threads and on google. I really have no idea how to even phrase the correct search terms to find what I need.
Thank you in advance.
I have columns of thousands of numbers and letters combined. I'm trying to do a formula that will check and see if the last 6 characters begins with a "/" character, IF so THEN Substitute it with a "-" (Hyphen).
My data has a lot of "/" (backslashes) so the formula has to check only the last six characters.
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]{I have this}[/TD]
[TD]{I want this}[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]hi/friends[/TD]
[TD]hi/friends[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]/99996[/TD]
[TD]-99996[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]lots/of/text/here/73335[/TD]
[TD]lots/of/text/here-73335[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]jon/555/55987[/TD]
[TD]jon/555-55987[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]some/text/no/numbers[/TD]
[TD]some/text/no/numbers[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
I've searched for this issue on the threads and on google. I really have no idea how to even phrase the correct search terms to find what I need.
Thank you in advance.