View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.newusers
Paul Dwyer Paul Dwyer is offline
external usenet poster
 
Posts: 1
Default Bucket analysis in Excel

You can use the data analysis toolpak that comes built in, but needs to be enabled to be used. See http://office.microsoft.com/en-us/ex...215691033.aspx

Once you load the toolkit, the "bucket" analysis you want to do can be done with the Histogram tool. Here's a snip from the help for that tool:

"The Histogram analysis tool calculates individual and cumulative frequencies for a cell range of data and data bins. This tool generates data for the number of occurrences of a value in a data set.

For example, in a class of 20 students, you can determine the distribution of scores in letter-grade categories. A histogram table presents the letter-grade boundaries and the number of scores between the lowest bound and the current bound. The single most-frequent score is the mode of the data.

Histogram dialog box
Input Range Enter the cell reference for the range of data that you want to analyze.

Bin Range (optional) Enter the cell reference to a range that contains an optional set of boundary values that define bin ranges. These values should be in ascending order. Microsoft Office Excel counts the number of data points between the current bin number and the adjoining higher bin, if any. A number is counted in a particular bin if it is equal to or less than the bin number down to the last bin. All values below the first bin value are counted together, as are the values above the last bin value.

If you omit the bin range, Excel creates a set of evenly distributed bins between the data's minimum and maximum values. ..."

Setting the bin range to the bucket limits you want will sort the data as you want.

Paul



EggHeadCafe - .NET Developer Portal of Choice
http://www.eggheadcafe.com/default.aspx?ref=ng