Hi Everybody,
I've gone through multiple forums and exhausted Google search for this question. I often find that deleting the last x characters is no problem, but I have a formatting issue with my data.
Version: Excel 2010
OS: Windows XP
I want to go through column B and delete the last 8 characters in the string if they contain " x". Where x can be any single digit number. There are 7 spaces in that blank spot before x. It is quite cumbersome to go through all the iterations for find & replace is there a more intelligent way to do this via macro? I'd like to also make a note that the cells without " x" the formatting is tricky to deal with because if put into text form it displays as a number between 0 and 1 (ex. 0.583). So I want to remove the last 8 digits & correctly format the time if " x" exists.
I don't think I can upload the file here, so please private message me if you can help! Or if you don't need the file post here!
Example of file
Oh I used HTML code but its only to highlight the example.
Thanks in advance
-ssshah
I've gone through multiple forums and exhausted Google search for this question. I often find that deleting the last x characters is no problem, but I have a formatting issue with my data.
Version: Excel 2010
OS: Windows XP
I want to go through column B and delete the last 8 characters in the string if they contain " x". Where x can be any single digit number. There are 7 spaces in that blank spot before x. It is quite cumbersome to go through all the iterations for find & replace is there a more intelligent way to do this via macro? I'd like to also make a note that the cells without " x" the formatting is tricky to deal with because if put into text form it displays as a number between 0 and 1 (ex. 0.583). So I want to remove the last 8 digits & correctly format the time if " x" exists.
I don't think I can upload the file here, so please private message me if you can help! Or if you don't need the file post here!
Example of file
HTML:
13:15 1
13:30
13:45
14:00
14:15
14:30 7
14:45 3
Oh I used HTML code but its only to highlight the example.
Thanks in advance
-ssshah
Last edited: