hello everyone,
I am trying to calculate the stock coverage in numbers of months and I haven't figured out how to do this without a macro.
My data is something like this, with stock available only for the current month and I would like to see how many months would this figure would cover in terms of demand.
[TABLE="class: grid, width: 500, align: center"]
<tbody>[TR]
[TD]months[/TD]
[TD]1[/TD]
[TD]2[/TD]
[TD]3[/TD]
[TD]4[/TD]
[TD]5[/TD]
[TD]6[/TD]
[TD]7[/TD]
[TD]8[/TD]
[TD]9[/TD]
[TD]10[/TD]
[TD]11[/TD]
[TD]12[/TD]
[/TR]
[TR]
[TD]demand[/TD]
[TD]10[/TD]
[TD]15[/TD]
[TD]25[/TD]
[TD]82[/TD]
[TD]23[/TD]
[TD]44[/TD]
[TD]52[/TD]
[TD]25[/TD]
[TD]14[/TD]
[TD]78[/TD]
[TD]23[/TD]
[TD]6[/TD]
[/TR]
[TR]
[TD]stock[/TD]
[TD]40[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]stock coverage (in months)[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
I would kindly appreciate any input from your side.
Thanks!
I am trying to calculate the stock coverage in numbers of months and I haven't figured out how to do this without a macro.

My data is something like this, with stock available only for the current month and I would like to see how many months would this figure would cover in terms of demand.
[TABLE="class: grid, width: 500, align: center"]
<tbody>[TR]
[TD]months[/TD]
[TD]1[/TD]
[TD]2[/TD]
[TD]3[/TD]
[TD]4[/TD]
[TD]5[/TD]
[TD]6[/TD]
[TD]7[/TD]
[TD]8[/TD]
[TD]9[/TD]
[TD]10[/TD]
[TD]11[/TD]
[TD]12[/TD]
[/TR]
[TR]
[TD]demand[/TD]
[TD]10[/TD]
[TD]15[/TD]
[TD]25[/TD]
[TD]82[/TD]
[TD]23[/TD]
[TD]44[/TD]
[TD]52[/TD]
[TD]25[/TD]
[TD]14[/TD]
[TD]78[/TD]
[TD]23[/TD]
[TD]6[/TD]
[/TR]
[TR]
[TD]stock[/TD]
[TD]40[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]stock coverage (in months)[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
I would kindly appreciate any input from your side.

Thanks!