V
vsoler
Hi,
I have a function that, given a Range of cells, performs some
calculation
Say it can be called like this: =Compute(Rng)
However, I sometimes need that the Range "Rng" be made out of two
simpler ones:
Say I call the function with:
Compute(SomeFunc(A1:A10,C1:C10))
But that I want Compute to behave as if there was only a single Range.
Using some Excel built-in functions (union ranges?) puts me in an
ambiguous situation, since I never know if the union is made
horizontally wise, getting a range that is 10X2 (rows X columns) or
else vertically wise, getting a range that is 20X1.
Does anybody have some ideas as to how could I build SomeFunc"?
Thank you.
Vicente Soler
I have a function that, given a Range of cells, performs some
calculation
Say it can be called like this: =Compute(Rng)
However, I sometimes need that the Range "Rng" be made out of two
simpler ones:
Say I call the function with:
Compute(SomeFunc(A1:A10,C1:C10))
But that I want Compute to behave as if there was only a single Range.
Using some Excel built-in functions (union ranges?) puts me in an
ambiguous situation, since I never know if the union is made
horizontally wise, getting a range that is 10X2 (rows X columns) or
else vertically wise, getting a range that is 20X1.
Does anybody have some ideas as to how could I build SomeFunc"?
Thank you.
Vicente Soler