Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Convert Date to String in Excel 2007

Posted on 2009-05-18
3
Medium Priority
?
1,466 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

How to get Spreadsheet Compare 2016 working with the 64 bit version of Office 2016
Microsoft has changed the look and feel of Azure AD and Microsoft account sign-in pages so that you will have a more unified look and feel when moving between the two interfaces.
This Micro Tutorial will demonstrate how to create pivot charts out of a data set. I also added a drop-down menu which allows to choose from different categories in the data set and the chart will automatically update.
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…

705 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