LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 59
Default Number Grouping Formula or Macro

Hi,

On my spreadsheet I have a column with ten numbers. The numbers are
errors based on a calculation. What I manually do is look at the
numbers and divide them into 1 2 3 4 or 5 ranges.

I have the errors listed 1 through 10 as I have ten setpoints with
increasing weight range. (1gram to 10 grams)


My final statement from the errors is to say: "From 1 gram to 3 grams
the error is 1.4 grams, and from 4 grams to 6 grams the error is 1
gram, and 7 grams to 8 grams the error is 0.5 grams, and from 8 grams
to 10 grams the error is 0.2 grams.


I can have a maximum of 5 groupings of errors.

E.G.


1 0
2 1.4
3 1.2
4 1
5 1
6 1
7 0.5
8 0.5
9 0.2
10 0


In the above example I would manually make the groupings:


1-3 = 1.4
4-6 = 1
7-8 = 0.5
9-10 = 0.2


and in this case group the errors into 4 groups.


Another example:


1 0
2 0
3 0
4 0
5 0
6 1
7 1
8 1
9 1
10 1


I would make the groupings:


1-5 = 0
6-10 = 1


and in this case group the errors into 2 groups.


And one more example:


1 0.5
2 0.1
3 0.1
4 0.2
5 0.2
6 0.8
7 0.7
8 0.8
9 1
10 1.5


In this example I would group the numbers as such:


1 = 0.5
2-3 = 0.1
4-5 = 0.2
6-9 = 1
10 = 1.5


and in this case group the errors into 5 groups.


Can excel intuitively by formula, make this calculation and grouping
somehow?


Thanks for any advice,


Aaron.

 
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
Sorting and grouping data with varying number or rows Vickie Excel Worksheet Functions 1 January 13th 10 09:01 PM
Grouping a column of data and displaying the number of items grouped [email protected] Excel Worksheet Functions 2 April 16th 08 10:16 PM
grouping inside a macro deepika :excel help[_2_] Excel Discussion (Misc queries) 1 February 20th 08 08:46 AM
macro or formula to get rid of a number A.S. Excel Discussion (Misc queries) 2 April 2nd 07 11:04 PM
excel should allow me Indian number grouping ##,##,##,###.## Utkarsh Patel Excel Worksheet Functions 3 July 22nd 06 07:46 PM


All times are GMT +1. The time now is 01:46 AM.

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"