98.7% Of all customers recommend us, we're so confident about our results we publish all reviews and stats
View Live Stats View ReviewsForum home » Delegate support and help forum » Microsoft Excel Training and help » VLookups
VLookups
Resolved · Medium Priority · Version 2007 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.
Training information:
See also:
Welcome. Please choose your application (eg. Excel) and then post your question. Our Microsoft Qualified trainers will then respond within 24 hours (working days). Frequently Asked Questions
Any suggestions, questions or comments? Please post in the Improve the forum thread. |
Excel tip:Editing a formula quicklyIf 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 |