Supplier price list to Shopify: XLOOKUP, then paste
The spreadsheet a supplier sends in October is never in the order your Shopify product list is in. Theirs is sorted by their article number, has 400 rows of which you stock 90, and the price column is a wholesale price you still have to mark up. The job is not typing; it is getting ninety numbers into the right ninety rows. This is the way to do it with one lookup formula and one paste.
The shape of the problem
The Shopify bulk editor is a grid. Each row is a variant, each column a field, and when you paste tab separated text into it, the values land in the rows below the cell you clicked, in order. That is the whole trick, and also the whole risk: paste a column that is sorted differently from the grid and every price lands on the wrong product. Nothing warns you. The numbers look plausible because they are real prices, just not for those rows.
So the work happens in the spreadsheet, before the admin is involved. You want a column of new prices that is in exactly the same order as the bulk editor will show your variants, with a blank or the old price for anything the supplier did not change.
Step 1: export the rows you will edit
- In Products, filter down to the supplier. A vendor filter is quickest; the extension's quick filter chips put Vendor one click away above the list.
- Sort by title (or by SKU, if the list is in a SKU-sorted view). Write down which. The bulk editor opens in the same order as the list you selected from, and you will need to reproduce that order in the spreadsheet.
- Select all rows and choose Export, then Selected products, CSV for Excel. You get a file with Handle, Title, Option values, Variant SKU and Variant Price, one row per variant, in the list order.
With rows per page set to 250 in the extension, a supplier with fewer than 250 variants fits on one page, so select all really means all. On the default 50, select all on page one selects fifty and you export in chunks, which is where ordering mistakes start.
Step 2: XLOOKUP the new price next to each variant
Open your export and the supplier file in the same workbook, as two sheets. In the export, add a column called New price and in the first data row enter:
=XLOOKUP([@[Variant SKU]], Supplier!A:A, Supplier!D:D, "")
Replace A:A with the supplier's article number column and D:D with their price column. The last argument, an empty string, is what you get for variants the supplier did not list. Google Sheets has the same function with the same arguments. If your Excel predates XLOOKUP, INDEX/MATCH does the same job, just with the columns written the other way round.
The match key matters more than the formula. Your Variant SKU has to equal the supplier's article number exactly. Three things break that silently:
- Leading zeros. A SKU of
004512becomes4512the moment Excel decides it is a number. Format both columns as text before you compare, or wrap the key inTEXT(). - Trailing spaces. Supplier files exported from an ERP often pad codes.
TRIM()on the supplier column fixes it. - Your own prefixes. If your SKUs are
ACME-4512and theirs are4512, strip the prefix withMID()orTEXTAFTER()in a helper column and look that up instead.
Then add your markup in a second column: =IF([@[New price]]="", "", ROUND([@[New price]]*1.6, 2)), or whatever your rule is. Round to two decimals; the bulk editor stores what you paste and a price of 23.9960 is not what you want on a product page.
Step 3: check before you leave the spreadsheet
This is the step people skip, and it is thirty seconds. Filter the New price column to blanks and read the titles: those are products the supplier dropped or renumbered. Then sort a copy by the percentage change, =[@Retail]/[@[Variant Price]]-1, and look at the top and bottom five. A 400 percent increase is almost always a unit problem, a case price where you expected a unit price, or a currency problem. Catch it here and it costs one cell; catch it after Save and it costs a customer.
When you are happy, copy the retail column, values only, from the first data row to the last. Not the header. Not the formulas. In Excel that is copy, then Paste Special, Values into a scratch column, then copy that.
Step 4: paste one column into the bulk editor
- Back in Products, with the same filter and the same sort, select all and choose Bulk edit. Confirm the Price column is visible; add it from the column picker if not.
- Scan the first three and last three titles against your spreadsheet. If they match, the order matches.
- Click the Price cell of the first row. Click, do not just hover; the grid only takes a value into a cell that was selected first.
- Press Ctrl+V (Cmd+V on a Mac).
Without the extension, that paste puts the first number in the first cell and drops the rest. With Shopify Admin Power-Up installed, the clipboard is read as rows and columns and each value goes into the matching cell, one row down per line. Rows that are not rendered yet because the grid only draws what is on screen are scrolled into view and filled too. When it finishes you get a toast like "Pasted 90 cells from 90 rows. Review and press Save."
Two numbers in that toast tell you if something is off. "Rows beyond the table" means your spreadsheet had more lines than the grid has rows: you copied the header, a total line, or the filter in the admin is narrower than your export. "Skipped (not a plain text field)" means a value landed on a cell that is a dropdown or a checkbox, which cannot happen in a single Price column unless you started in the wrong column. Either way, do not press Save. Press Discard, fix the source, paste again.
Blank cells in your pasted column write a blank into the grid. For a price field that is not what you want, which is why step 2 leaves the old price, not an empty string, in the retail column for unchanged variants: =IF([@[New price]]="", [@[Variant Price]], ROUND(...)). Pasting the same price a variant already has changes nothing.
Step 5: Save, then spot check
Nothing has reached Shopify until you press Save at the top of the bulk editor. Shopify saves the changed cells and shows how many products were updated. Open two of the products you know changed and one you know did not, and look at the storefront price for one of them. If you use compare-at prices for a sale, remember the paste touched Price only; a compare-at that is now lower than the price shows no strike-through and you will want a second column for it.
When this is the wrong tool
Ninety variants from one supplier is the sweet spot. Two thousand variants across twelve suppliers with new costs and new barcodes is a CSV import job, where the spreadsheet is the whole file and the admin just takes it in. The difference is not the number of rows, it is whether you want to see the grid before you commit. For a monthly price list from one vendor, seeing the grid is the point.