Hi,
Hope y'all can help me out.
Hope y'all can help me out.
- I need to calculate every other cell in a selection (in this example $D2:$M2)
- I need to stop the calculation at the cell we are in. [Detailed in the spreadsheet below]
- Row 14: is there an easier way to calculate this? This is what I am doing currently.
Book1 | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | H | I | J | K | L | M | |||
1 | Qty Already have | Qty Required | Cost/Material | Needed | Remaining | Needed | Remaining | Needed | Needed | Remaining | Needed | Remaining | |||
2 | 2,00,000 | Value of Last Column (since this is cumulative) | $ 0.00 | 8,898 | IF($A$2 - [SUM(of Cell D2, F2, H2,J2,L2,N2) but only uptil Column E]<=0,value of calc, 0) | 0 | $A$2 - [SUM(of Cell D2, F2, H2,J2,L2,N2) but only uptil Column G]<=0,value of calc, 0) | 0 | $A$2 - [SUM(of Cell D2, F2, H2,J2,L2,N2) but only uptil Column I]<=0,value of calc, 0) | 4,044 | $A$2 - [SUM(of Cell D2, F2, H2,J2,L2,N2) but only uptil Column K]<=0,value of calc, 0) | 0 | $A$2 - [SUM(of Cell D2, F2, H2,J2,L2,N2) but only uptil Column M]<=0,value of calc, 0) | ||
3 | 10,000 | 10188 | $ 1,915,344.00 | 9,588 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||
4 | 1,234 | 1327 | $ 123,012.90 | 10,146 | 8,912 | 4,689 | 13,601 | 6,756 | 20,357 | 0 | 20,357 | 0 | 20,357 | ||
5 | 12,412 | 12938 | $ 6,805,388.00 | 2,523 | 0 | 1,167 | 0 | 1,680 | 0 | 0 | 0 | 0 | 0 | ||
6 | 3 | $ 8.91 | 21,25,275 | 21,25,275 | 7,52,835 | 28,78,110 | 19,99,139 | 48,77,249 | 2,03,709 | 50,80,958 | 0 | 50,80,958 | |||
7 | 31 | $ 961.00 | 3,98,955 | 3,98,955 | 2,05,902 | 6,04,857 | 5,09,880 | 11,14,737 | 45,738 | 11,60,475 | 0 | 11,60,475 | |||
8 | 33 | $ 1,085.70 | 1,37,892 | 1,37,892 | 66,963 | 2,04,855 | 1,68,557 | 3,73,412 | 18,552 | 3,91,964 | 0 | 3,91,964 | |||
9 | 129 | $ 16,641.00 | 24,504 | 24,504 | 11,085 | 35,589 | 26,202 | 61,791 | 3,222 | 65,013 | 0 | 65,013 | |||
10 | 1990 | $ 3,960,100.00 | 6,771 | 6,771 | 3,162 | 9,933 | 7,133 | 17,066 | 687 | 17,753 | 0 | 17,753 | |||
11 | 1540 | $ 2,371,600.00 | 0 | 0 | 0 | 0 | 2,519 | 2,519 | 0 | 2,519 | 0 | 2,519 | |||
12 | 4460 | $ 19,891,600.00 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |||
13 | 0 | $ 0.00 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |||
14 | Material Cost: | (SUMPRODUCT(E$2:E$13,$C$2:$C$13)) | Material Cost: | (SUMPRODUCT(G$2:G$13,$C$2:$C$13))-$E14 | Material Cost: | (SUMPRODUCT(I$2:I$13,$C$2:$C$13))-SUM($E14,$G14) | Material Cost: | (SUMPRODUCT(K$2:K$13,$C$2:$C$13))-SUM($E14,$G14,$I14) | Material Cost: | (SUMPRODUCT(M$2:M$13,$C$2:$C$13))-SUM($E14,$G14,$I14,$K14) | |||||
Sheet1 |