Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Convert Date to String in Excel 2007

Posted on 2009-05-18
3
Medium Priority
?
1,468 Views
Last Modified: 2012-08-14
How do I convert a date 03/07/1974 to a string in Excel 2007? I would like to keep the leading zero and just have 03071974 ?
0
Comment
Question by:fselliott
3 Comments
 
LVL 59

Accepted Solution

by:
Saurabh Singh Teotia earned 2000 total points
ID: 24415609
You can use the following formula...
=text(a1,"mmddyyyy")
Assuming you enter date in A1 in mm/dd/yyyy format.
Saurabh...
0
 

Author Closing Comment

by:fselliott
ID: 31582741
Worked perfectly!
0
 

Expert Comment

by:Jay
ID: 33950399
I need to do the exact opposite and I'm stumped.

I have a date string "20091128"  that i need converted into "MM/DD/YY"

In excel I can split the cell into three parts, but can't put it back together in the format i want.

any help would be appreciated!  Thanks!
0

Featured Post

NEW Veeam Backup for Microsoft Office 365 1.5

With Office 365, it’s your data and your responsibility to protect it. NEW Veeam Backup for Microsoft Office 365 eliminates the risk of losing access to your Office 365 data.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Ever wonder what it's like to get hit by ransomware? "Tom" gives you all the dirty details first-hand – and conveys the hard lessons his company learned in the aftermath.
In this post, I will showcase the steps for how to create groups in Office 365. Office 365 groups allow for ease of flexibility and collaboration between staff members.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

972 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question