+ Reply to Thread
Results 1 to 6 of 6

Help request to concatenate

  1. #1
    Forum Contributor
    Join Date
    06-29-2014
    Location
    India
    MS-Off Ver
    2010 Windows 10 64 bits
    Posts
    1,269

    Help request to concatenate

    Hi friends,

    I want to concatenate columns in column ‘G’ and ‘O’. In column ‘O’ I want to drop middle name but I’m not getting the correct output as require.

    Any help will be highly appreciated.

    Thanking you,
    Attached Files Attached Files
    Sincerely,

    mso3

  2. #2
    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
    53,048

    Re: Help request to concatenate

    Why not just use a regular formula?
    =TRIM(C9&" "&E9&" "&F9&" "&D9)
    copied down
    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

  3. #3
    Forum Contributor
    Join Date
    06-29-2014
    Location
    India
    MS-Off Ver
    2010 Windows 10 64 bits
    Posts
    1,269

    Re: Help request to concatenate

    Hi Ford,
    Thank you for your suggestion. Actually I have a formula

    Please Login or Register  to view this content.
    and it's working fine but now I want to use vba code to achieve this target and remove formula.

    Any suggestion to avoide the problem please!

  4. #4
    Forum Expert skywriter's Avatar
    Join Date
    06-09-2014
    Location
    USA
    MS-Off Ver
    365 Version 2409
    Posts
    2,789

    Re: Help request to concatenate

    You just need to empty your string before building it for the "O" column.

    Please Login or Register  to view this content.
    Last edited by skywriter; 07-04-2015 at 10:09 PM.

  5. #5
    Forum Contributor
    Join Date
    06-29-2014
    Location
    India
    MS-Off Ver
    2010 Windows 10 64 bits
    Posts
    1,269

    Re: Help request to concatenate

    Hello Skywriter,
    Perfect! It's working fine.

    Thank you and have a nice time.

  6. #6
    Forum Expert skywriter's Avatar
    Join Date
    06-09-2014
    Location
    USA
    MS-Off Ver
    365 Version 2409
    Posts
    2,789

    Re: Help request to concatenate

    My pleasure, thanks for the rep. points.

+ 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. Wait for winhttp request to be done (much like XML http request)
    By JasperD in forum Excel Programming / VBA / Macros
    Replies: 21
    Last Post: 07-23-2015, 09:26 AM
  2. Concatenate Long String Help Request
    By dbsbender in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 11-22-2014, 01:57 PM
  3. Replies: 5
    Last Post: 08-28-2014, 06:01 PM
  4. Replies: 2
    Last Post: 04-12-2010, 12:35 PM
  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

Tags for this Thread

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