+ Reply to Thread
Results 1 to 5 of 5

Concatenate

  1. #1
    Registered User
    Join Date
    12-02-2008
    Location
    Nashville
    Posts
    26

    Concatenate

    I am wanting to take this 7020T and create a formula to make it this 7020_T Here is the formula I was using but what place holders do I need to put in the formula to make it concatenate after the fourth number =IF(AB2="","",CONCATENATE("_",AB2))

  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,733

    Re: Concatenate

    If it is always after the 4th number (i.e. the format is always 4 numbers followed by a letter), then you could do this:

    =IF(AB2="","",LEFT(AB2,4)&"_"&RIGHT(AB2))

    If your format can vary then you need to give further examples of your range of starting values.

    Hope this helps.

    Pete

  3. #3
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Concatenate

    Try

    =REPLACE(AB2,5,0,"_")
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  4. #4
    Registered User
    Join Date
    12-02-2008
    Location
    Nashville
    Posts
    26

    Re: Concatenate

    Thank Pete that worked great!

  5. #5
    Registered User
    Join Date
    12-02-2008
    Location
    Nashville
    Posts
    26

    Re: Concatenate

    Thank you both!

+ 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