Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 20
Default Need to calculate future date based on standard duration and input

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
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 141
Default Need to calculate future date based on standard duration andinput

On Apr 11, 11:20*am, Jonathan Horvath
wrote:
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


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
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 20
Default Need to calculate future date based on standard duration and i

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

"cht13er" wrote:

On Apr 11, 11:20 am, Jonathan Horvath
wrote:
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


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

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
Calculate actual trunk utilization based on call start/duration [email protected] Excel Programming 28 February 21st 10 05:57 PM
Calculate Future Date but don't want Morocco Mole Excel Worksheet Functions 6 July 23rd 09 01:08 AM
Calculate a date based on birthdate and future age AMcShea Excel Discussion (Misc queries) 4 January 7th 09 07:49 PM
formula to calculate future date from date in cell plus days Chicesq Excel Worksheet Functions 8 November 3rd 05 12:25 PM
calculate future date kevrgallagher Excel Worksheet Functions 3 July 9th 05 02:26 AM


All times are GMT +1. The time now is 10:34 AM.

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"