Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
I need a way to trick a function to return more than one value. Basically I have a function which works conceptually like this (of course, my function is more complicated): ================================================== === Function My_Function (var1 as Double, var2 as Double, var3 as Double) (code1) Calc1=var1*var2 Calc2=var1*var2 (code2) End Function ================================================== === I need a way to "extract" both Calc1 and Calc2 in Excel. One way I was thinking was to create two functions, but this would be a waste of resources, since there are a lot of calculations in (code1). One the other hand, for any updates, there are two functions to change, instead of one. Any ideas? Thanks. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Returning multiple values | Excel Discussion (Misc queries) | |||
Returning Multiple values | Excel Worksheet Functions | |||
VLOOKUP Function returning multiple values in a separate table | Excel Worksheet Functions | |||
Looking up multiple values and returning one corresponding value | Excel Worksheet Functions | |||
Returning single/multiple values from array function | Excel Programming |