Convert General to Date format

SimonHughes

Active Member
Joined
Sep 16, 2009
Messages
452
Office Version
  1. 365
Platform
  1. Windows
Hello, I have downloaded some data but the dates, shown as 02/02/2017 etc are formatted as "general".
Is there a way to change this to "short date" format?

Many thanks
 

Excel Facts

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".
You can use Text to columns to convert them to real dates.
Select the column of dates, text to columns, delimited, next, clear all check boxes, next, against date select the format the dates are in (not the format you use), finish.
 
Upvote 0
If they show as "02/02/2017", even when they are formatted as General, it means that the entries are actually Text, and not valid Date entries.
You can convert them to Dates by selecting the column, going to "Text to Columns" (found on the Data menu), going to the third step and select the Date radio button with the appropriate order of the date (either MDY or DMY; I cannot tell from your example whether month comes first or day comes first), then clicking Finish.

After this, your values will probably appear as large integers. This is how Excel stores dates (the number of days since 1/0/1900).
Just change the column to your "Short Date" format, and you should be all set.
 
Upvote 0
If they show as "02/02/2017", even when they are formatted as General, it means that the entries are actually Text, and not valid Date entries.
You can convert them to Dates by selecting the column, going to "Text to Columns" (found on the Data menu), going to the third step and select the Date radio button with the appropriate order of the date (either MDY or DMY; I cannot tell from your example whether month comes first or day comes first), then clicking Finish.

After this, your values will probably appear as large integers. This is how Excel stores dates (the number of days since 1/0/1900).
Just change the column to your "Short Date" format, and you should be all set.

Thanks for the answer, dates are DMY. The text to columns function is splitting the data into three columns so I am a bit perplexed.
 
Upvote 0
Thanks for the answer, dates are DMY. The text to columns function is splitting the data into three columns so I am a bit perplexed.
It sounds like you are choosing "/" as the delimiter. We don't actually want the data split in this case, so we don't want to do this.
Choose something else that is NOT found in the data for your delimiter, like a comma.
 
Upvote 0
The text to columns function is splitting the data into three columns
That suggests you did not clear all the checkboxes on page two of the wizard. It also suggests you have something other than the dates in that column.
 
Upvote 0

Forum statistics

Threads
1,215,012
Messages
6,122,682
Members
449,091
Latest member
peppernaut

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