Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hello,
Can anyone tell me if this custom function could work like this or I must define anything alse ?: Function CustomVLookup(valuename) CustomVLookup = VLookup(valuename, A1:B1, 2, False) End Function Thanks |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Sure you want A1:B1?
why not try =if(A1<Valuename,na(),B1) anyway, Function CustomVLookup(valuename) CustomVLookup = Evaluate("VLookup(" & _ Valuename & ", A1:B1, 2, False) End Function Good change this will not recalculate if you change anything in A1:B1 -- Regards, Tom Ogilvy "Martin" wrote: Hello, Can anyone tell me if this custom function could work like this or I must define anything alse ?: Function CustomVLookup(valuename) CustomVLookup = VLookup(valuename, A1:B1, 2, False) End Function Thanks |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Creating a Custom Excel Function to Calculate Gini Coefficients | Excel Worksheet Functions | |||
Custom Function Call | Excel Discussion (Misc queries) | |||
Help with VLookup function | Excel Worksheet Functions | |||
Excel option to store trendline's coefficients in cells for use | Charts and Charting in Excel | |||
Array Function with VLOOKUP | Excel Worksheet Functions |