» Preventing a VLOOKUP Function from Returning an Error when an Exact Match is Not Found
CATEGORY - Excel Formula and Function
VERSION - All Microsoft Excel Versions
Problem:We want to create a formula to check whether each number in column B appears in List 1 (Column A).
For each successful search, the formula should return that number.
However, if an exact match is not found, the formula should return a text message to that effect, rather than an error.
Solution:
Use the IF, ISERROR, and VLOOKUP functions as shown in the following formula:
=IF(ISERROR(VLOOKUP(B2,$A$2:$A$9,1,FALSE)),"Number Not Found",VLOOKUP(B2,$A$2:$A$9,1,FALSE))
Book Store:
Recommended Books:
- The Sweet Potato Queens' Big-Ass Cookbook and Financial Planner
- MP Managerial Accounting w/ Topic Tackler, Net Tutor, & PowerWeb
- Essentials of Investments with Standard & Poor's Educational Version of Market Insight + PowerWeb + Stock Trak Coupon
- Microsoft Access Version 2002 Step by Step
- Excel 2002 For Dummies®
- Microsoft Excel 2002 Visual Basic for Applications Step by Step
No comments have been submitted.

