+ Reply to Thread
Results 1 to 3 of 3

concatenating date and storing as text

  1. #1
    Registered User
    Join Date
    02-01-2013
    Location
    Greensboro, NC
    MS-Off Ver
    Excel 2003
    Posts
    7

    concatenating date and storing as text

    I have several thousand records that have a date stored in a yyyy-mm-dd format like: 1999-11-29
    I need to concatenate this to it: 00:00:00.000 to form: 1999-11-29 00:00:00.000
    stored in a separate column as a text value and ignoring any date formatting... Any ideas greating appreciated!

  2. #2
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: concatenating date and storing as text

    Are the original dates actually real dates, or just Text Strings ?
    Use ISNUMBER(A1) to verify
    TRUE = real date, FALSE = Text String

    If it's a REAL Date
    =TEXT(A1,"yyyy-mm-dd")&" 00:00:00.000"

    If it's a text string
    =A1&" 00:00:00.000"

  3. #3
    Registered User
    Join Date
    02-01-2013
    Location
    Greensboro, NC
    MS-Off Ver
    Excel 2003
    Posts
    7

    Re: concatenating date and storing as text

    Thanks Jonmo1!

+ 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. Concatenating text & date
    By Shadmani in forum Excel General
    Replies: 2
    Last Post: 03-15-2016, 01:08 AM
  2. [SOLVED] checking if a date/date range already exists in 4 other date storing tables
    By adamstarr12 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 12-13-2014, 06:01 PM
  3. Replies: 3
    Last Post: 09-09-2014, 08:29 AM
  4. Concatenating numbers as text and retaining text format
    By Excel_vba in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 01-19-2014, 10:14 PM
  5. Concatenating a Text string with a date - slight problem
    By Barking_Mad in forum Excel General
    Replies: 8
    Last Post: 07-05-2013, 08:32 AM
  6. Storing Information By Date
    By CrazyFileMaker in forum Excel General
    Replies: 3
    Last Post: 04-16-2009, 06:33 AM
  7. [SOLVED] Concatenating Text and Date in a chart series Name box.
    By Richard Buttrey in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 07-27-2006, 08:30 AM

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