Excel Sort Question involving null treatment

fib1123

New Member
Joined
Apr 14, 2020
Messages
1
Office Version
  1. 365
Platform
  1. Windows
Hello,
I have a large numeric database (1000s of rows) - with a variety of numerical entries - values, percentages, etc - both positive and negative values.
I have macros to sort this data by columns - hi to low and low to hi.
However, the dataset always has some blanks (i.e. nulls - cells with no value entered - totally blank). It's usually because the data is not meaningful or unavailable.
I would like to find a way to ALWAYS have these blanks appear at the bottom of the sorts - both low to high and high to low. Basically below the sort results - and certainly not at the top. I'm happy to use conditional formatting, or code in the sort macro, or special characters, but can't find a way to do it.
Thanks so much!!
 

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.

Forum statistics

Threads
1,215,221
Messages
6,123,701
Members
449,117
Latest member
Aaagu

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