+ Reply to Thread
Results 1 to 7 of 7

Single space is to be added just before prefix "("

  1. #1
    Forum Contributor
    Join Date
    03-11-2011
    Location
    Nepal
    MS-Off Ver
    MS Excel 365
    Posts
    1,255

    Single space is to be added just before prefix "("

    Hi,

    I have a list of data in which I have to add a single space just before "(" of B2 and below.A sample is shown at D2.Doing one by one is seems to be troublesome.

    I have mentioned only one data but there might be much more.
    Attached Files Attached Files

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

    Re: Single space is to be added just before prefix "("

    Maybe a formula will do the job:

    =TRIM(SUBSTITUTE(B2,"("," ("))
    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

  3. #3
    Forum Contributor
    Join Date
    03-11-2011
    Location
    Nepal
    MS-Off Ver
    MS Excel 365
    Posts
    1,255

    Re: Single space is to be added just before prefix "("

    I am expecting a macro to do due to large data.

  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 2406
    Posts
    44,427

    Re: Single space is to be added just before prefix "("

    Ooops. I didn't notice that, sorry!!

  5. #5
    Registered User
    Join Date
    06-20-2019
    Location
    Qatar
    MS-Off Ver
    2019
    Posts
    33

    Re: Single space is to be added just before prefix "("

    Quote Originally Posted by Glenn Kennedy View Post
    Maybe a formula will do the job:

    =TRIM(SUBSTITUTE(B2,"("," ("))
    You could do as suggested by Glenn above into say a separate column cell on the same row. Then compy that cell down to all needed rows.
    Then copy the entire result cells back "as Values" back to the original cells.

  6. #6
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,663

    Re: Single space is to be added just before prefix "("

    Please Login or Register  to view this content.

  7. #7
    Forum Contributor
    Join Date
    03-11-2011
    Location
    Nepal
    MS-Off Ver
    MS Excel 365
    Posts
    1,255

    Re: Single space is to be added just before prefix "("

    Quote Originally Posted by jindon View Post
    Please Login or Register  to view this content.
    Thanx it has worked.
    Last edited by paradise2sr; 07-09-2019 at 09:12 AM.

+ 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] "." & a "+" added 2 a table reformatd as text in Word???
    By Dave R. in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 09-06-2005, 03:05 PM
  2. "." & a "+" added 2 a table reformatd as text in Word???
    By Leslie in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 10:05 AM
  3. "." & a "+" added 2 a table reformatd as text in Word???
    By Dave R. in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 09-06-2005, 07:05 AM
  4. "." & a "+" added 2 a table reformatd as text in Word???
    By Dave R. in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-06-2005, 06:05 AM
  5. [SOLVED] "." & a "+" added 2 a table reformatd as text in Word???
    By Dave R. in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 09-06-2005, 04:05 AM
  6. [SOLVED] "." & a "+" added 2 a table reformatd as text in Word???
    By Leslie in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 02:05 AM
  7. [SOLVED] "." & a "+" added 2 a table reformatd as text in Word???
    By Leslie in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-05-2005, 10:05 PM
  8. [SOLVED] "." & a "+" added 2 a table reformatd as text in Word???
    By Leslie in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-14-2005, 02:05 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