+ Reply to Thread
Results 1 to 2 of 2

Adding a colon in a cell between text and a date

  1. #1
    Registered User
    Join Date
    07-03-2013
    Location
    Greensboro, NC
    MS-Off Ver
    Excel 2010
    Posts
    25

    Adding a colon in a cell between text and a date

    So I have a ton of cells with this sort of data format:

    AAD PLP 10/24/2013

    What I need to do is split the cell into two, with the text in one cell and the date in another. The text varies in length so I can't do text to columns. I thought maybe if I could add a colon between the last line of text and the first number in the date it would work, but I don't know how to do that. Any ideas?

    Thanks!

  2. #2
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Adding a colon in a cell between text and a date

    IF the date is always at the end

    =TRIM(MID(A1,1,LEN(A1)-10)
    and
    =TRIM(RIGHT(A1,10)
    Do they work for you?
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

+ 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. Change date into text if <today and adding text if cell isblank... into an Array.
    By JasonNeedsHelp in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-29-2013, 12:06 PM
  2. [SOLVED] Adding a Colon in a text string
    By dwhite30518 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-02-2013, 03:04 PM
  3. adding text to cell when a date is placed in another
    By mmccra2858 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-12-2012, 07:50 PM
  4. Insert colon in text in cell
    By Phoenix in forum Excel General
    Replies: 4
    Last Post: 02-03-2006, 05:25 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