Share via

Converting Custom Date to Text

Anonymous
2016-02-12T21:02:48+00:00

I have a column of dates in my spreadsheet.  I custom formatted them to YYYYMMDD, but now I want to take that date format and convert it to text.  When I simply select Text for that field, it converts the dates to numerical dates (i.e., 2/17/2015 turns into 42052).  I want it to keep its format, but as a text field.  Is there any formula to convert an already formatted date field to a text field without losing its formatting integrity?

I'd appreciate any help on this issue.

Microsoft 365 and Office | Excel | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

3 answers

Sort by: Most helpful
  1. Anonymous
    2016-02-12T21:45:27+00:00

    Select the dates.

    Data>Text to Columns>Next>Next>Column Format...choose Text>OK

    With cells still selected Copy>Paste Special>Value>OK>Esc

    Gord

    3 people found this answer helpful.
    0 comments No comments
  2. Anonymous
    2016-02-12T22:03:55+00:00

    Missed the YYYYMMDD part.

    Got zeroed in on 2/17/2015

    Ignore my offerings please.

    Gord

    1 person found this answer helpful.
    0 comments No comments
  3. Anonymous
    2016-02-12T21:32:05+00:00

    Dates in Excel are number: they are the serial number of the date starting with 0 at 1900.

    Formatting does not change how a date is stored, it only changes the way it is displayed.

    If B1 has a date (of any format) then the formula =TEXT(B1,"yyyymmdd") will display that date as text in the form yyyymmdd.

    best wishes

    1 person found this answer helpful.
    0 comments No comments