+ Reply to Thread
Results 1 to 2 of 2

Combine a text with a date

  1. #1
    Registered User
    Join Date
    12-29-2008
    Location
    Puce, Ontario
    MS-Off Ver
    Excel 2003
    Posts
    5

    Combine a text with a date

    If I have a date in cell A1 (FEB-08)[February 2008] and combine that with a text "LY" and put it into cell A2 to show "LY FEB-08".

    I tried using =CONCATENATE("LY ",A1) or using ="LY "&A1
    both give the same result but not what I wanted. It shows LY 39479 (the date turns into numerical value and not a date).

    Help,
    Tranamal

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Combine a text with a date

    Dates are integers, 39479 being the integer value of your date... you can use TEXT function

    A2: ="LY "&TEXT(A1,"MMM-YY")

    (or you could think of just using a Custom Format: set A2 = A1 ... Custom Format of: "LY" MMM-YY)

+ 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