Autofilter SORT that Ignores Forced Blanks ("")

B

bryhogan

Is there a way to get the Autofilter Sort function to ignore columns
that have a forced blank ("") result in them? I'm trying to sort a
column with a formula in each cell that results in either a % or a
blank result (""). When I sort descending, Autofilter puts the blank
results at the top of the list.

The ideal solution would be something that let me do this...

- if(isblank($A1),INSERTBLANK(),B1*C1)

vs.

- if(isblank($A1),"",B1*C1)

Any help would be greatly appreciatd!
 
P

Pete

Instead of putting a blank in the cell, you should put a very small
number in there, one which is smaller than the smallest B1*C1 value -
as this is a %age then I would have thought that .000000001 would be
small enough!

When you sort it in descending order on this column these very small
values will appear at the bottom - you can easily highlight them all
and press <delete> to turn them into proper blanks for future work on
the sheet.

Hope this helps - I didn't see your earlier post as I was out.

Pete
 
B

bryhogan

Thanks, Pete. Unfortunately, I need the flexibility of sorting
ascending or descending and not including those items. If I could find
a way to get SORT to ignore those cells (as if they were truly blank),
then that would work.
 
D

Dave Peterson

Maybe insert a new column that treats those "" cells the way you want.

=if(a2="",rept("z",255),a2)

(or something that sorts to the bottom)

Then sort on that column. (Hide/delete it when you're done.)
 
G

Guest

Dave,
I was reading through trying to see if my answer would be in here, and it
wasn't and of course, for some reason I can't post a new question.
My question does relate to sorting however -
I have columns that I need to sort ascending - but I do not want to include
any of the titles that I have put on the page, just the information under
their titles (for Example : one title is Region. I don't highlight that, just
the cells underneath, and when I hit the sort key, it automatically sorts the
title of the worksheet, as well as the title of the cell.This makes some of
the information above the title, and the rest below!) I hope this makes
sense. I am getting a little desperate. I have a project due in a few weeks
and it has to be perfect and I need to go over 24 months worth of data!!! :)
please help me!

Dave Peterson said:
Maybe insert a new column that treats those "" cells the way you want.

=if(a2="",rept("z",255),a2)

(or something that sorts to the bottom)

Then sort on that column. (Hide/delete it when you're done.)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top