Solved

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

Posted on 2014-07-18
5
16,814 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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 22

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

SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

Question has a verified solution.

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

Do you use a spreadsheet like Microsoft's Excel?  Have you ever wanted to link out to a non excel file on your computer or network drive?  This is the way I found to do it!
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.

729 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