Scatted military time entries missing "0" Digits in CSV

trentdowd

New Member
Joined
Dec 29, 2019
Messages
11
Office Version
  1. 365
Platform
  1. Windows
Hi Guys,
The goal is to have one clean row of Time entries.
After many attempts at trying to solve this problem I am now here seeing if anyone else has some bright ideas.

Very simple problem that needs a fresh solution if there exists. I have CSV with thousands of faulty time entries that are missing a 0 or two messing up how they will be viewed. All is not lost though as there is a pattern to the missing zeros- that being any Zero to the left of the right digit in HH/MM/SS format has been erased.

better explaining - the fault happens when time entry should say - 19:32:06

but in the CSV it will be reproduced as 19:32:6

Or 00:06:02

but in the CSV it will be reproduced as 0:6:2

This problem is further exacerbated by the fact that the faulty entries are scattered across the sheet.

My only method successful method is splitting the entries into different cells but I would still have to manually move each faulty number into the correct column and then fill column with the missing zero one by one.

I then thought my main problem in this solution i have created is not being able to highlight the correct cells that need simply shifting to the right. If I could do this easily then shifting them at the same time... would save time, then i could flash fill the appropriate cells with zeros. but this has proved unsuccessful.

I did try kutools reverse selection feature, but that did not work for what i'm trying to do.
Can someone point me in the right direction or provide help to solve this conundrum, failing a new solution I will have to manually, carefully sort the CSV and that might be a few days work at best. I have provided a file for anyone to mess about with if you need it-

Many thanks


 

Attachments

  • 7885_timesortout_-_Excel-2019-12-29_22-43-35_.jpg
    7885_timesortout_-_Excel-2019-12-29_22-43-35_.jpg
    104.7 KB · Views: 7
... the only way that "error" occurred is if you were pointing at the wrong cell. Your formula must have been pointing at a cell with 12:53:27 (i.e. your very first date example), and not at the cell with 13:27:3
I see, is see- Many thanks in your efforts in helping me Glen!
 
Upvote 0

Excel Facts

Wildcard in VLOOKUP
Use =VLOOKUP("Apple*" to find apple, Apple, or applesauce

Forum statistics

Threads
1,214,832
Messages
6,121,851
Members
449,051
Latest member
excelquestion515

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