+ Reply to Thread
Results 1 to 8 of 8

Change Date Format to Text Format

  1. #1
    Registered User
    Join Date
    12-20-2007
    Posts
    3

    Change Date Format to Text Format

    Hello!

    I have a list of employees and their birthdates. The birthdates are imported in date format. I need to have them in text format so that I can list them by calendar month.

    Is there a way to do this?

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    Can you show a few examples of what you have and what you want?
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678
    If they are Excel dates, then

    =text(a1, "MMMM")

  4. #4
    Registered User
    Join Date
    12-20-2007
    Posts
    3
    Here is an example:

    March 6, 2004
    September 22, 1962
    January 15, 1996
    December 20, 2000

    I import this into Excel from our payroll database.
    The dates are imported in date format.

    I need to generate a birhtday list, by month and day. The year is not important. This is what I need to see:

    Jan 15
    March 6
    Sept 22
    Dec 20

    When I sort the column with the dates, it sorts by year, month, day.
    When I convert it to text, it sorts it alphabetically.

    Any help would be appreciated.

  5. #5
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    Try:

    =TEXT(A1,"mmm d") were A1 house first date.

    then sort by this column.

  6. #6
    Registered User
    Join Date
    12-20-2007
    Posts
    3
    Did it and it sorted alphabetically...so Dec was the first item (because it is now text???)

    I must be missing something here!

  7. #7
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    It worked fine for me...putting Jan at top and Dec at bottom....

    Make sure your "sort by" category is that new column and that when it asks if you want to sort what looks like numbers as numbers, you say Ok.

    also, try this...

    after initiating the Sort window click Options, then in the " first key sort order" drop down select the one with months (e.g. Jan, Feb, Mar...). Then click Ok.

  8. #8
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678
    If you want to sort my date irrespective of year, then add this formula and sort by the column that contains it:

    =DATE(0, MONTH(A1), DAY(A1))

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1