Autofilter only sorts the columns inlcluded (version 2007)

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

In Excel 2003, the autofilter sorting function would sort the columns of the
whole sheet, even when the autofilter area only included i.e. the columns A
to F.

When doing the same in version 2007, only the columns included in the actual
autofilter range, is sorted...

Example:

A B C
1 x1 y3 z1
2 x2 y2 z2
3 x3 y3 z3

When having autofilter on only column A and sorting it descending you get
the following result in 2007:

A B C
1 x3 y1 z1
2 x2 y2 z2
3 x1 y3 z3

Whereas 2003 will give this result:

A B C
1 x3 y3 z3
2 x2 y2 z2
3 x1 y1 z1

Which is more correct...

Is this a new "feature" or a bug?

/David
 
In xl2003, if there was an empty column between the autofilter and the rest of
the data, then the rest of the data wasn't sorted.

If the filter range and the other data was touching, then the other data sorted
with the filter range.

But xl2007 does behave differently.

To call it a bug or a feature would depend on how you want it to work. (It sure
looks like xl2007's behavior would be what I want in most cases.)

I think the thing to remember is that there is a difference. And not to rely on
the same behavior.
 
Ok. So if I understand you correctly, there is no way to sort all columns in
2007?

Or do I misunderstand you...?

/David
 
Select the range you want to sort first, then use sort--not the sort under the
filter arrows.

Or include all the range in the filter???
 
If you have created a "list" under Data>Create list, only that list area will
sort.

Have you created a list with just column A?


Gord Dibben MS Excel MVP
 
Back
Top