Harmonize date format

  • Thread starter Thread starter rgoubet
  • Start date Start date
R

rgoubet

Hi,

I export from an application csv reports for treatment in Excel.
However, the dates appearing in the CSV have can have several different
format, e.g.:

mm/dd/yyyy hh:mm
mm.dd.yyyy hh:mm

Is there a way to programmatically harmonize the date formats in a
selected range?

Thanks.

Raph
 
Maybe you could record a macro when you try to get all the variations into one
category.

Select the range to fix
and edit|replace
what: . (dot)
with: / (slash)
replace all

Maybe a few mass changes would make all your entries consistent.

You may find that this actually changed the cells to dates and times.

(And if the original entries with slashes are text, just
edit|replace
what: / (slash)
with: / (slash)
replace all.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top