Date format

rae30

Board Regular
Joined
May 27, 2002
Messages
147
I have a data dump that I have to format in Excel and I'm having difficulty formatting the date.

For example 01/05/2015 formats to Jan 5th 2015, however it should be May 1st. How do I fix this.
 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)

AlphaFrog

MrExcel MVP
Joined
Sep 2, 2009
Messages
16,473
I have a data dump that I have to format in Excel and I'm having difficulty formatting the date.

For example 01/05/2015 formats to Jan 5th 2015, however it should be May 1st. How do I fix this.

Are you importing the data from a CSV or text file of some sort? If yes, how are you doing it?
 
Upvote 0

gaz_chops

Well-known Member
Joined
Apr 29, 2003
Messages
6,485
Platform
  1. MacOS
ADVERTISEMENT
the 01/05/2015 is clearly mm/dd/yyyy

so jan 5th 2015 is correct

I would disagree, it is clearly dd/mm/yyyy so therefore 1st May is correct ;)
 
Upvote 0

rae30

Board Regular
Joined
May 27, 2002
Messages
147
I would disagree, it is clearly dd/mm/yyyy so therefore 1st May is correct ;)

Ummm no. When I say May 1st is the date, it's the date I want. I cut and paste the date from another source into excel, and there are over 2000 lines that I don't fell like manually changing.
 
Upvote 0

gaz_chops

Well-known Member
Joined
Apr 29, 2003
Messages
6,485
Platform
  1. MacOS
ADVERTISEMENT
Umm yes, see Joe4's answer above.
 
Upvote 0

arthurbr

Well-known Member
Joined
Dec 8, 2006
Messages
2,597
Office Version
  1. 365
  2. 2010
Try selecting the range - Data - Text to columns - Next - Next and play with the date format in the last window. Try DMY or MDY, I'm not certain
 
Upvote 0

deletedalien

Well-known Member
Joined
Dec 8, 2008
Messages
505
Office Version
  1. 2013
Platform
  1. Windows
It has to do with your Microsoft regional settings.
If you have the default American settings, it reads short dates as m/d/yyyy
If you have the default European settings, it reads short dates as d/m/yyyy

You can change those settings.
See: https://support.office.com/en-za/ar...ta-types-edf41006-f6e2-4360-bc1b-30e9e8a54989


As an excel user in Mexico i have to Clearly concur with Joe4's answer posted above,

i learned excel using its english version and when i have tried to use excel in spanish (the 2 times that i have) i have had nothing BUT trouble with date formats...
so i always return to the english version for this.

Also arthurbr's answer might be the way to go here

you might need to split your date from your datadump using helper cells and Then concatenate to obtain the correct date format, because you can lie to your self but not to excel..... sorry but that's my honest opinion....
 
Upvote 0

Rick Rothstein

MrExcel MVP
Joined
Apr 18, 2011
Messages
38,154
Office Version
  1. 2019
  2. 2010
Platform
  1. Windows
Select the column with your "dates", call up the "Text To Columns" dialog box (Data tab, Data Tools panel)... select Delimited and press Next twice an select the Date option button (top left section of dialog) and then select DMY from the drop down list... click the Finish button.
 
Upvote 0

Forum statistics

Threads
1,196,013
Messages
6,012,857
Members
441,736
Latest member
Tkpmm

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
Top