Solved

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

Posted on 2014-07-18
5
14,366 Views
Last Modified: 2016-09-12
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.
0
Comment
Question by:garyrobbins
5 Comments
 
LVL 10

Expert Comment

by:FamousMortimer
ID: 40204759
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
0
 
LVL 21

Accepted Solution

by:
Ejgil Hedegaard earned 500 total points
ID: 40204767
Use IFERROR when IFNA is not available

=IFERROR(VLOOKUP(A2,Sheet2!A2:B9,2,FALSE),G2)
1
 
LVL 10

Expert Comment

by:FamousMortimer
ID: 40204771
^
0
 

Author Closing Comment

by:garyrobbins
ID: 40204856
Pleasingly simple and exactly what I needed, thank you
0
 

Expert Comment

by:P Philippe DESGUIN
ID: 41794363
Great!!!
0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Improved? Move/Copy Add-in Replacement - How to avoid the annoying, “A formula or sheet you want to move or copy contains the name XXX, which already exists on the destination worksheet.” David Miller (dlmille)  It was one of those days… I wa…
This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question