Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Programming / April 2008

Tip: Looking for answers? Try searching our database.

Need to calculate future date based on standard duration and input

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jonathan Horvath - 11 Apr 2008 16:20 GMT
Hi, I work in a development organization and we take our products through
various "stages"... here are the variables:

1) We start at Stage 1 and Stage 5 means 'ready to ship'
2) We have 3 different product classifications, A, B, C
3) Each classification has a 'standard duration' from various Stages to
Stage 5 (i.e. Stage 1 to Stage 5 for a Class A is 18 months, Stage 2 to Stage
5 for a Class A is 12 months, Stage 1 to Stage 5 for a Class C is 12 months,
etc....

I have a big table in Excel, each Row contains 1 product and lists the
product Class, Stage 1 scheduled date, Stage 1 Actual date, Stage 2 date,
Stage 3 date, Stage 4 date

I need to calculate for each product at any given time the expected Stage 5
date based on the standard duration from the last Stage passed (or the Stage
1 scheduled date for pre Stage 1 products).

I cannot do this in Excel with a formula because there are too many nested
"if" statements... so I'm searching for a way to do this with VBA...

Any help?

thanks!

Jon
Steve - 11 Apr 2008 16:56 GMT
This could be easily be built in a an Access database. If you would like to
build a database to do what you describe, contact me.

Steve
rlaird@penn.com

> Hi, I work in a development organization and we take our products through
> various "stages"... here are the variables:
[quoted text clipped - 26 lines]
>
> Jon
cht13er - 11 Apr 2008 16:58 GMT
On Apr 11, 11:20 am, Jonathan Horvath
<JonathanHorv...@discussions.microsoft.com> wrote:
> Hi, I work in a development organization and we take our products through
> various "stages"... here are the variables:
[quoted text clipped - 22 lines]
>
> Jon

To avoid nested ifs, build a table somewhere, listing all the
different permutations of classes, start stage, and end stage ... and
use vlookups.

That should work, I think..

Chris
Jonathan Horvath - 11 Apr 2008 18:20 GMT
That woud work, but I have a couple of additional constraints I forgot to
manage, I'm responding to you and Steve here...

1) I need to do this in Excel so I can share it with others
2) I need to avoid using vlookups because not everyone has those installed
in Excel - and have you ever tried to get an Executive to do something in
Excel other than open a file and start screaming ??? :)

Jon

> On Apr 11, 11:20 am, Jonathan Horvath
> <JonathanHorv...@discussions.microsoft.com> wrote:
[quoted text clipped - 32 lines]
>
> Chris
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.