+ Reply to Thread
Results 1 to 3 of 3

Alphabetical order formula

  1. #1
    Forum Contributor
    Join Date
    09-16-2013
    Location
    Los Angeles, USA
    MS-Off Ver
    Excel 2011
    Posts
    620

    Alphabetical order formula

    Is it possible to edit this formula to also arrange in alphabetical order at the same time, or do I need to use a separate formula for this?
    =IFERROR(IF(ROWS(C$3:C3)>COUNTA(E:E),"",INDEX(C:C,SMALL(IF(E$3:E$10000<>"",ROW(E$3:E$10000)),ROWS(E$3:E3)))),"")

  2. #2
    Forum Expert RobertMika's Avatar
    Join Date
    06-22-2009
    Location
    Haverhill, UK
    MS-Off Ver
    Excel 2003-13
    Posts
    1,530

    Re: Alphabetical order formula

    Alpauniq.xlsx
    Try this.Adjust to your ranges.
    Not sure if IFERROR works on MAC so try this
    =IF(ISERROR(INDEX($A$2:$A$11,MATCH(0,COUNTIF($A$2:$A$11,"<"&$A$2:$A$11)-SUM(COUNTIF($A$2:$A$11,"="&B$1:B1)),0))),"",INDEX($A$2:$A$11,MATCH(0,COUNTIF($A$2:$A$11,"<"&$A$2:$A$11)-SUM(COUNTIF($A$2:$A$11,"="&B$1:B1)),0)))
    Confirm Control+Shift+Enter
    If you are http://www.excelforum.com/image.php?type=sigpic&userid=125481&dateline=1392355029happy with the results, please add to the contributor's
    reputation by clicking the reputation icon (star icon).




    If you are satisfied with the solution(s) provided, please mark your thread as Solved.
    Select Thread Tools-> Mark thread as Solved.
    To undo, select Thread Tools-> Mark thread as Unsolved.
    http://www.excelaris.co.uk

  3. #3
    Forum Contributor
    Join Date
    09-16-2013
    Location
    Los Angeles, USA
    MS-Off Ver
    Excel 2011
    Posts
    620

    Re: Alphabetical order formula

    Thank you Robert, the following code (which I took from you sample workbook) is working for me:
    =IFERROR(INDEX($C$3:$C$50000,MATCH(0,COUNTIF($C$3:$C$50000,"<"&$C$3:$C$50000)-SUM(COUNTIF($C$3:$C$50000,"="&G$2:G2)),0)),"")
    However its running a little slow, I believe because of the number of records I have. Can the formula be altered to reference a dynamic range I already have for the C column called EquipmentList so its not unnecessarily referencing blank rows.
    Last edited by Nitefox; 01-11-2014 at 03:04 PM.

+ 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: 10
    Last Post: 06-13-2013, 04:12 PM
  2. MACRO - Alphabetical order..
    By Prax in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 12-14-2007, 11:36 AM
  3. Alphabetical order of files
    By LD in forum Excel General
    Replies: 1
    Last Post: 06-23-2006, 05:25 AM
  4. Alphabetical order possible? or not
    By OSSIE in forum Excel General
    Replies: 5
    Last Post: 06-22-2006, 02:25 PM
  5. 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