T
therealmichaelnull
I have a sheet with some defined names on it:
Name1 = A1:C1
when I type =Name1 in A5 it returns the value in A1. When I type =Name1 in C5 it returns the value in C1.
Is there a way to replicate this behavior when passing these names to a UDF?
My function work if the defined name is one cell but returns #value when the name is defined as above... I assume this is because my code is not able to except an array.
Any help would be appreciated.
Name1 = A1:C1
when I type =Name1 in A5 it returns the value in A1. When I type =Name1 in C5 it returns the value in C1.
Is there a way to replicate this behavior when passing these names to a UDF?
My function work if the defined name is one cell but returns #value when the name is defined as above... I assume this is because my code is not able to except an array.
Any help would be appreciated.