Find and replace

peterwillmo

New Member
Joined
May 23, 2010
Messages
27
I have a spreadsheet containing 4000+ lines of data created in Excel 2003 and am using the same Excel program to maintain the data on a windows 10 HP computer.

In the spreadsheet there is a column containing Time eg (1024 0916 1533) and want to change this format to 10:24 09:16 15:33. I have tried to select the columnand change the format and also tried find and replace a cell. Neither of thes seem to work the only result being the program crashes. Any sugestions please ?++Peter
 
How would you go about adding a semi colon in the below.

1024 0916 1533 to 10:24 09:16 15:33.
If there are no blank cells and each cell has 3 'times' in it

=REPLACE(REPLACE(REPLACE(A1,13,0,":"),8,0,":"),4,0,":")

If there are blanks or cells with a different number of times, you would need to give details and a representative set of sample data and expected results, not just one.

BTW, they are colons, not semicolons that you have shown inserted. :)
 
Upvote 0

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.
Awesome Thank You

I believe the last Replace Start Number should be a 3 instead of 4.

confused with colon and semicolon :)
 
Upvote 0

Forum statistics

Threads
1,223,909
Messages
6,175,312
Members
452,634
Latest member
cpostell

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