isna

Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

Forum home » Delegate support and help forum » Microsoft Excel Training and help » ISNA

ISNA

resolvedResolved · Low Priority · Version 2007

Anjana has attended:
Excel Intermediate course

ISNA

how do i use an isna?

RE: ISNA

Hi Anjana

Thank you for your question.

ISNA() tests the results of a function such as VLOOKUP(). For example if the input for the lookup is not found the function returns a value of #NA. This causes problems if the results are included in a SUM() range as they can't be totalled.

ISNA can be combined with IF() statements to replace the #NA message with something more useful such as zero.

=IF(ISNA(VLOOKUP(E6,B7:C11,2,FALSE)),0,VLOOKUP(E6,B7:C11,2,FALSE))


in this example the IF function's logical test is the VLOOKUP withn an ISNA function. The result is either TRUE (the lookup failed to find a match and so would show NA) or FALSE (lookup would show a returned value from the list). Based on this test the value if true is zero, the value if false is the Vlookup again. This time it's not in an ISNA function so it returns the result of the lookup.

I hope this helps. Do let us know if you have any further questions.

Kind regards,
Andrew

Wed 9 Dec 2009: Automatically marked as resolved.


 

Excel tip:

Using the Quick Access Toolbar in Excel2010

The Quick Access Toolbar is included in virtually every Office product, including Outlook 2010, Word 2010, Excel 2010, and PowerPoint 2010.

You will find the Quick Access Toolbar in the top-left side of the window. To begin, click the Customize button (it's the little black arrow at the end of the toolbar).

Simply click the commands you want to include.

Virtually any command can be added to the Quick Access Toolbar. Click the More Commands option and a new window will open from where you can browse the commands including those not on the ribbon.

View all Excel hints and tips


Server loaded in 0.08 secs.