Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I need to lookup a Table to find values, but somtimes my entry is not present
and the function returns '#NA'. In this case I want a blank in column M, otherwise some function. The following code does not run and has an error somewhere in the ActiveCell.Formula. Thanks for any help. Range("M2").Select ActiveCell.Formula = _"=IF((VLOOKUP(B2,'LookupTable'!$A$1:$B$100,1,FALS E)="#NA"),"",IF(G20,(G2-J2)*E2/G2,""))" With ActiveSheet .Range("M2").AutoFill Destination:=Range("M" & lastrow), Type:=xlFillDefault End With |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Vlookup Table - with L/U value as '100 | Excel Discussion (Misc queries) | |||
Vlookup Table Help | New Users to Excel | |||
Vlookup table | Excel Discussion (Misc queries) | |||
Table with VLOOKUP? | Excel Discussion (Misc queries) | |||
Vlookup info being used without vlookup table attached? | Excel Worksheet Functions |