hello,
I have a table I would like to sum the largest negative sums and also the largest positive sums within a column, the table will illustrate below;
[TABLE="class: grid, width: 100"]
<tbody>[TR]
[TD="align: center"][/TD]
[TD="align: center"]A[/TD]
[TD="align: center"]B[/TD]
[TD="align: center"]B[/TD]
[/TR]
[TR]
[TD="align: center"]1[/TD]
[TD="align: center"]1[/TD]
[TD="align: center"]=a1[/TD]
[TD="align: center"]1[/TD]
[/TR]
[TR]
[TD="align: center"]2[/TD]
[TD="align: center"]3[/TD]
[TD="align: center"]=a1+a2[/TD]
[TD="align: center"]4[/TD]
[/TR]
[TR]
[TD="align: center"]3[/TD]
[TD="align: center"]-2[/TD]
[TD="align: center"]=a2+a3[/TD]
[TD="align: center"]2[/TD]
[/TR]
[TR]
[TD="align: center"]4[/TD]
[TD="align: center"]-3[/TD]
[TD="align: center"]=a3+a4[/TD]
[TD="align: center"]-1[/TD]
[/TR]
[TR]
[TD="align: center"]5[/TD]
[TD="align: center"]7[/TD]
[TD="align: center"]=a4+a5[/TD]
[TD="align: center"]6[/TD]
[/TR]
[TR]
[TD="align: center"]6[/TD]
[TD="align: center"]-3[/TD]
[TD="align: center"]=a5+a6[/TD]
[TD="align: center"]3[/TD]
[/TR]
[TR]
[TD="align: center"]7[/TD]
[TD="align: center"]Largest Positive Sum[/TD]
[TD="align: center"]6[/TD]
[TD="align: center"][/TD]
[/TR]
[TR]
[TD="align: center"]8[/TD]
[TD="align: center"]Largest Negative Sum[/TD]
[TD="align: center"]
-1[/TD]
[TD="align: center"][/TD]
[/TR]
</tbody>[/TABLE]
you can see in column A, the largest positive sum was in cell B5 with the sum of 6, the largest negative sum was in cell B4 with the negative sum of -1 Is there a formula I can input in cell B7 and B8 that will give me the largest positive and largest negative sums?
thank you for taking the time to read this and look forward to hearing from you all.
I have a table I would like to sum the largest negative sums and also the largest positive sums within a column, the table will illustrate below;
[TABLE="class: grid, width: 100"]
<tbody>[TR]
[TD="align: center"][/TD]
[TD="align: center"]A[/TD]
[TD="align: center"]B[/TD]
[TD="align: center"]B[/TD]
[/TR]
[TR]
[TD="align: center"]1[/TD]
[TD="align: center"]1[/TD]
[TD="align: center"]=a1[/TD]
[TD="align: center"]1[/TD]
[/TR]
[TR]
[TD="align: center"]2[/TD]
[TD="align: center"]3[/TD]
[TD="align: center"]=a1+a2[/TD]
[TD="align: center"]4[/TD]
[/TR]
[TR]
[TD="align: center"]3[/TD]
[TD="align: center"]-2[/TD]
[TD="align: center"]=a2+a3[/TD]
[TD="align: center"]2[/TD]
[/TR]
[TR]
[TD="align: center"]4[/TD]
[TD="align: center"]-3[/TD]
[TD="align: center"]=a3+a4[/TD]
[TD="align: center"]-1[/TD]
[/TR]
[TR]
[TD="align: center"]5[/TD]
[TD="align: center"]7[/TD]
[TD="align: center"]=a4+a5[/TD]
[TD="align: center"]6[/TD]
[/TR]
[TR]
[TD="align: center"]6[/TD]
[TD="align: center"]-3[/TD]
[TD="align: center"]=a5+a6[/TD]
[TD="align: center"]3[/TD]
[/TR]
[TR]
[TD="align: center"]7[/TD]
[TD="align: center"]Largest Positive Sum[/TD]
[TD="align: center"]6[/TD]
[TD="align: center"][/TD]
[/TR]
[TR]
[TD="align: center"]8[/TD]
[TD="align: center"]Largest Negative Sum[/TD]
[TD="align: center"]
-1[/TD]
[TD="align: center"][/TD]
[/TR]
</tbody>[/TABLE]
you can see in column A, the largest positive sum was in cell B5 with the sum of 6, the largest negative sum was in cell B4 with the negative sum of -1 Is there a formula I can input in cell B7 and B8 that will give me the largest positive and largest negative sums?
thank you for taking the time to read this and look forward to hearing from you all.