Hi all,
I hope someone will be able to help me
We have a worksheet template that on the first sheet (Named StaticCosts) all the variable values for different costing parameters are held (in a range Named Parms)
In the other worksheets in the workbook staff can reference these via the vlookup function and it works beautifully.
As the vlookup statement is always the same except for the
lookup value, I thought it would be cool to
create a excel custom function to allow the staff to only enter the lookup value and the custom function would return the lookup result after running the vlookup function.
Can anyone offer advice on how to pass the range to the vlookup statement in the custom function.
I hope someone will be able to help me
We have a worksheet template that on the first sheet (Named StaticCosts) all the variable values for different costing parameters are held (in a range Named Parms)
In the other worksheets in the workbook staff can reference these via the vlookup function and it works beautifully.
As the vlookup statement is always the same except for the
lookup value, I thought it would be cool to
create a excel custom function to allow the staff to only enter the lookup value and the custom function would return the lookup result after running the vlookup function.
Can anyone offer advice on how to pass the range to the vlookup statement in the custom function.