+ Reply to Thread
Results 1 to 2 of 2

Remove Blank Lines That Show Up During Sorting

  1. #1
    Forum Contributor
    Join Date
    05-16-2007
    Location
    USA
    MS-Off Ver
    MS Office 2016, Excel 2016
    Posts
    192

    Remove Blank Lines That Show Up During Sorting

    Is there a way to make cells with a formula in them to appear truly empty so when I sort the rows with these "supposedly" empty cells, they don't show up in my Sort as a bunch of empty spaces before showing the actual data?

    I'm thinking there is no simple formula to accomplish this, or that it may just be easier to remove these "supposedly" empty cells during the actual Sort. Though I don't know how to do that.

    The issue is the "", but it's my understanding Excel has no function or easy way to make these cells with the following formula appear to be truly empty so that they aren't processed during the sorting phase.

    Please Login or Register  to view this content.
    Here is my Sort code if that will help:

    Please Login or Register  to view this content.
    So apparently, alphabetically, these "supposedly" empty cells are listed first. If I could just get them to come last, while my data is still sorted A-Z, I could possibly accept that, though I prefer they just go away.

  2. #2
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    11,138

    Re: Remove Blank Lines That Show Up During Sorting

    Upload sample file depicting actual file setup and explain requirement so that a solution can be offered...

    Is this thread here...Same requirement?
    Good Luck
    I don't presume to know what I am doing, however, just like you, I too started somewhere...
    One-day, One-problem at a time!!!
    If you feel I have helped, please click on the star to left of post [Add Reputation]
    Also....add a comment if you like!!!!
    And remember...Mark Thread as Solved.
    Excel Forum Rocks!!!

+ 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] Remove blank lines of code
    By YasserKhalil in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-22-2015, 05:45 AM
  2. [SOLVED] Remove blank lines
    By ReeceB in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-01-2015, 06:23 PM
  3. [SOLVED] remove lines if a cell is blank
    By Christopherdj in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 08-01-2013, 10:08 PM
  4. How do I remove blank lines in the first column.
    By SWMagic in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 07-29-2013, 05:14 AM
  5. Create List and remove blank Lines
    By jamjam200 in forum Excel General
    Replies: 0
    Last Post: 01-22-2013, 12:30 PM
  6. Remove Blank Lines
    By Robotacha2010 in forum Excel General
    Replies: 5
    Last Post: 08-16-2010, 11:59 AM
  7. [SOLVED] Remove Blank Lines
    By Nigel in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-28-2005, 11:00 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