Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I am using this macro but I have two problems when it runs
1 - If the text being searched for isnt there the it still returns a value which is wrong 2- If the text being searched for is there but the result fiel is empty it returns a zero i need it to leave the cell empty Thank you "=IF(RC[-2]="""","""",IF(R[-13]C[-2]=""WBM"",LOOKUP(R[11]C[-2],Densities!C[-5],Densities!C[-4]),LOOKUP(RC[-2],Densities!C[-1],Densities!C)))" Range("H21").Select Selection.AutoFill Destination:=Range("H21:H39"), Type:=xlFillDefault Range("H21:H39").Select Range("H21").Select End Sub |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Lookup Working TOO Well | Excel Discussion (Misc queries) | |||
lookup between two worksheets not working well | Excel Worksheet Functions | |||
LOOKUP Function Not working | Excel Discussion (Misc queries) | |||
lookup not working | Excel Worksheet Functions | |||
LOOKUP is working - but VLOOKUP is not | Excel Discussion (Misc queries) |