Ghost Sheet

Lookup with a wildcard: match the start of a name

How do I look up a supplier whose full name has “Ltd” after it?

This is the task for this topic. It is part of the plan; the level check before it is free.
C2Type a formula for C2, starting with =

Click the sheet or the button: the task opens in your workspace, ready to type

ABCDE
1SupplierReasonPhone
2Calder PaperLate delivery
3Fenwick ToolsPrice query
4Calder PaperLate delivery
5Brightline ChemicalsPrice query
6Tidewater FreightDamaged goods
7Calder PaperLate delivery
8Brightline ChemicalsNew order
9Tidewater FreightNew order
10Marlow PrintPrice query
11Brightline ChemicalsPrice query
12Brightline ChemicalsDamaged goods
13
14
15
16
17
18
19
20
21
dashed: the answer to reachblack: matchesblue: right after new datared: wrong

Why it works

What it does
In an exact lookup, key&"*" matches any text that starts with the key, so “Calder Paper” finds “Calder Paper Ltd”. Useful when two systems name the same thing slightly differently. Check no two names share a start.
The shape of the formula
=VLOOKUP(key&"*", table, column number, FALSE)
How to remember it
&"*" says “starts with”.
The usual mistake
Using a wildcard when one name is the start of another, such as “Kite” and “Kite Studio”. The first match wins, right or not.

Keep practicing

Updated