+ Reply to Thread
Results 1 to 12 of 12

insert space after a word in cell

  1. #1
    Registered User
    Join Date
    04-18-2013
    Location
    United Kingdom
    MS-Off Ver
    Office 365
    Posts
    90

    insert space after a word in cell

    Hi, I don't know if this is even possible, I have the following information in

    (cell A1) 9 ran TIME 1m 36.75s (slow by 1.45s)*Total SP*116%

    is it possible to get this information into cell A2 but inserting an extra space after the word 'TIME'.

    Thanks.
    Regards,

    Warston.

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

    Re: insert space after a word in cell

    Try this in A2:

    =SUBSTITUTE(A1,"TIME","TIME ")

    Note the space after the second TIME

    Hope this helps.

    Pete

  3. #3
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,893

    Re: insert space after a word in cell

    Try this:
    =SUBSTITUTE(A1,"TIME","TIME ")
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  4. #4
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,893

    Re: insert space after a word in cell

    PeteUK: Snap!!

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

    Re: insert space after a word in cell

    Quote Originally Posted by Glenn Kennedy View Post
    PeteUK: Snap!!
    Yeah, sometimes there is only one solution.

    Pete

  6. #6
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: insert space after a word in cell

    Sometimes there more than one

    =REPLACE(A1,SEARCH("TIME",A1)+LEN("TIME"),," ")
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  7. #7
    Registered User
    Join Date
    04-18-2013
    Location
    United Kingdom
    MS-Off Ver
    Office 365
    Posts
    90

    Re: insert space after a word in cell

    Well done that did work thank you both.
    Now I have another question about the same information. this was pasted from a website and although I cannot see it when pasted, before and after the word time there is a * either side (9ran*TIME* 1m 36.75s (slow by 1.45s)*Total SP*116% can these be removed.

    Thanks again.

    Regards,

    warston.
    Last edited by warston; 03-20-2015 at 11:57 AM.

  8. #8
    Registered User
    Join Date
    04-18-2013
    Location
    United Kingdom
    MS-Off Ver
    Office 365
    Posts
    90

    Re: insert space after a word in cell

    Thank you Alkey that also worked.

    Regards,

    Warston.

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

    Re: insert space after a word in cell

    You can do them both at the same time, like this:

    =SUBSTITUTE(SUBSTITUTE(A1,"TIME","TIME "),"*","")

    Hope this helps.

    Pete

  10. #10
    Registered User
    Join Date
    04-18-2013
    Location
    United Kingdom
    MS-Off Ver
    Office 365
    Posts
    90

    Re: insert space after a word in cell

    Thank you Pete_uk, that works great.

    Regards,

    warston.

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

    Re: insert space after a word in cell

    That's good to hear.

    Please mark the thread as SOLVED if you consider it so.

    Pete

  12. #12
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,893

    Re: insert space after a word in cell

    Thanks for the Reputation!

+ 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. [SOLVED] Loop Through Column B and insert a space in each cell, without deleting the contents.
    By EnigmaMatter in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-01-2014, 10:10 AM
  2. [SOLVED] formula for 'pick out the first word of the cell up until the space'
    By johnandrews in forum Excel General
    Replies: 3
    Last Post: 03-12-2014, 08:51 AM
  3. Insert a 'space' between data in a cell...?
    By ash_the_fish in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 08-10-2009, 04:16 AM
  4. Replies: 13
    Last Post: 05-06-2009, 07:33 AM
  5. [SOLVED] How do I clear blank space at the top of a word-wrapped text cell?
    By mirage1210 in forum Excel General
    Replies: 2
    Last Post: 02-11-2005, 06: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