+ Reply to Thread
Results 1 to 5 of 5

Concatenate Cells with 1st set of Cell text left justified and 2nd set right justified

  1. #1
    Registered User
    Join Date
    07-25-2010
    Location
    Blue Springs, MO
    MS-Off Ver
    Excel 2007
    Posts
    22

    Concatenate Cells with 1st set of Cell text left justified and 2nd set right justified

    Is it possible to combine 2 cells containing text of varying length into a text string within a cell with the text LEFT justified, then repeat the same cell combination into another text string within the SAME cell with the 2nd text string RIGHT justified with the space between the 2 text strings absorbing the varying space due to the varied length of text from my original cells.

    I am trying to essentially create 2 semi-identical columns on a printed label so that I can cut the label in half and use both halves with the alignment of the right half of the label being fairly consistent if not even.

    The formula I am using now with a static about of space padded in:

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


    Thanks,

    Steve Brosnan
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    07-25-2010
    Location
    Blue Springs, MO
    MS-Off Ver
    Excel 2007
    Posts
    22

    Re: Concatenate Cells with 1st set of Cell text left justified and 2nd set right justified

    File didn't upload with original post (or at least I can't see it)

    Thanks for taking a look!

    Steve Brosnan
    Attached Files Attached Files

  3. #3
    Forum Expert tigeravatar's Avatar
    Join Date
    03-25-2011
    Location
    Colorado, USA
    MS-Off Ver
    Excel 2003 - 2013
    Posts
    5,361

    Re: Concatenate Cells with 1st set of Cell text left justified and 2nd set right justified

    Why not split the result into 2 different cells and align the columns as desired? If you just need it for printing, this should give the desired result.
    Hope that helps,
    ~tigeravatar

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  4. #4
    Forum Expert tigeravatar's Avatar
    Join Date
    03-25-2011
    Location
    Colorado, USA
    MS-Off Ver
    Excel 2003 - 2013
    Posts
    5,361

    Re: Concatenate Cells with 1st set of Cell text left justified and 2nd set right justified

    tradersteve,

    Attached is a modified version of your posted sample file that has been adjusted per my suggestion
    Last edited by tigeravatar; 04-30-2013 at 05:54 PM.

  5. #5
    Registered User
    Join Date
    07-25-2010
    Location
    Blue Springs, MO
    MS-Off Ver
    Excel 2007
    Posts
    22

    Re: Concatenate Cells with 1st set of Cell text left justified and 2nd set right justified

    I am unable to split combined cell because the label printer (only prints labels) takes the 4 Excel cells that I select horizontally and prints them as 4 rows on the label. Splitting them causes 5 rows of data on my labels instead of 4. (and my text to be smaller).

    Thanks though. Also your method of pulling my data to the cells is much more elegant than the way I did it and I will be using that in the future as I need to repeat this process for 4 additional workbooks.

+ 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