VLOOKUP between two sheets
“look up each order's product price and category from the product sheet, like a vlookup”
Look up each order's product price and category from the Products sheet for each Orders sheet, like a vlookup.
What the agent built
4 steps, each one an ordinary Mammoth step you can open and change.
- FileOrders sheetCSV export · 18 rows
- FileProducts sheetCSV export · 11 rows
- StepMake order SKU keyStep 1
- StepMake product SKU keyStep 2
- JoinLook up product details17 of 18 paired
- StepShow order detailsStep 4
- ResultOrder Product Lookup20 rows
- ScheduleRuns when you sayProposed
Checked on the sample files: every step ran, 20 rows came out, and the join paired 17 of 18 rows.
- Download Orders sheet sample (18 rows)Excel: open the workbook, click the Orders sheet, then copy the used range as a table
- Download Products sheet sample (11 rows)Excel: open the workbook, click the Products sheet, then copy the used range as a table
What you get back
The result of that run, the rows to look at first.
| Order ID | Unit price | Product category | Order date | Customer | Order SKU | Quantity |
|---|---|---|---|---|---|---|
| 1001 | 18 | Accessories | 2026-09-17 | Northstar Bikes | sku_1001 | 2 |
| 1002 | 31 | Accessories | 2026-09-22 | Miller & Finch | sku_1004 | 1 |
| 1003 | 42.50 | Fitness | 2026-09-29 | Oakline Studio | sku_1002 | 4 |
| 1004 | 118 | Furniture | 2026-10-02 | Harbor Clinic | sku_1007 | 3 |
| 1005 | 12.75 | Kitchen | 2026-10-06 | Bright Kite Co | sku_1005 | 5 |
| 1006 | 24 | Grocery | 2026-10-09 | Juniper Foods | sku_1008 | 2 |
| 1007 | 64 | Home | 2026-10-14 | Clover Supply | sku_1003 | 1 |
| 1008 | 35 | Kids | 2026-10-18 | Atlas Learning | sku_1010 | 6 |
| 1009 | 9.50 | Office | 2026-10-21 | Pine & Pixel | sku_1006 | 2 |
| 1010 | 89 | Electronics | 2026-10-27 | Summit Pets | sku_1009 | 1 |
| 1011 | 31 | Accessories | 2026-10-30 | Blue Lantern | sku_1004 | 2 |
| 1012 | 18 | Accessories | 2026-11-02 | Keystone Fitness | sku_1001 | 3 |
How do you do a VLOOKUP between two sheets?
Export the Orders sheet and the Products sheet from Excel, then use a shared key such as SKU to match rows. The workflow looks up the product price and category for each order row and adds those details to the output. Rows that do not find a match stay unmatched, so you can review them separately.
How it works
How to use the Order Product Lookup workflow
- 1Get early accessWe invite people in small batches, job by job. You'll land on this workflow, already built and checked on the sample files.
- 2Swap in your exportsUpload your own files as they come out of your tools. The agent checks the workflow on your rows.
- 3Change it in words, then turn it onSay what to change and see the new result before anything saves. Then choose when it runs.
Order Product Lookup: questions
Which file should you export from Excel?
What happens if a row does not match?
How do you change the lookup rules?
Get early access to this workflow
It will open already built and checked on the sample files. Swap in your own exports and see your result.
Workflows like this
Remove duplicate rows, catch invoices paid twice, match messy names to a master list, standardise spellings and turn wide tables long.
- Pivot table from raw dataTurn a raw sales export into a pivot table of revenue by region and month.See the workflow Built by the agent
- Remove duplicatesOne row of each, with a Copies column saying how many there wereSee the workflow Template
- Match names to a master listEach record with its master name (and ID), and how it matchedSee the workflow Template
- Compare two listsCompare two exported spreadsheet lists by email, see matches, and label rows where name and email agree or differ.See the workflow Built by the agent
- Duplicate invoice checkPairs of bills that look paid twice: same supplier, same amount, close dates or the same numberSee the workflow Template
- Standardise namesA Standard name for every row, so spellings of the same name group togetherSee the workflow Template