Sort table with blanks at the end

adambc

Active Member
Joined
Jan 13, 2020
Messages
368
Office Version
  1. 2019
  2. 2016
Platform
  1. Windows
I'm trying to avoid using a macro ...

I have a table with 7 columns with a header ...

- Column A contains a header ("Order") (row 1) and the numbers 1 to 60 (rows 2 to 61)
- Column G contains a header ("Surname") (row 1) and surnames (but only in rows 1 to n, with rows n+1 to 61 blank)

I want to sort the table on Column G (A to Z) using the Autofilter, but with the blank rows at the bottom (not at the top) ...

Is this possible NOT using a macro?

Many thanks ...
 

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"
Does col G contain a formula?
 
Upvote 0
In that case it sounds as though the cells are not actually blank, completely empty cells should be sorted at the bottom.
 
Upvote 0
In that case it sounds as though the cells are not actually blank, completely empty cells should be sorted at the bottom.
Sorry, I should have said "yes" - I'm reading the surname from another Worksheet
 
Upvote 0
In that case if the formula returns "" for the blank cells, you could change it to return z, or you could use a helper column.
 
Upvote 0
Solution

Forum statistics

Threads
1,214,593
Messages
6,120,434
Members
448,961
Latest member
nzskater

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top