Ecel Date Format to Number

  • Thread starter Thread starter joeb
  • Start date Start date
J

joeb

How do I copy a date "03/28/08" in column "A" to paste as text "032808" in
column "B"?
 
The following formula will do the trick, just change the cell address to fit
your requirements:

=TEXT(A1,"mmddyy")

The function converts whatever number is in A1 and then formats the number
according to the format mask argument.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top