LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,101
Default Does anyone have aformula for Weeks Supply?

I have a formula that uses a lot of nested IF statements and am looking for an
improved one.
Currently, I calculate my weeks supply as follows:

Row C1 D1 E1 F1
5-Jan 12-Jan 19-Jan 26-Jan
Sales 2.5 2.9 2.6 3.2
Inventory 8.0 8.7 9.1 9.4
Production 3.2 3.3 2.9 4.1
Inv + Prod 11.2 12.0 12.0 13.5

My Weeks Supply formula for Jan 5 is:

=IF(D6=SUM(D3:I3),(6+(D6-SUM(D3:I3))/J3),IF(D6=SUM(D3:H3),5+(D6-SUM(D3:H3))/I3,IF(D6=SUM(D3:G3),4+(D6-SUM(D3:G3))/H3,IF(D6=SUM(D3:F3),3+(D6-SUM(D3:E3))/G3,IF(D6=SUM(D3:E3),2+(D6-SUM(D3:F3))/F3,0)))))

The formula works, however it has its limitations. If anyone has a different
or improved one, I would appreciate sharing it with the group.
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Does anyone have a formula for Days or Weeks Supply? Mike Excel Discussion (Misc queries) 5 December 23rd 08 12:48 AM
Need formula like ISBLANK that returns "no value" even if there is aformula in referenced cell insitedge Excel Worksheet Functions 1 May 7th 08 01:27 PM
Weeks of Supply Function jeffbert Excel Worksheet Functions 1 January 31st 07 08:57 PM
Weeks of Supply Calculation Langrbj Excel Discussion (Misc queries) 4 March 12th 06 05:46 PM
calculate weeks from a start date ( not yr weeks) Todd F. Excel Worksheet Functions 6 November 27th 04 05:53 PM


All times are GMT +1. The time now is 04:18 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"