+ Reply to Thread
Results 1 to 13 of 13

Pick scattered entries from many columns and order them A-Z in one column

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    03-16-2007
    Location
    Berlin, Germany
    MS-Off Ver
    Excel 2007
    Posts
    202

    Pick scattered entries from many columns and order them A-Z in one column

    Hi guys

    In the attached file, I have a large area of cells (blue), some of which contain words.
    I need a formula or macro which will pick all the entries and group them in one single column (yellow one) without empty lines.
    At the end they have to be ordered A-Z.
    You can use several columns if needed.

    Help would be appreciated... thanx!!
    Attached Files Attached Files

  2. #2
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Pick scattered entries from many columns and order them A-Z in one column

    Please see attached file. Column BL holds combined values and BM holds Sorted

    Is this something you can work with?
    Attached Files Attached Files
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  3. #3
    Forum Contributor
    Join Date
    03-16-2007
    Location
    Berlin, Germany
    MS-Off Ver
    Excel 2007
    Posts
    202

    Re: Pick scattered entries from many columns and order them A-Z in one column

    AlKey, it doesn't work.
    When I delete the blue area and type new entries in a few places, they get collected at the BOTTOM of your right column and in some lines I get #N/A...

  4. #4
    Forum Contributor
    Join Date
    03-16-2007
    Location
    Berlin, Germany
    MS-Off Ver
    Excel 2007
    Posts
    202

    Re: Pick scattered entries from many columns and order them A-Z in one column

    Any help anyone?

  5. #5
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Pick scattered entries from many columns and order them A-Z in one column

    If you delete data in blue area your formulas will show nothing. Formulas do not retain data after it was deleted from the source. Also if you tried to modify formulas remember to re-enter them with using ALT+CTRL+SHIFT key combination as these are array formulas.

  6. #6
    Forum Contributor
    Join Date
    03-16-2007
    Location
    Berlin, Germany
    MS-Off Ver
    Excel 2007
    Posts
    202

    Re: Pick scattered entries from many columns and order them A-Z in one column

    I think you didn't understand me. Please try to delete the blue area (at that moment the formulas will show nothing, of course) and then type again some new entries in several blue cells.
    In the "sorted" column you will get first lots of "#N/A"s and then the entries appear at the bottom of the list.

  7. #7
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Pick scattered entries from many columns and order them A-Z in one column

    Ok, I have replaced the second formula with a dynamic one.

    Please see attache file.
    Attached Files Attached Files

  8. #8
    Forum Contributor
    Join Date
    03-16-2007
    Location
    Berlin, Germany
    MS-Off Ver
    Excel 2007
    Posts
    202

    Re: Pick scattered entries from many columns and order them A-Z in one column

    Now it works! The only problem is, if two entries are exactly the same, there will be an empty line in the list instead of that entry showing up twice...
    If you can fix this too, would be great, otherwise this will do.

  9. #9
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Pick scattered entries from many columns and order them A-Z in one column

    Quote Originally Posted by Hitch75 View Post
    Now it works! The only problem is, if two entries are exactly the same, there will be an empty line in the list instead of that entry showing up twice...
    If you can fix this too, would be great, otherwise this will do.
    Unfortunately I don't have a solution to this right now but I will keep this in mind and hopefully I find one. If nothing else, please don't forget to thank those who helped by clicking on Add Reputation * and please mark thread as "Solved" if your issue has been resolved. (Selecting Thread Tools-> Mark thread as Solved).

  10. #10
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Pick scattered entries from many columns and order them A-Z in one column

    @AlKey
    Please explain the text format "R0000C0000" that you used for the TEXT function. I can't find any reference to this format and don't understand it. Could this possibly by a reference using R1C1 style of cell referencing?
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

  11. #11
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Pick scattered entries from many columns and order them A-Z in one column

    Quote Originally Posted by newdoverman View Post
    @AlKey
    Please explain the text format "R0000C0000" that you used for the TEXT function. I can't find any reference to this format and don't understand it. Could this possibly by a reference using R1C1 style of cell referencing?
    Yes, it is a reference to R1C1. There is more detailed explanation for this given by Marcelo Branco for a formula that features this bit.

    http://www.mrexcel.com/forum/excel-q...ml#post4012074

  12. #12
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Pick scattered entries from many columns and order them A-Z in one column

    @AlKey
    Awesome! Thanks. I have never had cause to use this but who knows

    To eliminate the blanks add one more column and use this ARRAY FORMULA:

    Formula: copy to clipboard
    =IFERROR(INDEX($BM$2:$BM$200,MATCH(1,INDEX((COUNTIF($BN$1:BN1,$BM$2:$BM$200)=0)*($BM$2:$BM$200<>""),0),0)),"")

  13. #13
    Forum Contributor
    Join Date
    03-16-2007
    Location
    Berlin, Germany
    MS-Off Ver
    Excel 2007
    Posts
    202

    Re: Pick scattered entries from many columns and order them A-Z in one column

    Thanks a lot guys!!! It's perfect now.

+ 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: 7
    Last Post: 04-23-2014, 10:45 AM
  2. Code to populate combo box with unique entries from column (in alphabetical order)
    By Nitefox in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 34
    Last Post: 01-26-2014, 03:05 AM
  3. Pick item in column to be shown in line and columns
    By kuzna26 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-21-2014, 05:30 AM
  4. [SOLVED] How do I sum scattered entries on an Excel worksheet?
    By bassmanfranc in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-20-2006, 10:10 AM
  5. [SOLVED] How do I sum scattered entries on an Excel worksheet?
    By bassmanfranc in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-20-2006, 09:35 AM

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