Calculate weeks of forward coverage of inventory on separate sheet

Slkrz

New Member
Joined
Sep 18, 2014
Messages
2
Hi all,

I am having a problem with trying to get this working correctly.

Previously I found a formula which helps to calculate the number of weeks of inventory I have for any week depending on the forecasted demand quantities.

I have included the sample data below:
Forecast103050205040
Inventory20019016011090400
Weeks cover654321

<tbody>
</tbody>

Data range is from A2:H6 and the formula I used is as follows, starting in cell B6:

=IF(B4 < SUM(C2:$H$2),SUMPRODUCT(--(B4>=SUBTOTAL(9,OFFSET(C2:$H$2,,,,COLUMN(C2:$H$2)-COLUMN(C2)+1))))+LOOKUP(0,SUBTOTAL(9,OFFSET(C2:$H$2,,,,COLUMN(C2:$H$2)-COLUMN(C2)+1))-C2:$H$2-B4,(B4-(SUBTOTAL(9,OFFSET(C2:$H$2,,,,COLUMN(C2:$H$2)-COLUMN(C2)+1))-C2:$H$2))/C2:$H$2),IF(B4=SUM(C2:$H$2),COLUMNS(C2:$H$2),"Inventory Exceeds Forecast"))

The formula works well and I am able to get what I want, however, I need to be able to show row 6 in another summary sheet according to part numbers as this sample data is only for one part number. I have about 300 to list.

Also, it has to be repeatable as I get a new set of data every week and I would like to just copy/transfer the data over to another workbook with the summary sheet.

Is there anyway to do that? Does it need a macro or just formulas will do?

Thanks in advance for any assistance!
 
Last edited:

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.
Hi again,

Can anyone help me with this? I really need to find a solution to this soon.
 
Upvote 0

Forum statistics

Threads
1,214,402
Messages
6,119,304
Members
448,886
Latest member
GBCTeacher

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