Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
adding three consecutive columns
I am trying to write a formula and I am looking for help:
I have thirteen columns of data, k-w, each of these columns is a range of specific gravity: K: <1.070 L: 1.070-1.075 M: 1.075-1.080 N: 1.080-1.085 O: 1.085-1.090 P: 1.090-1.095 Q: 1.095-1.100 R: 1.100-1.105 S: 1.105-1.110 T: 1.110-1.115 U: 1.115-1.120 V: 1.120-1.125 W: 1.125 Each row of data is a sample of objects, and the percentage by weight of the objects is recorded in the appropriate column, ie the percentage of the total weight that has a specific gravity that falls in that .005 range in gravity. What I want to to is to write a formula that calculates what the highest percentage of the sample falls within three consecutive columns, ie a range of .015 in specific gravity. It has to be three consecutive columns. It might be that for sample #1, the three consecutive columns with the highest percentage by weight might be O,P,Q containing 77% of the objects by weight, and for sample #2 S,T,U might contain 68% or whatever. Its not important which columns it is for each row, just the total of those three. Its easy to find the highest number, second highest, third highest but how can I find the highest three consecutive? Suggestions? |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
adding three consecutive columns
This may seem silly, but its very easy to implement:
In X1 put =K1+L1+M1 and copy across. this will put =L1+M1+N1 in Y1, etc. and then copy down. You started with 13 columns of data and you will now have 10 additional columns of 3 sample sums. Just get the MAX for each row across the 10 new columns. -- Gary's Student "Darin Gibson" wrote: I am trying to write a formula and I am looking for help: I have thirteen columns of data, k-w, each of these columns is a range of specific gravity: K: <1.070 L: 1.070-1.075 M: 1.075-1.080 N: 1.080-1.085 O: 1.085-1.090 P: 1.090-1.095 Q: 1.095-1.100 R: 1.100-1.105 S: 1.105-1.110 T: 1.110-1.115 U: 1.115-1.120 V: 1.120-1.125 W: 1.125 Each row of data is a sample of objects, and the percentage by weight of the objects is recorded in the appropriate column, ie the percentage of the total weight that has a specific gravity that falls in that .005 range in gravity. What I want to to is to write a formula that calculates what the highest percentage of the sample falls within three consecutive columns, ie a range of .015 in specific gravity. It has to be three consecutive columns. It might be that for sample #1, the three consecutive columns with the highest percentage by weight might be O,P,Q containing 77% of the objects by weight, and for sample #2 S,T,U might contain 68% or whatever. Its not important which columns it is for each row, just the total of those three. Its easy to find the highest number, second highest, third highest but how can I find the highest three consecutive? Suggestions? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Adding columns (one with a formula) | New Users to Excel | |||
adding columns | Excel Discussion (Misc queries) | |||
How can i set consecutive columns in an excel worksheet to differ. | Charts and Charting in Excel | |||
problem with adding columns of numbers | Excel Worksheet Functions | |||
Disable Adding or Deleting Rows and Columns | Excel Discussion (Misc queries) |