Hello, all!
(my 1st post ever)
I refer to the following (incredibly useful to me) Chandoo post (by Hui) discussing one-variable and two-variable data tables:
http://chandoo.org/wp/2010/05/06/data-tables-monte-carlo-simulations-in-excel-a-comprehensive-guide/
My question is: Is there a way to have multiple outputs in a two-variable data table?
The background is: I have a large Excel file which takes a long time to re-calculate. I am calculating IRR and NPV (as well as other outputs) for a variety of scenarios (i.e. inputs). I am using a two-variable data table which allows only one output (e.g. IRR). However, I'd also like to calculate the NPV (as well as other outputs) for the same two inputs.
I can certainly do one two-variable table (with the same inputs) for each output - but that means that the calculation time is doubled / tripled, etc. which is unmanageable (one table takes nearly 20 mins to calculate!!). To be clear, all the data tables would have the same inputs in row/column - it's just the output which would be different (e.g. IRR, NPV, etc.).
Note that I cannot use one table to calculate one output (e.g. IRR) and then link all other outputs formulaically to that table - i.e. each output varies with the inputs. Hence - unless there's a clever way to avoid that - I think I really need one table for each output.
One workaround I can think of is to combine the outputs into a text string e.g. "14.2% / $23.6" via TEXT() and "&" - and then parse back the output from the table into two (or more, depending on how many variables I combine in the string) separate tables. But it would be nice to have a "normal" solution ;-)
I don't use VBA, but if a macro is the only solution, then perhaps I need to learn how to do that!
Many thanks to all who take the time to respond,
Ivo
(my 1st post ever)
I refer to the following (incredibly useful to me) Chandoo post (by Hui) discussing one-variable and two-variable data tables:
http://chandoo.org/wp/2010/05/06/data-tables-monte-carlo-simulations-in-excel-a-comprehensive-guide/
My question is: Is there a way to have multiple outputs in a two-variable data table?
The background is: I have a large Excel file which takes a long time to re-calculate. I am calculating IRR and NPV (as well as other outputs) for a variety of scenarios (i.e. inputs). I am using a two-variable data table which allows only one output (e.g. IRR). However, I'd also like to calculate the NPV (as well as other outputs) for the same two inputs.
I can certainly do one two-variable table (with the same inputs) for each output - but that means that the calculation time is doubled / tripled, etc. which is unmanageable (one table takes nearly 20 mins to calculate!!). To be clear, all the data tables would have the same inputs in row/column - it's just the output which would be different (e.g. IRR, NPV, etc.).
Note that I cannot use one table to calculate one output (e.g. IRR) and then link all other outputs formulaically to that table - i.e. each output varies with the inputs. Hence - unless there's a clever way to avoid that - I think I really need one table for each output.
One workaround I can think of is to combine the outputs into a text string e.g. "14.2% / $23.6" via TEXT() and "&" - and then parse back the output from the table into two (or more, depending on how many variables I combine in the string) separate tables. But it would be nice to have a "normal" solution ;-)
I don't use VBA, but if a macro is the only solution, then perhaps I need to learn how to do that!
Many thanks to all who take the time to respond,
Ivo