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

look up

ResolvedVersion 365

Keith has attended:
Excel Advanced course

Look up

Option for wild card selection in lookups

RE: Look up

Hello Keith,

Thank you for your question about Wildcards.

The option for Wildcards appears in the XLOOKUP function. Suppose you want to return the salary for a member of staff called Pamela but you know her as Pam. If 'Pamela' is in the dataset to be extracted then do the following:

1. Type Pam* in the lookup value cell eg. B3

2. Let's say the list of staff containing the name Pamela is in column D and the salaries are all listed in column E

3. In another cell type =XLOOKUP(B3,D:D,E:E,"staff not found",2)

- where "staff not found" replaces any errors as a result of any name in B3 that is not in the staff list. The 5th argument showing 2 means you are asking Excel to perform a Wildcard selection so the XLOOKUP will find the first instance of any name beginning with Pam and return her salary

I hope this makes sense and if you have any further questions please post them here in the forum

Kind Regards
Martin

 

Training courses

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
What does 'Resolved' mean?

Any suggestions, questions or comments? Please post in the Improve the forum thread.

Excel tip:

Manually wrapping text

To manually wrap text, use the shortcut key Alt+Enter.

To cancel manual text wrapping, simply delete the new line.

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.08 secs.