+ Reply to Thread
Results 1 to 6 of 6

Alphabetical order with duplicates

  1. #1
    Forum Contributor
    Join Date
    05-16-2012
    Location
    Latina, ITALY
    MS-Off Ver
    Excel 2010--2016
    Posts
    947

    Alphabetical order with duplicates

    Good morning
    I would like some help to sort names and bring them back from column C
    Sheet2 to column C sheet1 also with duplicates.
    Then, also report their code from colona B
    sheet2 to column B Sheet1
    Thanks
    Attached Files Attached Files

  2. #2
    Forum Expert XLent's Avatar
    Join Date
    10-13-2010
    Location
    Northumberland, UK
    MS-Off Ver
    various
    Posts
    2,704

    Re: Alphabetical order with duplicates

    based on your sample, and assuming XL2007 compatibility required, one option:

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

  3. #3
    Forum Contributor
    Join Date
    05-16-2012
    Location
    Latina, ITALY
    MS-Off Ver
    Excel 2010--2016
    Posts
    947

    Re: Alphabetical order with duplicates

    Thank you but, I'm finding some trouble adapting it
    The file was just a small example.
    Reporting the formula to another file does not sort correctly and leaves some lines empty
    I can also use 2010
    Last edited by Berna11; 11-28-2020 at 12:05 PM.

  4. #4
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,139

    Re: Alphabetical order with duplicates

    A 2010-friendly version. In B5:

    =IFERROR(INDEX(Foglio2!C:C,AGGREGATE(15,6,ROW(Foglio2!$D$5:$D$29)/(Foglio2!$D$5:$D$29=C5),COUNTIF($C$5:C5,C5))),"")

    and in C5:
    =LOOKUP(1,0/FREQUENCY(ROWS(C$4:C4),COUNTIF(Foglio2!$D$5:$D$29,"<="&Foglio2!$D$5:$D$29)),Foglio2!$D$5:$D$29)&""
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  5. #5
    Forum Contributor
    Join Date
    05-16-2012
    Location
    Latina, ITALY
    MS-Off Ver
    Excel 2010--2016
    Posts
    947

    Re: Alphabetical order with duplicates

    Ok perfect thanks it works

  6. #6
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,139

    Re: Alphabetical order with duplicates

    You're welcome and thanks for the rep.

+ 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: 0
    Last Post: 02-15-2014, 10:30 AM
  2. sort alphabetical order, then remove duplicates
    By gold9er in forum Excel General
    Replies: 1
    Last Post: 08-12-2012, 04:05 PM
  3. Alphabetical order possible? or not
    By OSSIE in forum Excel General
    Replies: 5
    Last Post: 06-22-2006, 02:25 PM
  4. [SOLVED] How do I put worksheets in alphabetical order
    By DLee in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 10:05 AM
  5. [SOLVED] How do I put worksheets in alphabetical order
    By Bob Phillips in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-06-2005, 06:05 AM
  6. [SOLVED] How do I put worksheets in alphabetical order
    By DLee in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 07-27-2005, 05:05 PM
  7. How do I put worksheets in alphabetical order
    By DLee in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-27-2005, 04:05 PM
  8. Alphabetical Order
    By Jennifer_Taylor in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 01-27-2005, 10:49 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