+ Reply to Thread
Results 1 to 7 of 7

How to convert these cells of text?

  1. #1
    Registered User
    Join Date
    11-25-2010
    Location
    Australia
    MS-Off Ver
    Excel 2007
    Posts
    82

    How to convert these cells of text?

    Hi There,

    I'm looking to convert cells of text like this:

    https://s28.postimg.org/p871paoel/screenshot_4542.png

    Into readable format like:

    https://s30.postimg.org/yvr9mfuox/screenshot_4543.png

    I did that manually, but wondering if there are ways with excel with some magic to do this automatically.

    So combining the text and removing the subtitle time from it.

    I have uploaded the worksheet.

    Cheers,
    Chris
    Attached Files Attached Files

  2. #2
    Forum Expert avk's Avatar
    Join Date
    07-12-2007
    Location
    India
    MS-Off Ver
    Microsoft Office 2013
    Posts
    3,279

    Re: How to convert these cells of text?

    with using =CONCATENATE formula. Like
    PHP Code: 
    =CONCATENATE(A7&" "&A11&" "&A15&" "&A19&" "&A23&" "&A27&" "&A31&" "&A35&" "&A39&" "&A43&" "&A47&" "&A51&" "&A55


    atul


    If my answer (or that of other members) has helped you, please say "Thanks" by clicking the Add Reputation button at the foot of one of their posts.

    Also: if your problem is solved, please take the time to mark your thread as SOLVED by going to the top of your first post, selecting "Thread Tools" and then "Mark thread as solved".

  3. #3
    Forum Contributor
    Join Date
    12-18-2016
    Location
    London
    MS-Off Ver
    Microsoft 2013
    Posts
    145

    Re: How to convert these cells of text?

    The simplest CONCATENATE formula to combine the values of cells A1 and B1 is as follows:

    =CONCATENATE(A1, A2, A3, A4 )

    or

    “&” operator

    =A1 & A2 & A3 & A4

  4. #4
    Registered User
    Join Date
    11-25-2010
    Location
    Australia
    MS-Off Ver
    Excel 2007
    Posts
    82

    Re: How to convert these cells of text?

    Thanks for the suggestions, the CONCATENATE function works but the amount of rows i have is over 1000 (see the attached excel document above)

    So is there a way to CONCATENATE all of them automatically without needing to put row name e.g. (A1, A2, A3, A4) manually in the formula?

    The other one, is there a easy way to remove the subtitle time e.g. 00:00:04 --> 00:00:08 from the output as well?

    Cheers.

  5. #5
    Forum Expert avk's Avatar
    Join Date
    07-12-2007
    Location
    India
    MS-Off Ver
    Microsoft Office 2013
    Posts
    3,279

    Re: How to convert these cells of text?

    In that case using vba macro.
    Last edited by AliGW; 12-28-2016 at 04:01 AM. Reason: Extraneaous quotation removed & typo corrected.

  6. #6
    Registered User
    Join Date
    11-25-2010
    Location
    Australia
    MS-Off Ver
    Excel 2007
    Posts
    82

    Re: How to convert these cells of text?

    Quote Originally Posted by avk View Post
    in that case using vba macro.
    Thanks, do you know of any good examples on how to do this with vba macro?
    Last edited by AliGW; 12-28-2016 at 03:59 AM. Reason: Typo corrected.

  7. #7
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    90,972

    Re: How to convert these cells of text?

    @avk - please don't quote whole posts - it's just clutter. If you are responding to a post out of sequence, limit quoted content to a few relevant lines that makes clear to whom and what you are responding

    For normal conversational replies, try using the QUICK REPLY box below.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

+ 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. Convert Text Dates, Perform Calculation, Convert back to Text
    By Orada in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-13-2012, 05:25 PM
  2. Macro to convert cells to text or value based on date change
    By simpson in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 09-17-2012, 09:47 PM
  3. how do i convert a cells text into date format ?
    By verisme in forum Excel General
    Replies: 2
    Last Post: 01-02-2011, 05:50 AM
  4. Convert text string into cells
    By bitswit in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 12-09-2010, 05:18 AM
  5. [SOLVED] How to convert text to number in cells?
    By ermeko in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-06-2005, 04:06 PM
  6. Convert date cells to text
    By Patou in forum Excel General
    Replies: 3
    Last Post: 04-08-2005, 08:12 AM
  7. How do I convert cells containing formulas to text (value returned
    By Kim in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-28-2005, 05:06 PM
  8. Replies: 3
    Last Post: 01-14-2005, 07:06 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