Date Format MM/DD/YYYY

lmcghee

Board Regular
Joined
Jun 7, 2006
Messages
60
Office Version
  1. 365
Platform
  1. Windows
I an using a csv format which requires the date field to be MM/DD/YYYY, but must include all the characters, not just to be formatted to look like that. Currently the only way I can figure to do it is by changing the field to a text field and re-keying the data. This won't work for me for a larger spreadsheet with many dates, so I was hoping someone knew how to take a regular date and make it MM/DD/YYYY without being complicated. Help!
 

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off

Scott Huish

MrExcel MVP
Joined
Mar 17, 2004
Messages
19,961
Office Version
  1. 365
Platform
  1. Windows
Insert a column, and put the following formula:
=TEXT(A1,"mm/dd/yyyy")

Copy down.

Copy and paste special values over the originals.
Delete the column you just put the formula in.
 
Upvote 0

Forum statistics

Threads
1,195,623
Messages
6,010,749
Members
441,567
Latest member
Flitbee

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