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

vlookups

ResolvedVersion 2007

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:

Customize the toolbar in Excel 2010

You can create your own toolbar which contains your favourite or most used tools. This will make using Excel much more efficient. To do this, you need to click on View, then select Customize Quick access Toolbars and then select Customize. A list of tools will then appear on the screen of which you can add or remove them as you please.

View all Excel hints and tips

Connect with us:

0207 987 3777

Call for assistance

Request Callback

We will call you back

Server loaded in 0.1 secs.