Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

7 ) Use IFERROR to display a message if VLOOKUP doesn t find your entry. To do this we will use a logical function and

7) Use IFERROR to display a message if VLOOKUP doesnt find your entry.
To do this we will use a logical function and a lookup function together. When I am using logical functions with other functions, I like to build
outward. This means I am working somewhat backwards, but it helps me troubleshoot errors if they come up.
Click cell G9.
Go to the formulas tab and click Insert Function. Select VLOOKUP.
Type Joshua for your lookup_value
Select the entire data table (A4:D17) for your table_array.
Type 2, which corresponds to No. Customers, for your col_index_num.
Type FALSE, which gives an exact match, for your range_lookup.
Click OK
Your cell should now have #N/A.
Now click cell G9 again.
First place a parenthesis to the left of the VLOOKUP.
Now add IFERROR between the equal sign and the parenthesis left of the VLOOKUP.
Now add a comma to the right of the far-right parenthesis.
Now add Not Found :-((or some other humorous message).
Close the function by adding a parenthesis to the right of your message and hit enter.
Your cell should now have Not Found :-(, or whatever humorous message you chose. The IFERROR function can be nice because it
gives a better visual indicator of why your function did not work, and can be helpful when you are using logical/lookup functions on
large datasets.
Question 7: How many customers did Joshua have? Without an Error message showing.
Not Found :-(

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Security XI Status And Prospects

Authors: T.Y. Lin, Shelly Qian

1st Edition

0412820900, 978-0412820908

More Books

Students also viewed these Databases questions