+ Reply to Thread
Results 1 to 3 of 3

Date appears as number when add text to the end

  1. #1
    Registered User
    Join Date
    05-02-2014
    Location
    Paris, France
    MS-Off Ver
    Excel 2007
    Posts
    32

    Date appears as number when add text to the end

    I am trying to have my cell show a range of dates, like:
    5/25/14 - 5-27/14

    I'm trying to use a formula like:
    =DATE(2012,5,9) & " - " & DATE(2012,5,9)+2

    But when I do this it just appears as:
    41038 - 41040

    Is there any way to tell excel to format these as dates?
    Last edited by DeeRok; 06-09-2014 at 12:53 PM. Reason: Solved!

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    22,879

    Re: Date appears as number when add text to the end

    Do it like this:

    =TEXT(DATE(2012,5,9),"m/dd/yy") & " - " & TEXT(DATE(2012,5,9)+2,"m/dd/yy")

    Hope this helps.

    Pete

  3. #3
    Registered User
    Join Date
    05-02-2014
    Location
    Paris, France
    MS-Off Ver
    Excel 2007
    Posts
    32

    Re: Date appears as number when add text to the end

    Perfect. Thanks

+ 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. Add the number of times text appears in column
    By paladin7 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 05-09-2014, 06:11 AM
  2. How to count the number of times a date appears in a column
    By smellsgood in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-31-2010, 07:09 AM
  3. How to count the number of times a date appears in a column
    By smellsgood in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-31-2010, 06:35 AM
  4. Counting the number of times a date appears in a list
    By Research RN in forum Excel General
    Replies: 7
    Last Post: 11-25-2008, 12:50 PM
  5. Date Appears As Number
    By Pipestew in forum Excel General
    Replies: 1
    Last Post: 02-11-2008, 12:46 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