Calculate how long it would take to reduce a backlog to 0 based on weekly additions/subtractions

Jennifer_Reynolds

New Member
Joined
Jul 8, 2022
Messages
4
Office Version
  1. 365
Platform
  1. Windows
Hi everyone,

I am looking to generate a formula that takes a current customer list and calculates a number for how many weekly cycles of additions/subtractions (new customers minus completed orders) it would take to get the Customer List to 0. The required steps are therefore:

1) The current 'Customer List' (cell B2) and adds 'Projected Additions (C2).
2) Then adds 'Projected Activity' (D2)
3) Repeats this cycle until the difference is 0 or less and then adds in E2 that number

So for the first example, week 1 is 100 + 50 - 100 = 50. Week 2 is 50 + 50 - 100 = 0. 0 is reached, therefore number is 2 cycles to get to 0.
For the second example, week 1 is 100 + 1 - 100 = 1. Week 2 is 1 + 1 - 100 = - 98. Therefore number is 2 cycles to get to 0.
As an additional problem, if the additions are higher than the activity then of course 0 will never be reached - in those circumstances I'd like a value of 'Never' to be returned.

Can anyone please help?

Customer BaseCustomer ListProjected AdditionsProjected ActivityWeeks To 0
A100501002
B10011002
C100101201
D1001001Never

I think I am nearly there with this:

=IF(CEILING(B2/(C2-D2),1)>0,"Never",ABS(CEILING(B2/(C2-D2),1)))

However for Example B it gives a value of '1' whereas the answer should be 2. Not sure what is causing that - some mistake in forcing rounding?
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.
@Jennifer_Reynolds Does this give you what you want?

Book1
ABCDE
1Cust ListAdditionsActivityWeeks To 0
2100501002
310011002
4100101201
51001001Never
610012100
Sheet1
Cell Formulas
RangeFormula
E2:E6E2=IF(C2>=D2,"Never",ROUNDUP(B2/(D2-C2),))
 
Upvote 1
Solution

Forum statistics

Threads
1,215,202
Messages
6,123,625
Members
449,109
Latest member
Sebas8956

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top