+ Reply to Thread
Results 1 to 5 of 5

Combine text

  1. #1
    Registered User
    Join Date
    05-04-2009
    Location
    london
    MS-Off Ver
    Excel 2003
    Posts
    33

    Combine text

    hi

    Please look at the excel file. the top is the original, the bottom is what I'd like to get (cells with bold characters). How can I do this using macro?
    I need to combine the text in the "invoice" column and put them next to each other. when the length of the combination is more than 15 characters, it should be "payments" instead.

    Thank you much

    Luke
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    01-15-2007
    Location
    Brisbane, Australia
    MS-Off Ver
    2007
    Posts
    6,591

    Re: Combine text

    Luke

    I've fixed the range as you have the output data below the original so you may want to change that range to be dynamic.

    Please Login or Register  to view this content.
    rylo

  3. #3
    Registered User
    Join Date
    05-04-2009
    Location
    london
    MS-Off Ver
    Excel 2003
    Posts
    33

    Re: Combine text

    much appreciated! that was so quick.

  4. #4
    Registered User
    Join Date
    05-04-2009
    Location
    london
    MS-Off Ver
    Excel 2003
    Posts
    33

    Re: Combine text

    sorry I'm new at this.. How do I change the range to be dynamic?

  5. #5
    Forum Expert
    Join Date
    01-15-2007
    Location
    Brisbane, Australia
    MS-Off Ver
    2007
    Posts
    6,591

    Re: Combine text

    Hi

    Assuming that you can use column A to determine your range end, then change

    Please Login or Register  to view this content.
    to

    Please Login or Register  to view this content.
    rylo

+ 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