The exact numbers of arguments and of numbers to output isn't of much interest.
The relevant fact is in what way the numbers for output can be calculated.
If this must be done by different (basically independent) expressions there is -imo- no way based on standard functions of Calc.
It can be done with the help of user code, but it won't be practicable to write an extra function for every number of arguments. To get a more flexible solution the ParamArray concept available under "Option VBAsupport 1" would be very useful.
In special cases the task can be done by standard formulas. This is possible if the multiple results can be calculated as elements of a sequence described by a non-recursive generator. Even 2D-arrays are somtimes to get this way.
You find some examples in the attached document. For open questions please be more precise about your actual problem and attach an example file (what I have / what I want) yourself.
The relevant fact is in what way the numbers for output can be calculated.
If this must be done by different (basically independent) expressions there is -imo- no way based on standard functions of Calc.
It can be done with the help of user code, but it won't be practicable to write an extra function for every number of arguments. To get a more flexible solution the ParamArray concept available under "Option VBAsupport 1" would be very useful.
In special cases the task can be done by standard formulas. This is possible if the multiple results can be calculated as elements of a sequence described by a non-recursive generator. Even 2D-arrays are somtimes to get this way.
You find some examples in the attached document. For open questions please be more precise about your actual problem and attach an example file (what I have / what I want) yourself.
Statistics: Posted by Lupp — Fri Aug 09, 2024 7:53 pm