Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Susan Smith
 
Posts: n/a
Default Sort Data by Frequency

Is it possible to sort data by the frequency in which a number occurs instead
of ascending/descening? Currently I sort by a column which is currency so
that items of the same $ amt are together. I would like to have the items
that occur the most be at the top with those that occur only once at the
bottom.
  #2   Report Post  
Myrna Larson
 
Posts: n/a
Default

Let's say your data is in A1:L289, with headers in row 1 and the amount in
question in column K. In M2 put this formula =COUNTIF($K$2:$K$289,K2) and copy
it down. Then sort with 2 keys: the first is column M, the 2nd key is column
K.


On Thu, 24 Mar 2005 19:53:02 -0800, "Susan Smith" <Susan
wrote:

Is it possible to sort data by the frequency in which a number occurs instead
of ascending/descening? Currently I sort by a column which is currency so
that items of the same $ amt are together. I would like to have the items
that occur the most be at the top with those that occur only once at the
bottom.


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
How do I sort a column of data and have each data row sort accordi Oedalis Excel Discussion (Misc queries) 1 March 17th 05 11:52 PM
Pulling data from 1 sheet to another Dave1155 Excel Worksheet Functions 1 January 12th 05 05:55 PM
Keeping Row 1 at the top during a Data Sort... bro. Billy Excel Worksheet Functions 2 December 13th 04 06:43 AM
Data > Sort function amnesia? Dave D Excel Discussion (Misc queries) 1 November 29th 04 10:44 PM
Data Sort Allan Excel Worksheet Functions 3 November 24th 04 03:23 PM


All times are GMT +1. The time now is 04:41 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"