ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   get rid of time format w/msec (https://www.excelbanter.com/excel-discussion-misc-queries/6747-get-rid-time-format-w-msec.html)

agenda9533

get rid of time format w/msec
 
i have data column with the following format- 04:01:59:22
which means hh:mm:ss:msms
I want to get rid of msec. They dont allow to import this csv to access db.
How to convert hh:mm:ss:msms to hh:mm:ss ????????????????????

THANK YOU!!


Carole O

Highlight the data column with the time format. Go to Format, Cell, Number,
Custom, and select h:mm:ss. Go up to Type (just above your selection) and
change the h to hh.

HTH,



"agenda9533" wrote:

i have data column with the following format- 04:01:59:22
which means hh:mm:ss:msms
I want to get rid of msec. They dont allow to import this csv to access db.
How to convert hh:mm:ss:msms to hh:mm:ss ????????????????????

THANK YOU!!


agenda9533

I tried , but still have 04:01:59:22 there
(expected value is 04:01:59 after formatting ) :-)


"Carole O" wrote:

Highlight the data column with the time format. Go to Format, Cell, Number,
Custom, and select h:mm:ss. Go up to Type (just above your selection) and
change the h to hh.

HTH,



"agenda9533" wrote:

i have data column with the following format- 04:01:59:22
which means hh:mm:ss:msms
I want to get rid of msec. They dont allow to import this csv to access db.
How to convert hh:mm:ss:msms to hh:mm:ss ????????????????????

THANK YOU!!


Dave Peterson

I'd use Data|Text to columns.
fixed width
Draw a line only before :22

Then chose to skip that field (do not import)



agenda9533 wrote:

i have data column with the following format- 04:01:59:22
which means hh:mm:ss:msms
I want to get rid of msec. They dont allow to import this csv to access db.
How to convert hh:mm:ss:msms to hh:mm:ss ????????????????????

THANK YOU!!


--

Dave Peterson

agenda9533

Cool!
Very helpful!
Thank you so much for your help in discovering Excel!

"Dave Peterson" wrote:

I'd use Data|Text to columns.
fixed width
Draw a line only before :22

Then chose to skip that field (do not import)



agenda9533 wrote:

i have data column with the following format- 04:01:59:22
which means hh:mm:ss:msms
I want to get rid of msec. They dont allow to import this csv to access db.
How to convert hh:mm:ss:msms to hh:mm:ss ????????????????????

THANK YOU!!


--

Dave Peterson



All times are GMT +1. The time now is 12:51 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com