+ Reply to Thread
Results 1 to 3 of 3

Please, help me to list item from A column to D

  1. #1
    Forum Contributor
    Join Date
    03-04-2015
    Location
    Jakarta
    MS-Off Ver
    15
    Posts
    154

    Please, help me to list item from A column to D

    I want to make a list from A value to D. A value separated by ";" or new row. So, the result on D is separated by row. Please, look at the pic.
    make a list.png
    Last edited by putritersenyum; 02-15-2017 at 06:41 AM.

  2. #2
    Registered User
    Join Date
    08-10-2012
    Location
    Derby, England
    MS-Off Ver
    2010 (Work) / 2016 (365) (Home)
    Posts
    14

    Post Re: Please, help me to list item from A column to D

    Hi,

    So I will restate the problem how I interpret it, and then suggest a solution that solves it.

    Problem: You have various cells populated in column A, each containing a list of items separated by semi-colons. You require in column D a new list, either in traditional spreadsheet format (one item per row) or separated by semi-colons, which is an amalgamated list with duplicates removed.

    Solution: Step by step
    1. In cell B1 (or wherever else you may find appropriate), insert the formula:
      Formula: copy to clipboard
      Please Login or Register  to view this content.
    2. Copy B1 and Paste Values into B2
    3. With cell B2 selected, go to Data --> Data Tools --> Text to Columns
    4. Going through the wizard pages ([N] = Next): select Delimited[N]; then Other and type a semi-colon ensuring the rest are unticked[N]; then make the destination $F$1; and click Finish
    5. Select F1:?1 (wherever the list ends), copy it and Paste Transpose into D1, then delete F1:?1
    6. Select D1:D?? (wherever the list ends) and go to Data --> Data Tools --> Remove Duplicates and click OK
    7. If you need it in a semi-colon-separated format, find a cell and recreate the formula in step 1 for every cell in the new list

    I hope that solution makes sense, but I'm happy to give further clarification if it doesn't. If you require a solution that works purely on formulae, let me know and I will give it a go, but be warned, it will be complex because removing duplicates with formulae is particularly awkward.

    ---
    Bernieburnham

  3. #3
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Please, help me to list item from A column to D

    you can try:
    1.
    Copy code to code window of your sheet (copy code, right click on tab and select View Code, paste code, close MS VBA)
    Please Login or Register  to view this content.
    2.
    Select your cell with the string
    use Alt+F8 (it will open macro window)
    select Vertical and click Run

    hope it will help
    Last edited by sandy666; 02-15-2017 at 08:52 AM. Reason: typo

+ 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. Replies: 4
    Last Post: 09-12-2015, 04:34 AM
  2. Replies: 1
    Last Post: 02-03-2015, 01:23 AM
  3. [SOLVED] Comparing each item in column? to a list in column?, color both cells if same
    By JamesJohnson31 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-14-2014, 02:12 PM
  4. [SOLVED] Code to remove item form list box
    By Nitefox in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 3
    Last Post: 12-25-2013, 04:29 PM
  5. [SOLVED] Select 1st item in a List box in a User form?
    By Aland2929 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-09-2013, 11:23 AM
  6. Replies: 5
    Last Post: 05-17-2012, 10:51 PM
  7. linking a list item or text item in a user form to a worksheet
    By ravergirl7216 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 08-03-2010, 03:43 AM

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