Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Sort by five different criteria

0 views
Skip to first unread message

Barney

unread,
Jul 3, 2007, 1:23:26 PM7/3/07
to
I have a sheet that I need to sort by 5 critera (columns) not the limit of
three as is in my Excel 2002. Can that be done?

Barney


Niek Otten

unread,
Jul 3, 2007, 1:35:18 PM7/3/07
to
Hi Barney,

From Dave Peterson:

You can sort multiple times. Just sort by the 3 least important and work your

way to the 3 most important.


--
Kind regards,

Niek Otten
Microsoft MVP - Excel


"Barney" <barn...@no-spambellsouth.net> wrote in message news:eCvii.17328$p7.1...@bignews3.bellsouth.net...

Bill Ridgeway

unread,
Jul 3, 2007, 2:22:10 PM7/3/07
to
"Barney" <barn...@no-spambellsouth.net> wrote in message
news:eCvii.17328$p7.1...@bignews3.bellsouth.net...
>I have a sheet that I need to sort by 5 critera (columns) not the limit of
>three as is in my Excel 2002. Can that be done?
>
> Barney

You could do this if you had a helper column with data from the five fields
concatenated (added together)
=A1&B1&C1&D1&E1
Data in the helper column is treated as a string so this doesn't work if any
of the fields need to be sorted in descending order or if numbers are in
'text' format. For that you could concatenate all the fields that can be
treated as text and sort on 'helper column' (ascending) and 'column X'
(descending).

Regards.

Bill Ridgeway
Computer Solutions


Barney

unread,
Jul 3, 2007, 6:17:03 PM7/3/07
to
Thanks Nick and Bill. I used Nick's suggestion and it worked.... even as a
macro. I think s Bill's idea would work too. Very clever.

Barney

"Barney" <barn...@no-spambellsouth.net> wrote in message
news:eCvii.17328$p7.1...@bignews3.bellsouth.net...

0 new messages