+ Reply to Thread
Results 1 to 8 of 8

How to deal with blank cells to get unique distinct alphabetically sorted list?

  1. #1
    Registered User
    Join Date
    09-07-2010
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    8

    Post How to deal with blank cells to get unique distinct alphabetically sorted list?

    I have the formula to get unique distinct alphabetically sorted list using,

    {=IFERROR(INDEX(Agent,MATCH(MIN(IF(COUNTIF($I$3:I3,Agent)=0,1,MAX((COUNTIF(Agent,"<"&Agent)+1)*2))*(COUNTIF(Agent,"<"&Agent)+1)),COUNTIF(Agent,"<"&Agent)+1, 0)), "")}

    Agent = $B$4:$B$103

    When my named range, Agent have blank cells the above formula doesn't work.

    How to deal with blank cells and help me out!

    Thanks
    Karthikeyan T
    Last edited by keyantkarthi; 12-28-2015 at 09:04 AM.

  2. #2
    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: How to deal with blank cells to get unique distinct alphabetically sorted list?

    Try appending a "" to Agent ... Agent&"".

    Edit: that only applies to the Criteria argument and not the Range argument of COUNTIF.
    Dave

  3. #3
    Registered User
    Join Date
    09-07-2010
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    8

    Re: How to deal with blank cells to get unique distinct alphabetically sorted list?

    Thanks for the reply FlameRetired!

    I have updated the formula as you suggeseted, but no result .

    How to achieve this without head ache????
    Karthikeyan T

  4. #4
    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: How to deal with blank cells to get unique distinct alphabetically sorted list?

    It sounds like it is something else.

    It is usually easier and faster to get solution if you upload an Excel file that represents what you are working with.

    If you are not familiar with how to do this
    • click FAQ at the top of this page,
    • under Board FAQ click Reading and posting messages
    • then click Attachments and images
    • You will find instructions on how to do this.

  5. #5
    Registered User
    Join Date
    09-07-2010
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    8

    Re: How to deal with blank cells to get unique distinct alphabetically sorted list?

    I have attached my working file please go through it and suggest a solution.

    I want to summarize the Agents worked hour in column I.

    The formula in column I working only if column B (Named Range: Agent, refers to: $B$3:$B$102) is filled with values and not contain a single blank cell.

    The formula needs to work with blank cells.

    Help me out in this.

    Production Summary.xls

  6. #6
    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: How to deal with blank cells to get unique distinct alphabetically sorted list?

    This array-entered formula in I3 and filled down will work with blank cells, return unique text and sorted in alphabetical order.
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  7. #7
    Registered User
    Join Date
    09-07-2010
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    8

    Re: How to deal with blank cells to get unique distinct alphabetically sorted list?

    Wow!!! Amazing!!!

    It worked for me. Thank you so much FlameRetired!!!

  8. #8
    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: How to deal with blank cells to get unique distinct alphabetically sorted list?

    You are welcome. Glad to help.

+ 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] Extract a non-sorted list with blank cells into a sorted list
    By RJK in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 05-08-2015, 12:41 AM
  2. [SOLVED] A list using 3 columns sorted alphabetically using functions
    By fjyoder in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-27-2015, 12:01 PM
  3. [SOLVED] Summerize unique values from multiple columns / Sorted alphabetically
    By Lacaycer in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 12-01-2014, 02:40 PM
  4. Replies: 8
    Last Post: 11-05-2014, 10:27 PM
  5. [SOLVED] Unique distinct alphabetically sorted list
    By atlant15 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-06-2013, 10:03 AM
  6. [SOLVED] Adding letter headings to an alphabetically sorted list
    By hoodric in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-30-2012, 01:18 PM
  7. An alphabetically sorted list of findings...
    By JemyM in forum Excel General
    Replies: 4
    Last Post: 09-19-2005, 01:50 PM

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