Date format

Glenn

Active Member
Joined
Sep 20, 2003
Messages
325
Hi,

I'm trying to convert dates to text format using this:
Code:
=MONTH(A1)&"/"&DAY(A1)&"/"&YEAR(A1)
This makes the date in this format 5/1/2005 for 1st May 2005.

How can I make it into this format please: 05/01/2005

Cheers Glenn
 

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".
Thanks anthonya but they are in text format.

In A1 for example I have 05/01/2005 mm/dd/yyyy in date format (yes - I can format this as any date format).

I want to cut and paste that date into a txt document.

To do this I converted it to text format in another cell using the above formula but it comes out as m/d/yyyy.

Cheers Glenn
 
Upvote 0

Forum statistics

Threads
1,214,897
Messages
6,122,148
Members
449,066
Latest member
Andyg666

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