Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I am a beginner in VBA; nevertheless, I already have several working UDF's
in Excel 2003, though. Why does TGI(A213) gives me "#VALUE!" - while A213 contains "30/11/2013", - the formula - in the right module - is : Option Explicit Function TGI(ABC As Date) As Single TGI = Application.WorksheetFunction.VLookup(ABC, _ Range(Workbooks("INDEX.XLS").Worksheets("INDEX").R ange("DBINDEX")), _ 2, _ True) End Function - the range DBINDEX in the sheet INDEX in the workbook INDEX.XLS is A2:G470, and - in that range cell A373 contains "30/11/2013" ? Can somebody help me ? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
If (Vlookup 0) working, but what if Vlookup cell does not exist | Excel Worksheet Functions | |||
VLookUp - Does the VLookUp return the exact information? | Excel Worksheet Functions | |||
Vlookup in vlookup - taking the result as array name | Excel Worksheet Functions | |||
Combine VLOOKUP and IF function so #NA isn't returned as a value from VLOOKUP | Excel Discussion (Misc queries) | |||
Vlookup info being used without vlookup table attached? | Excel Worksheet Functions |