Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,101
Default Does anyone have a formula for Days or Weeks Supply?

I have a formula that uses a lot of IF statements and am looking for an
improved one. I hope someone can help.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,624
Default Does anyone have a formula for Days or Weeks Supply?

You'd get better responses if you posted more information (such as your
current formula).

In article ,
Mike wrote:

I have a formula that uses a lot of IF statements and am looking for an
improved one. I hope someone can help.

  #3   Report Post  
Posted to microsoft.public.excel.misc
xlm xlm is offline
external usenet poster
 
Posts: 55
Default Does anyone have a formula for Days or Weeks Supply?

what is your IF formula? Without seeing your formula we are unable
to provide you a correct solution.

HTH
--
If this posting was helpful, please click on the Yes button

Thank You

cheers,









"Mike" wrote:

I have a formula that uses a lot of IF statements and am looking for an
improved one. I hope someone can help.

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default Does anyone have a formula for Days or Weeks Supply?

Hard to improve something we can't see.

Post an example.


Gord Dibben MS Excel MVP

On Mon, 22 Dec 2008 09:59:01 -0800, Mike
wrote:

I have a formula that uses a lot of IF statements and am looking for an
improved one. I hope someone can help.


  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 694
Default Does anyone have a formula for Days or Weeks Supply?

Pick your choice, they all relate to date or time.

EDATE,EOMONTH,NETWORKDAYS,WORKDAY,YEARFRAC
DATE,DATEDIF,DATEVALUE, DAY, DAYS360, HOUR
MINUTE, MONTH, NOW, SECOND ,TIME, TIMEVALUE
TODAY. WEEKDAY, YEAR

"Mike" wrote in message
...
I have a formula that uses a lot of IF statements and am looking for an
improved one. I hope someone can help.




  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,101
Default Does anyone have a formula for Days or Weeks Supply?

Well, well, well! I apologize for not providing more info. However, I thought
it was trivial in Days Supply calculation. In any case, here is what I have:

Column C2 D2 E2 F2 G2
...........................
5-Jan 12-Jan 19-Jan 26-Jan 2-Feb .........................
Sales 2,500,000 2,900,000 2,600,000 3,200,000 2,800,000 ...................
Inventory 8,000,000 8,700,000 9,100,000 9,400,000 10,300,000
...................
Production 3,200,000 3,300,000 2,900,000 4,100,000 4,000,000
.....................
Inv+Prod 11,200,000 12,000,000 12,000,000 13,500,000 14,300,000 .............

My formula for calculating Days Supply is:

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

I hope this helps.



"John" wrote:

Pick your choice, they all relate to date or time.

EDATE,EOMONTH,NETWORKDAYS,WORKDAY,YEARFRAC
DATE,DATEDIF,DATEVALUE, DAY, DAYS360, HOUR
MINUTE, MONTH, NOW, SECOND ,TIME, TIMEVALUE
TODAY. WEEKDAY, YEAR

"Mike" wrote in message
...
I have a formula that uses a lot of IF statements and am looking for an
improved one. I hope someone can help.



Reply
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
converting days into weeks chedd via OfficeKB.com Excel Worksheet Functions 5 April 22nd 23 12:13 PM
Weeks of Supply Function jeffbert Excel Worksheet Functions 1 January 31st 07 08:57 PM
Weeks and days sorting out vivi Excel Discussion (Misc queries) 5 October 16th 06 04:31 PM
Weeks of Supply Calculation Langrbj Excel Discussion (Misc queries) 4 March 12th 06 05:46 PM
A number of days into weeks and days Robert Christie Excel Worksheet Functions 4 August 31st 05 03:23 AM


All times are GMT +1. The time now is 08:16 PM.

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

About Us

"It's about Microsoft Excel"