Link to home
Start Free TrialLog in
Avatar of garyrobbins
garyrobbinsFlag for United States of America

asked on

hello, how do I do an IFNA formula in Excel 2010

i am trying to fill in cell K2 by looking at A2, if A2 exists in a table on sheet 2 using Vlookup i want to use the Vlookup result.  If the Vlookup returns #n/a i want to use G2.  I have been looking into it and i believe i want is the IFNA formula that was introduced for 2013 but i need a way to do it in 2010.
Avatar of FamousMortimer
FamousMortimer
Flag of United States of America image

Hi, Please see attached workbook for a working example.  The formula should be like below...
=IF(ISNA(VLOOKUP(A2,Sheet2!A2:B9,2,FALSE)),G2,VLOOKUP(A2,Sheet2!A2:B9,2,FALSE))

Open in new window

Example.xlsx
ASKER CERTIFIED SOLUTION
Avatar of Ejgil Hedegaard
Ejgil Hedegaard
Flag of Denmark image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of garyrobbins

ASKER

Pleasingly simple and exactly what I needed, thank you
Avatar of P Philippe DESGUIN
P Philippe DESGUIN

Great!!!