+ Reply to Thread
Results 1 to 7 of 7

Formatting Date to Numbers

Hybrid View

  1. #1
    Registered User
    Join Date
    05-19-2014
    Posts
    3

    Formatting Date to Numbers

    Hello,

    I am wondering if I am able to display dates as text. Example: If I have a date that displays as 5/6/2014 is there anyway I can get it to display as 562014 as text?

  2. #2
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.97 for Mac MS 365
    Posts
    8,701

    Re: Formatting Date to Numbers

    you can format using custom and just remove the "/" which will get you 562014.

    EDIT: it will appear in the cell as that, but will still appear in the formula bar as 5/6/2014 if that is ok.
    Make contributors happy, click on the "* Add Reputation" as a way to say thank you.
    Sam Capricci

  3. #3
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Formatting Date to Numbers

    Misunderstood your problem. Solution offered not appropriate.
    Last edited by newdoverman; 05-21-2014 at 11:38 AM.
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

  4. #4
    Registered User
    Join Date
    01-07-2013
    Location
    England
    MS-Off Ver
    Excel 2007
    Posts
    65

    Re: Formatting Date to Numbers

    Ctrl+H to find and replace then in the find box type / and leave replace box empty. Then replace all.

    Once done select the cells and change the formatting to general.

  5. #5
    Registered User
    Join Date
    05-21-2014
    Posts
    1

    Re: Formatting Date to Numbers

    You can use TEXT the formula --- =TEXT("5/6/2014","mdyyyy"))

    Or if cell A1 is 5/6/2014, use =TEXT(A1,"mdyyyy")
    Last edited by mcouture; 05-21-2014 at 11:43 AM. Reason: correct formulas

  6. #6
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Formatting Date to Numbers

    You don't need to remove anything just format custom mdyyyy and you will get 562014

    or formula

    =SUBSTITUTE(TEXT(A1,"mdyyyy"),"/","")
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  7. #7
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Formatting Date to Numbers

    This will produce the result you want but in another cell:

    Formula: copy to clipboard
    =TEXT(DATE(YEAR(A1),MONTH(A1),DAY(A1)),"dmyyyy")

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Formatting Date to Numbers
    By blanchflower22 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-19-2014, 03:24 PM
  2. [SOLVED] Conditional formatting - formatting the lowest 2 numbers in a list of 12 numbers
    By ktbb0312 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 06-09-2013, 09:59 AM
  3. [SOLVED] Conditional Formatting Formulas for Date, Text and Values/Numbers
    By pblobe in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-09-2013, 12:26 AM
  4. Replies: 9
    Last Post: 03-26-2012, 02:16 PM
  5. Extract Fractional Numbers as Numbers NOT Date
    By MrBill in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 11-03-2005, 03:50 PM

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