vlookups

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

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

VLookups

resolvedResolved · Medium Priority · Version 2007 featured Featured

Naaz has attended:
PowerPoint Intermediate Advanced course
Excel Intermediate course

VLookups

How do you remove or exclude #N/A
from a Vlookup formula

RE: VLookups

Hi Naaz

Thanks for getting in touch.

The best way to mask #N/A errors from the VLOOKUP is to nest it in an IFERROR function. IFERROR looks like this:

=IFERROR(formula, error message)

So your VLOOKUP formula could be modified like this:

=IFERROR(VLOOKUP(A1,B1:C6,2,FALSE),0)

You will need to modify the contents of your VLOOKUP to match yours. The 0 on the end is what is displayed instead of the #N/A error. Alternatives could include: "" would show a blank cell; "Error" for a more obvious error message.

Kind regards

Gary Fenn
Microsoft Office Specialist Trainer

Tel: 0207 987 3777
Best STL - https://www.stl-training.co.uk
98%+ recommend us

London's leader with UK wide delivery in Microsoft Office training and management training to global brands, FTSE 100, SME's and the public sector

Tue 5 Mar 2013: Automatically marked as resolved.


 

Excel tip:

Editing a formula quickly

If you want to edit a fomrula or text quickly witin a cell instead of the formula bar, you can click either double click in the cell or press the F2 key

View all Excel hints and tips


Server loaded in 0.08 secs.