CSE Forumla to calculate no of months for which stock will suffice

fastnswift

New Member
Joined
Jul 18, 2015
Messages
3
Hi, I am new to his forum and to CSE functions... I have in row 20 the no of units in stock at the end of each month. In another row, I have the demand for units every month. Is it possible for excel to automatically calculate the no of months for which the stock in hand will suffice? Many thanks for all your help in advance :)
 

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.
Welcome to the forum.

Add an example of your data, see my signature for ways of doing so.
 
Upvote 0
opening balance
Units Purchased
Units available in stock
Demand
Closing balance

<colgroup><col style="mso-width-source:userset;mso-width-alt:5083;width:104pt" width="139"> <col style="width:48pt" span="14" width="64"> </colgroup><tbody>
[TD="width: 139"][/TD]
[TD="width: 64"][/TD]
[TD="class: xl63, width: 64, align: right"]Jan-15[/TD]
[TD="class: xl63, width: 64, align: right"]Feb-15[/TD]
[TD="class: xl63, width: 64, align: right"]Mar-15[/TD]
[TD="class: xl63, width: 64, align: right"]Apr-15[/TD]
[TD="class: xl63, width: 64, align: right"]May-15[/TD]
[TD="class: xl63, width: 64, align: right"]Jun-15[/TD]
[TD="class: xl63, width: 64, align: right"]Jul-15[/TD]
[TD="class: xl63, width: 64, align: right"]Aug-15[/TD]
[TD="class: xl63, width: 64, align: right"]Sep-15[/TD]
[TD="class: xl63, width: 64, align: right"]Oct-15[/TD]
[TD="class: xl63, width: 64, align: right"]Nov-15[/TD]
[TD="class: xl63, width: 64, align: right"]Dec-15[/TD]
[TD="class: xl63, width: 64, align: right"]Jan-16[/TD]

[TD="align: right"]0[/TD]
[TD="align: right"]3[/TD]
[TD="align: right"]3[/TD]
[TD="align: right"]5[/TD]
[TD="align: right"]7[/TD]
[TD="align: right"]11[/TD]
[TD="align: right"]15[/TD]
[TD="align: right"]15[/TD]
[TD="align: right"]24[/TD]
[TD="align: right"]37[/TD]
[TD="align: right"]27[/TD]
[TD="align: right"]21[/TD]
[TD="align: right"]17[/TD]

[TD="align: right"]15[/TD]
[TD="align: right"]10[/TD]
[TD="align: right"]12[/TD]
[TD="align: right"]16[/TD]
[TD="align: right"]20[/TD]
[TD="align: right"]24[/TD]
[TD="align: right"]17[/TD]
[TD="align: right"]15[/TD]
[TD="align: right"]28[/TD]
[TD="align: right"]10[/TD]
[TD="align: right"]20[/TD]
[TD="align: right"]23[/TD]
[TD="align: right"]14[/TD]

[TD="align: right"]15[/TD]
[TD="align: right"]13[/TD]
[TD="align: right"]15[/TD]
[TD="align: right"]21[/TD]
[TD="align: right"]27[/TD]
[TD="align: right"]35[/TD]
[TD="align: right"]32[/TD]
[TD="align: right"]30[/TD]
[TD="align: right"]52[/TD]
[TD="align: right"]47[/TD]
[TD="align: right"]47[/TD]
[TD="align: right"]44[/TD]
[TD="align: right"]31[/TD]

[TD="align: right"]12[/TD]
[TD="align: right"]10[/TD]
[TD="align: right"]10[/TD]
[TD="align: right"]14[/TD]
[TD="align: right"]16[/TD]
[TD="align: right"]20[/TD]
[TD="align: right"]17[/TD]
[TD="align: right"]6[/TD]
[TD="align: right"]15[/TD]
[TD="align: right"]20[/TD]
[TD="align: right"]26[/TD]
[TD="align: right"]27[/TD]
[TD="align: right"]10[/TD]

[TD="align: right"]3[/TD]
[TD="align: right"]3[/TD]
[TD="align: right"]5[/TD]
[TD="align: right"]7[/TD]
[TD="align: right"]11[/TD]
[TD="align: right"]15[/TD]
[TD="align: right"]15[/TD]
[TD="align: right"]24[/TD]
[TD="align: right"]37[/TD]
[TD="align: right"]27[/TD]
[TD="align: right"]21[/TD]
[TD="align: right"]17[/TD]
[TD="align: right"]21[/TD]

</tbody>
 
Upvote 0
Hi gaz_chops,

Thanks for your revert... The above is a snapshot of my data. I just need to calculate the number of months for which my stock in hand at the beginning of the month would suffice. For E.g. the output I am looking for is 15 units in Jan (after purchases) would suffice for 1 month of demand. 35 units of June 15 would suffice for 2 months of demand, etc... This is an almost perpetual sheet running into a number of months with the demand numbers fluctuating frequently. Hence, the need to automate it.

Thanks for your help :)
 
Upvote 0

Forum statistics

Threads
1,223,228
Messages
6,170,871
Members
452,363
Latest member
merico17

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