I use a formula to identify the top ten items in a list of potential items sorted by a descending PRICE value. There is a quantity coulmn summing up the top ten pieces.
Sometimes an item is sold in quantitiy of 2. If it's item number 10 in the sorted list the formula will not identify but stops at the 9th item. Is there a way to "move next" similar to a VB code stepping through data until it can come up with the toal 10 pieces? here's the formula I have been using. Thanks for any help or ideas.
<TBODY>
</TBODY><COLGROUP><COL><COL span=2><COL></COLGROUP>
Sometimes an item is sold in quantitiy of 2. If it's item number 10 in the sorted list the formula will not identify but stops at the 9th item. Is there a way to "move next" similar to a VB code stepping through data until it can come up with the toal 10 pieces? here's the formula I have been using. Thanks for any help or ideas.
HTML:
=SUMIF($A$1:$A2,A2,$C$1:C2)<=10
Item</SPAN> | PRICE</SPAN> | QUANTITY</SPAN> | TOP TEN </SPAN> |
A</SPAN> | 2.28</SPAN> | 1</SPAN> | TRUE</SPAN> |
B</SPAN> | 2.16</SPAN> | 1</SPAN> | TRUE</SPAN> |
C</SPAN> | 1.01</SPAN> | 1</SPAN> | TRUE</SPAN> |
D</SPAN> | 0.96</SPAN> | 1</SPAN> | TRUE</SPAN> |
E</SPAN> | 0.84</SPAN> | 1</SPAN> | TRUE</SPAN> |
F</SPAN> | 0.72</SPAN> | 1</SPAN> | TRUE</SPAN> |
G</SPAN> | 0.72</SPAN> | 1</SPAN> | TRUE</SPAN> |
H</SPAN> | 0.72</SPAN> | 1</SPAN> | TRUE</SPAN> |
I</SPAN> | 0.72</SPAN> | 1</SPAN> | TRUE</SPAN> |
J</SPAN> | 0.72</SPAN> | 2</SPAN> | FALSE</SPAN> |
K</SPAN> | 0.72</SPAN> | 1</SPAN> | FALSE</SPAN> |
<TBODY>
</TBODY><COLGROUP><COL><COL span=2><COL></COLGROUP>