+ Reply to Thread
Results 1 to 5 of 5

Taking 6 Text Cells and combining into 1 consolidated cell

Hybrid View

  1. #1
    Registered User
    Join Date
    06-09-2009
    Location
    -
    MS-Off Ver
    Excel 2003
    Posts
    11

    Exclamation Taking 6 Text Cells and combining into 1 consolidated cell

    Hello All,
    I have a Consolidated list that pulls various values from Tabs 1-111

    The column i am currently working on needs to pull the following:

    Cells: E139,E140,E141,E142,E143,E144,E145 ((E139:E145) which all contain text))

    In the column i am working on i need each individuals cell "value/text" to be seperated with a comma or semi-colon and consolidated into one cell.

    e.g. if the values were:
    E139 = One
    E140 = Two
    E141 = Three
    etc

    the cell i need, would display: One; Two; Three

    I am currently using ='01'!E139+'01'!E140+'01'!E141 etc (e.g. referring to File Tab 1 and cells E139:E145, but it doesnt work as they are text values rather than numbers i suppose.

    This worksheet also needs to be sorted a number of times. Therefore i believe indirect wouldnt work as sorting with indirect has given me a number of problems in the past.

    Any suggestions, much appreciated.

  2. #2
    Forum Contributor mewingkitty's Avatar
    Join Date
    09-29-2008
    Location
    Fort McMurray, Alberta, Canada
    MS-Off Ver
    Excel 2003
    Posts
    949

    Re: Taking 6 Text Cells and combining into 1 consolidated cell

    You can use the & symbol
    ie
    =a1&","&a2&","
    Or you can post a sample workbook and I can make something that'll do it permanently with vba. Whatever works for ya.
    =IF(AND(OR(BLONDE,BRUNETTE,REDHEAD),OR(MY PLACE,HER PLACE),ME),BOW-CHICKA-BOW-WOW,ANOTHER NIGHT ON THE INTERNET)

  3. #3
    Forum Contributor
    Join Date
    01-09-2009
    Location
    Cedar Hill, Tx
    MS-Off Ver
    Excel 2003
    Posts
    200

    Re: Taking 6 Text Cells and combining into 1 consolidated cell

    Try using "&" rather than "+".

    HTH.

    Bob

  4. #4
    Registered User
    Join Date
    06-09-2009
    Location
    -
    MS-Off Ver
    Excel 2003
    Posts
    11

    Exclamation Re: Taking 6 Text Cells and combining into 1 consolidated cell

    Thanks bstubbs,
    the & worked a treat, however, how would i add a "space", "comma" or semi-colon" to define the end of each cell and the start of a new one

    Therefore, at the moment using:

    ='01'!$E$139& '01'!$E$140& '01'!$E$141& '01'!$E$142& '01'!$E$143& '01'!$E$144& '01'!$E$145

    But need a semi colon and space to seperate each cell..

    Thanks again all

  5. #5
    Forum Expert
    Join Date
    12-10-2006
    Location
    Sydney
    MS-Off Ver
    Office 365
    Posts
    3,565

    Re: Taking 6 Text Cells and combining into 1 consolidated cell

    Hi sdaddy,

    Try this:

    ='01'!$E$139& "; "&'01'!$E$140& "; "&'01'!$E$141& "; "&'01'!$E$142& "; "&'01'!$E$143& "; "&'01'!$E$144& "; "&'01'!$E$145
    HTH

    Robert
    ____________________________________________
    Please ensure you mark your thread as Solved once it is. Click here to see how
    If this post helps, please don't forget to say thanks by clicking the star icon in the bottom left-hand corner of my post

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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