+ Reply to Thread
Results 1 to 5 of 5

Formula to Alphabetize A List, Excluding Blanks

  1. #1
    Forum Contributor
    Join Date
    08-25-2014
    Location
    Pennsylvania, US
    MS-Off Ver
    Windows '16
    Posts
    165

    Formula to Alphabetize A List, Excluding Blanks

    Hey guys, I did some searching and was able to come up with a formula that comes really close to what I need, but not exactly. I want to sort a list of data into alphabetical order using a formula. However, as shown in the attached file, cells that are not truly blank but that ="" are messing things up. Any help? Thanks!

    alphabetizing.xlsx

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Formula to Alphabetize A List, Excluding Blanks

    In B2 Cell - Array Formula - Requires CTRL+SHIFT+ENTER


    =IFERROR(INDEX($A$2:$A$34,MATCH(SMALL(COUNTIF($A$2:$A$34,"<="&$A$2:$A$34),SUMPRODUCT(--($A$2:$A$34=""))+ROWS($1:1)),COUNTIF($A$2:$A$34,"<="&$A$2:$A$34),0)),"")


    Drag it down...


    Array formulas need to be entered using the key combination of CTRL,SHIFT,ENTER (not just ENTER). Hold down both the CTRL key and the SHIFT key then hit ENTER.


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  3. #3
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Formula to Alphabetize A List, Excluding Blanks

    Another array-entered formula. A bit longer and counts on the input items to be one-of-a-kind.
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Dave

  4. #4
    Forum Contributor
    Join Date
    08-25-2014
    Location
    Pennsylvania, US
    MS-Off Ver
    Windows '16
    Posts
    165

    Re: Formula to Alphabetize A List, Excluding Blanks

    Excellent! Much thanks to both of you Sixthsense and FlameRetired, both work great! +1, +1. (now I will spend the rest of the day figuring out how these work haha......)

  5. #5
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Formula to Alphabetize A List, Excluding Blanks

    You're welcome. Thanks for the feedback and 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. [SOLVED] Formula to Extract a List Excluding Blanks
    By chotosiete in forum Excel Formulas & Functions
    Replies: 16
    Last Post: 01-16-2019, 05:47 AM
  2. Average formula for last 15 days excluding blanks
    By jimbob23 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 12-22-2014, 11:50 AM
  3. [SOLVED] Create a list of uppercase data from a range excluding blanks and errors
    By PAexcel in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 06-17-2014, 01:32 PM
  4. [SOLVED] MIN value excluding blanks
    By coach.32 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-19-2013, 04:52 PM
  5. [SOLVED] Function To Build A List For A Drop Down, Excluding Blanks And Non-Matches.
    By GEANZ in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-02-2013, 11:35 PM
  6. Linking List While Excluding Blanks
    By hgb in forum Excel General
    Replies: 5
    Last Post: 04-26-2011, 03:11 PM
  7. Excel Formula to Alphabetize Unique items only from a list
    By broshannon in forum Excel General
    Replies: 3
    Last Post: 09-06-2010, 08:07 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