+ Reply to Thread
Results 1 to 6 of 6

Consolidate variable list into single cell

  1. #1
    Forum Contributor
    Join Date
    08-04-2008
    Location
    West Calder, Scotland
    MS-Off Ver
    365
    Posts
    418

    Consolidate variable list into single cell

    Morning Folk

    I'm looking for a way to consolidate a variable list, which changes daily, into a statement in a single cell.

    The list can contain anywhere between 1 and 80 items,,,

    Please see the attachment

    Many thanks

    JT
    Attached Files Attached Files
    Last edited by JamesT1; 10-27-2011 at 06:09 AM.

  2. #2
    Forum Expert
    Join Date
    09-27-2011
    Location
    Poland
    MS-Off Ver
    Excel 2007
    Posts
    1,312

    Re: Consolidate variable list into single cell

    You can use such code:

    Please Login or Register  to view this content.
    Regards

    tom1977

    If You are satisfied with my solution click the small star icon on the left to say thanks.

  3. #3
    Forum Contributor
    Join Date
    08-04-2008
    Location
    West Calder, Scotland
    MS-Off Ver
    365
    Posts
    418

    Re: Consolidate variable list into single cell

    Tom1977

    That does it,, many thanks for your help, much appreciated

    JT

  4. #4
    Forum Contributor
    Join Date
    08-04-2008
    Location
    West Calder, Scotland
    MS-Off Ver
    365
    Posts
    418

    Re: Consolidate variable list into single cell

    Tom 1977,,,

    sorry one last thing,,, if the list in column B is empty I need cell E3 to be blank

    Thanks

    JT

  5. #5
    Forum Expert
    Join Date
    09-27-2011
    Location
    Poland
    MS-Off Ver
    Excel 2007
    Posts
    1,312

    Re: Consolidate variable list into single cell

    try this

    Please Login or Register  to view this content.

  6. #6
    Forum Contributor
    Join Date
    08-04-2008
    Location
    West Calder, Scotland
    MS-Off Ver
    365
    Posts
    418

    Re: Consolidate variable list into single cell

    tom1977

    Thanks for that,,, didn't quite work,,, I suspect this is due to how I have the equations in column B,, however I referenced cell C2 to the list and tweaked your code to suit,,, and it works for me...... probably not the best way to do it but !!!!...

    Many thanks for your help, and helping me improve my knowledge

    Please Login or Register  to view this content.

+ 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