+ Reply to Thread
Results 1 to 2 of 2

Convert cell category from Date to Text, keeping mm/dd/yyyy format

  1. #1
    Registered User
    Join Date
    12-14-2010
    Location
    canada
    MS-Off Ver
    Excel 2010
    Posts
    13

    Convert cell category from Date to Text, keeping mm/dd/yyyy format

    Good afternoon,

    I'm wondering if there is a way to automatically format a cell category from "Date" to "Text" keeping the date structure mm/dd/yyyy?

    I'm automatically converting a txt file to xlsx. Using the "MATCH" formula, I'm trying to link one worksheet to the converted one by matching dates. The problem is the converted file keeps all cell formats as "General".

    I'm trying to compare today's date using =Today() to the date in the converted file but the converted file's date is general and mm/dd/yyyy which excel doesn't seem to support. For example, excel knocks a zero off for January 1, 2011 (shows up as 1/1/2011 not 01/01/2011).

    If anyone can show me how to convert today's date to a "Text" category keeping the mm/dd/yyyy format, it would be very much appreciated.

    Thanks for looking

  2. #2
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    Microsoft 365
    Posts
    14,677

    Re: Convert cell category from Date to Text, keeping mm/dd/yyyy format

    You could use TEXT function, i.e.

    =TEXT(TODAY(),"mm/dd/yy")
    Audere est facere

+ 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