baitmaster
Well-known Member
- Joined
- Mar 12, 2009
- Messages
- 2,042
greetings all
I need to link the start date of one task, to the final end date of any possible combination of previous tasks. Sadly, the precedent tasks will be identified only by a single cell entry containing the name of every relevent one
If only one precedent task, then the start date of the dependent would be simply vlookup (precedent reference)
But since there might be multiple precedents, all details contained within a a cell value of e.g. ("precedent1", "precedent2", etc), I need a function to read all of these in turn, and return the maximum end date of each
As a final pain in my @rse, this function will be in a larger model, containing a lot of statistical processing, hence I can't have a long-winded way of analysing this, as the requirement to recalculate after each iteration (expected 10,000) will slow the model down too much. This is an integral calculation, so cannot be switched off in any way
Preferred way forward would be to write a specific VBA function that effectively recreates VLOOKUP, or maybe INDIRECT or similar, but using multiple references contained in a single text string. Effectively Im trying to recreate certain functionality from MS Project, and convert into Excel for use in calculations. Alternative methods are invited!
Any help is much appreciated
I need to link the start date of one task, to the final end date of any possible combination of previous tasks. Sadly, the precedent tasks will be identified only by a single cell entry containing the name of every relevent one
If only one precedent task, then the start date of the dependent would be simply vlookup (precedent reference)
But since there might be multiple precedents, all details contained within a a cell value of e.g. ("precedent1", "precedent2", etc), I need a function to read all of these in turn, and return the maximum end date of each
As a final pain in my @rse, this function will be in a larger model, containing a lot of statistical processing, hence I can't have a long-winded way of analysing this, as the requirement to recalculate after each iteration (expected 10,000) will slow the model down too much. This is an integral calculation, so cannot be switched off in any way
Preferred way forward would be to write a specific VBA function that effectively recreates VLOOKUP, or maybe INDIRECT or similar, but using multiple references contained in a single text string. Effectively Im trying to recreate certain functionality from MS Project, and convert into Excel for use in calculations. Alternative methods are invited!
Any help is much appreciated