+ Reply to Thread
Results 1 to 4 of 4

Adding the same sympols within a text in various cells

Hybrid View

  1. #1
    Registered User
    Join Date
    10-02-2013
    Location
    London, UK
    MS-Off Ver
    Excel 365
    Posts
    42

    Question Adding the same sympols within a text in various cells

    Hello,

    I have a list of part numbers in excel at the following format:
    B154789254695
    B254698536221
    B256365214455

    I would like to ask, how can I get this list, in the following format (by adding ".", " (space)" and "-"):
    B.15 47892546-95
    B.25 46985362-21
    B.25 63652144-55

    Is there any way to do that?
    Thanks in advance!

  2. #2
    Valued Forum Contributor TheCman81's Avatar
    Join Date
    11-06-2012
    Location
    Edinburgh, UK
    MS-Off Ver
    Excel 2003, 2007, 2010, 2013
    Posts
    346

    Re: Adding the same sympols within a text in various cells

    Assuming they are all in the same format as your post

    =REPLACE(REPLACE(REPLACE(A2,2,0,"."),5,0," "),14,0,"-")
    Excel Guru in the making

    <----------If the question has been answered to your satisfication please click the Add Repuation star to the left

  3. #3
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Adding the same sympols within a text in various cells

    Dutch
    =LINKS(A1;1)&"."&RECHTS(LINKS(A1;3);2)&" "&DEEL(A1;4;8)&"-"&RECHTS(A1;2)
    Englisch
    =LEFT(A1,1)&"."&RIGHT(LEFT(A1,3),2)&" "&MOD(A1,4,8)&"-"&RIGHT(A1,2)
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  4. #4
    Registered User
    Join Date
    10-02-2013
    Location
    London, UK
    MS-Off Ver
    Excel 365
    Posts
    42

    Re: Adding the same sympols within a text in various cells

    Thanks!!!

+ 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. Adding text to the start and end of a cells text in another cell
    By kubelwagon in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 11-29-2013, 06:36 PM
  2. [SOLVED] Adding with text in cells
    By excel is cool in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 11-20-2012, 01:26 PM
  3. Excel 2007 : Adding text to cells
    By Shelfside in forum Excel General
    Replies: 2
    Last Post: 07-15-2011, 10:37 PM
  4. Adding Two Text Cells
    By Sam in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-19-2006, 03:20 PM
  5. RE: Adding two text cells together
    By Jim in forum Excel General
    Replies: 0
    Last Post: 02-24-2005, 05: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