We are getting #NA when a cell can't find the value. I stumbled across the ISNA function which now returns the word True. Is there a way to have an IIF ISNA = True then maybe run a function to do something else about finding the value? It’s a persons name and one system leaves out the Middle initial. The lookup tab “Base” has teh Middle intial so it does not find a match.
=ISNA(VLOOKUP(B80, Base!D:AZ,44,[highlight #FCE94F]FALSE[/highlight]))
I also tried changing the FALSE parameter to TRUE but that does not seem to work either.
this is my attempt to add the IIF
=IIF(ISNA(VLOOKUP(B80, Base!D:AZ,44,FALSE)=True,Personal.XLSB!FindName,VLOOKUP(B80, Base!D:AZ,44,FALSE))
BTW Personal.XLSB!FindName is a VBA function that finds a name.
Any ideas/suggestions welcome including VBA code
DougP
=ISNA(VLOOKUP(B80, Base!D:AZ,44,[highlight #FCE94F]FALSE[/highlight]))
I also tried changing the FALSE parameter to TRUE but that does not seem to work either.
this is my attempt to add the IIF
=IIF(ISNA(VLOOKUP(B80, Base!D:AZ,44,FALSE)=True,Personal.XLSB!FindName,VLOOKUP(B80, Base!D:AZ,44,FALSE))
BTW Personal.XLSB!FindName is a VBA function that finds a name.
Any ideas/suggestions welcome including VBA code
DougP