+ Reply to Thread
Results 1 to 4 of 4

Find the first two spaces of the string and put "§" before it

  1. #1
    Forum Contributor
    Join Date
    11-12-2007
    Location
    Germany
    MS-Off Ver
    2007
    Posts
    472

    Find the first two spaces of the string and put "§" before it

    Hello everyone,

    which function or formula should I use to put "§" symbol in a string. All the strings are in Column A. The criteris is that "§" should be put once where the two first spaces of the string start. For example:

    Column A:
    µadfaasdf adfadf adsfkjaf adadsjljfa
    µadfaasaas df adfadf adsfkjaf adadsjljfa
    µadfaa sdf adfadf adsfkjaf adadsjljfa
    µadfa asdf adfadf adsfkjaf adadsjljfa
    µadfaa sdf adfadf adsfkjaf adadsjljfa

    The result should be:

    Column B:
    µadfaasdf§ adfadf adsfkjaf adadsjljfa
    µadfaasaas§ df adfadf adsfkjaf adadsjljfa
    µadfaa§ sdf adfadf adsfkjaf adadsjljfa
    µadfa§ asdf adfadf adsfkjaf adadsjljfa
    µadfaa§ sdf adfadf adsfkjaf adadsjljfa


    Thanks for each assistance in advance.
    Last edited by wali; 05-20-2010 at 06:14 AM.

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Find the first two spaces of the string and put "§" before it

    Perhaps:

    B1: =SUBSTITUTE(A1," ","§ ",1)

  3. #3
    Forum Contributor
    Join Date
    11-12-2007
    Location
    Germany
    MS-Off Ver
    2007
    Posts
    472

    Re: Find the first two spaces of the string and put "§" before it

    Thanks alot,
    i am using german version and I translted it but its not working. I think my translation was not correct. Could you please upload an excel file containing the formula? That will be very kind. When i will open your excel file it will automatically be translated correctly.
    thanks

  4. #4
    Forum Contributor
    Join Date
    11-12-2007
    Location
    Germany
    MS-Off Ver
    2007
    Posts
    472

    Re: Find the first two spaces of the string and put "§" before it

    Ok,
    i got it. Now its working. Thanks alot for your help.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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