Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
PJ PJ is offline
external usenet poster
 
Posts: 112
Default Multiple sort criteria

My s/s contains approx 20 columns that I want to sort.
Each cell either has 1 or 0. I want to sort all these columns so that the
rows with the least 1's in the 20 columns is first and the row with the most
1's in the 20 columns is at the end.

I have tried doing up to 5 column sorts but after that excel seems to lose
the first sort.
Does Excel have a maximum number of times that you can sort? If so is there
another way I can do this?

Thanks - pj
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,123
Default Multiple sort criteria

Hi PJ

Add a column (21) with this formula
=COUNTIF(A1:T1,1)
Copy down this formula and sort on column 21



--
Regards Ron de Bruin
http://www.rondebruin.nl



"pj" wrote in message ...
My s/s contains approx 20 columns that I want to sort.
Each cell either has 1 or 0. I want to sort all these columns so that the
rows with the least 1's in the 20 columns is first and the row with the most
1's in the 20 columns is at the end.

I have tried doing up to 5 column sorts but after that excel seems to lose
the first sort.
Does Excel have a maximum number of times that you can sort? If so is there
another way I can do this?

Thanks - pj



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
MULTIPLE CRITERIA RETURNING SUM OF RESULTS [email protected] Excel Worksheet Functions 5 November 15th 06 06:21 PM
MULTIPLE CRITERIA RETURNING SUM OF RESULTS [email protected] Excel Worksheet Functions 0 November 15th 06 05:11 PM
Sort multiple columns with multiple formulas without returning #R bellsjrb Excel Worksheet Functions 0 July 14th 06 10:01 AM
HLookup, IF statement, multiple sort, somehow combine all of these Gita at CASTLE Excel Worksheet Functions 0 May 2nd 06 07:43 PM
Multiple Criteria IF Nesting BethB Excel Worksheet Functions 2 May 17th 05 12:14 AM


All times are GMT +1. The time now is 10:00 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"