Hi,
I'm trying to do a cumulative stock count vs needed per day.
Example
A1 is quantity need to be in stock
B1 is quantity incoming
C1 is difference between B1 and A1
D2 I want the cumulative total stock per day (copy down)
E2 I want the cumulative over stock per day (copy down)
This works well as long there's a overstock. But once the is a number of continues days with negative stock I don't want the see the cumulative anymore because negatives will be resolved daily.
How can I make a formula that I can copy down that shows me the cumulative over stock results until I run into a negative stock and then continues again on overstock?
Thank you
Example data:
I'm trying to do a cumulative stock count vs needed per day.
Example
A1 is quantity need to be in stock
B1 is quantity incoming
C1 is difference between B1 and A1
D2 I want the cumulative total stock per day (copy down)
E2 I want the cumulative over stock per day (copy down)
This works well as long there's a overstock. But once the is a number of continues days with negative stock I don't want the see the cumulative anymore because negatives will be resolved daily.
How can I make a formula that I can copy down that shows me the cumulative over stock results until I run into a negative stock and then continues again on overstock?
Thank you
Example data:
100 | 500 | 400 | 400 | |
150 | 1.000 | 850 | 1.400 | 1.250 |
200 | 1.500 | 1.300 | 2.750 | 2.550 |
250 | 2.000 | 1.750 | 4.550 | 4.300 |
300 | 2.500 | 2.200 | 6.800 | 6.500 |
350 | 3.000 | 2.650 | 9.500 | 9.150 |
400 | 3.500 | 3.100 | 12.650 | 12.250 |
450 | 4.000 | 3.550 | 16.250 | 15.800 |
500 | 4.500 | 4.000 | 20.300 | 19.800 |
550 | 5.000 | 4.450 | 24.800 | 24.250 |
600 | 5.500 | 4.900 | 29.750 | 29.150 |
650 | 6.000 | 5.350 | 35.150 | 34.500 |
700 | 6.500 | 5.800 | 41.000 | 40.300 |
10.000 | 7.000 | -3.000 | 47.300 | 37.300 |
20.000 | 7.500 | -12.500 | 44.800 | 24.800 |
30.000 | 8.000 | -22.000 | 32.800 | 2.800 |
40.000 | 8.500 | -31.500 | 11.300 | -28.700 |
50.000 | 9.000 | -41.000 | -41.000 | 0 |
60.000 | 9.500 | -50.500 | -50.500 | 0 |
70.000 | 10.000 | -60.000 | -60.000 | 0 |
80.000 | 10.500 | -69.500 | -69.500 | 0 |
90.000 | 11.000 | -79.000 | -79.000 | 0 |
200.000 | 225.000 | 25.000 | 25.000 | |
225.000 | 250.000 | 25.000 | 275.000 | 50.000 |
250.000 | 275.000 | 25.000 | 325.000 | 75.000 |
275.000 | 300.000 | 25.000 | 375.000 | 100.000 |
300.000 | 325.000 | 25.000 | 425.000 | 125.000 |
325.000 | 350.000 | 25.000 | 475.000 | 150.000 |
350.000 | 375.000 | 25.000 | 525.000 | 175.000 |
375.000 | 400.000 | 25.000 | 575.000 | 200.000 |