+ Reply to Thread
Results 1 to 4 of 4

How to have 'Blanks' (in filter) appear on top

  1. #1
    Registered User
    Join Date
    12-03-2013
    Location
    US
    MS-Off Ver
    Excel 2007
    Posts
    63

    How to have 'Blanks' (in filter) appear on top

    Hi Friends,

    When we create a filter in Column, it shows all the unique value in column + (Blanks) if any. The 'Blanks' always appear towards the bottom of the filter and I need to scroll down. How can we have 'Blanks' appear on the top of the filter instead of bottom?

    Thanks,
    Rahul

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: How to have 'Blanks' (in filter) appear on top

    Filtering doesn't change the order of records. They're in the same order they were before filtering.

    Before


    A
    B
    1
    Hdr1
    Hdr2
    2
    1
    3
    3
    2
    4
    4
    3
    1
    5
    4
    6
    5
    1
    7
    6
    1
    8
    7
    3
    9
    8
    2
    10
    9
    11
    10
    2
    12
    11
    4
    13
    12
    1
    14
    13
    15
    14
    5
    16
    15
    4
    17
    16
    3


    After filtering col B for 4s and blanks,

    A
    B
    1
    Hdr1
    Hdr2
    3
    2
    4
    5
    4
    10
    9
    12
    11
    4
    14
    13
    16
    15
    4
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Registered User
    Join Date
    12-03-2013
    Location
    US
    MS-Off Ver
    Excel 2007
    Posts
    63

    Re: How to have 'Blanks' (in filter) appear on top

    H Shg, I am aware of this . Kindly refer to the screenshot. Is there a way to show filter selection 'Blanks' on top instead of bottom of filter window.Attachment 618911

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: How to have 'Blanks' (in filter) appear on top

    I can't open your attachment.

    I assume you mean by sorting, not filtering. Excel always sorts blanks to the bottom of a list, irrespective of sort order.

    You would need to add a column that test the column of interest for a blank and return a values that causes those rows to sort to the top. Then do a two-way sort with that as the primary column.
    Last edited by shg; 04-06-2019 at 12:28 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. Vba to filter blanks in a column
    By Revathi kannan in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-18-2019, 03:32 AM
  2. Filter for blanks
    By juanp21 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-11-2015, 05:54 PM
  3. [SOLVED] Filter data with blanks
    By HaroonSid in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 04-22-2014, 11:53 AM
  4. Filter non-blanks from selected columns
    By rajivbravo in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-06-2012, 07:23 AM
  5. Filter column by non-blanks
    By ABSTRAKTUS in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-02-2011, 04:00 PM
  6. Advanced Filter display blanks and ???
    By Cocoano in forum Excel General
    Replies: 3
    Last Post: 12-22-2006, 03:48 AM

Tags for this Thread

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