Memuat
Memuat
Flexible XLOOKUP Search for vehicle garage
0 views
XLOOKUP searches left or right and has a built-in fallback value. Handy for pulling a category from a price or the other way round.

Two-way lookups that do not depend on column order.
The real project file is available. It is not just the picture above: you get the working file with every formula in place. It can be downloaded after payment, and we send the download link by WhatsApp or email.
.xlsx workbook (.xlsx)
| Cell | Formula | What it does |
|---|---|---|
| H2 | =IFERROR(XLOOKUP(B2,Master!A:A,Master!B:B,0),IFERROR(INDEX(Master!B:B,MATCH(B2,Master!A:A,0)),0)) | Unit price, 0 when the item is missing. |
| I2 | =IFERROR(XLOOKUP(B2,Master!A:A,Master!C:C,"Tanpa kategori"),IFERROR(INDEX(Master!C:C,MATCH(B2,Master!A:A,0)),"Tanpa kategori")) | Category with a fallback text. |
| J2 | =IFERROR(XLOOKUP(MAX(Data!G:G),Data!G:G,Data!B:B),INDEX(Data!B:B,MATCH(MAX(Data!G:G),Data!G:G,0))) | Item with the largest transaction total. |
| J5 | =IFERROR(XLOOKUP("*"&J4&"*",Master!A:A,Master!B:B,"Tidak ada",2),IFERROR(INDEX(Master!B:B,MATCH("*"&J4&"*",Master!A:A,0)),"Tidak ada")) | Look up a price from a partial keyword in J4. |
Columns of the Data sheet:
| Service or Spare Part | Price |
|---|---|
| Motorbike Oil Change | 55,000 |
| Car Oil Change | 350,000 |
| Routine Motorbike Service | 90,000 |
| Car Tune Up | 450,000 |
| Front Brake Pad Replacement | 120,000 |
| Motorbike Tire Replacement | 250,000 |
| Car Battery Replacement | 900,000 |
| Spark Plug Replacement | 30,000 |
| Radiator Flush | 150,000 |
| Alignment and Balancing | 200,000 |
The sample data is synthetic.
Yes. The picture above is only a preview. After payment we send the download link of the real project file (an .xlsx workbook) by WhatsApp or email.
No. The sample data is synthetic and only shows how the formulas behave. Replace it with your own data and the formulas keep working.
Yes, as a separate order. Message us on WhatsApp with a short description of your columns and what you want to see.
Sample data is synthetic. Excel is a trademark of Microsoft Corporation.
Back to Excel portfolio