+ Reply to Thread
Results 1 to 5 of 5

Concatenate Help

  1. #1
    Forum Contributor
    Join Date
    02-06-2014
    Location
    United States
    MS-Off Ver
    Excel 2013
    Posts
    191

    Concatenate Help

    Hi Everyone,

    Hoping to receive some help.

    I have a column of data, sometimes its 6 Digits, sometimes 5 digits. I want to do a Concatenate on that row and do (D00,A1) ... and so on. However, with the one's that are 5 digits I want to add an extra 0. so it would be D00012345 and D00123456.

    Anyway to create a formula for that?

    Thanks for all your help guys!

  2. #2
    Forum Expert
    Join Date
    08-12-2012
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    5,636

    Re: Concatenate Help

    sorry read it wrong
    use if and LEN formula to concatenate

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Last edited by humdingaling; 05-21-2014 at 11:39 PM.
    If you are satisfied with the solution(s) provided, please mark your thread as Solved.
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  3. #3
    Forum Contributor
    Join Date
    02-06-2014
    Location
    United States
    MS-Off Ver
    Excel 2013
    Posts
    191

    Re: Concatenate Help

    Wow thanks for your help!

    Lifesaver.

  4. #4
    Forum Expert
    Join Date
    08-12-2012
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    5,636

    Re: Concatenate Help

    not a problem
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    i think this one might even be better for you

  5. #5
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,946

    Re: Concatenate Help

    or this...

    =IF(LEN(A1)=5,"D000",D00")&A1
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

+ 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. Replies: 2
    Last Post: 04-12-2010, 12:35 PM
  2. concatenate
    By graemew in forum Excel General
    Replies: 2
    Last Post: 07-30-2007, 05:25 PM
  3. [SOLVED] concatenate
    By jeanette.rimmer in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 03:05 PM
  4. concatenate
    By jeanette.rimmer in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 10:05 AM
  5. [SOLVED] I know how to concatenate ,can one de-concatenate to split date?
    By QUICK BOOKS PROBLEM- in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 07-26-2005, 01: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