How to Catch Blank Fields Before a Shopify Product CSV Overwrite
You change prices in a Shopify product CSV, but one product’s Vendor field is empty in the edited file. If you overwrite products with matching handles, that blank cell can clear the existing Vendor. Leaving the entire Vendor column out of the import can preserve the existing value. Shopify documents the difference.
Compare the files before importing
Keep a fresh Shopify product export as your baseline and work on a copy. Start by comparing the CSV headers. If Vendor is absent, the Vendor blank-cell check does not apply. If the column is present, join the existing export and proposed import by URL handle for one-row-per-product files. For variant-level fields such as Price, use the handle and applicable option values, and review ambiguous matches before comparing prices. Keep the original export and import row references in the review sheet.
Try the Vendor check in Excel
These five synthetic rows are already aligned on a review sheet. The first four represent one row per product. The fifth is an unmatched row for review. The proposed CSV includes Vendor. Paste this table into A1, splitting on commas if needed. This review table is for Excel and leaves out Shopify import fields.
URL handle,Current Vendor,Proposed Vendor
blue-mug,Harbor Ceramics,
steel-kettle,North Metal,North Metal
wood-tray,,
glass-jar,East Glass,West Glass
,Harbor Ceramics,
In D2, enter the formula and fill down through D6.
=IF(A2="","Review handle",IF(AND(B2<>"",C2=""),"Review possible clear","No blank-clear flag"))
D2 flags one possible clear. Existing Vendor is populated in B2 and the proposed C2 is blank. D6 flags the missing handle. D3, D4 and D5 have no blank-clear flag. The vendor replacement in B5:C5 still needs approval if you intended a price-only update. Keep blank-clear checks and other changed values visible in the review.
Check supplier SKU matches before you copy prices
If a supplier sends new prices, compare its SKUs with a fresh store export in a separate review sheet. A first-match lookup can return $18 for a SKU even when the same file also lists $21. Check that the SKU appears exactly once in each file before bringing over a price. Shopify’s SKU guidance recommends unique SKUs and says that case matters when syncing with third-party apps.
Use one supplier file at a time. Keep identifiers as text, including leading zeros, and confirm that the supplier and store use the same SKU. If the supplier uses different codes, use a verified mapping. In this synthetic example, the prices are proposed selling prices in the same currency and unit. Raw supplier costs belong in a separate review.
Put the store SKU column in A1:A11 and the supplier columns in H1:I11. This table shows what goes on the same Excel row for easy setup. The two lists are independent. A match can sit anywhere in either list. Leave the marked blank inputs empty.
| Excel row | A · Store SKU | H · Supplier SKU | I · Proposed selling price |
|---|---|---|---|
| 2 | BX-01 | BX-01 | 24 |
| 3 | BX-02 | BX-02 | 18 |
| 4 | BX-03 | BX-02 | 21 |
| 5 | BX-04 | BX-04 | 19 |
| 6 | BX-04 | BX-05 | 20 |
| 7 | bx-05 | BX-07 | blank |
| 8 | blank | BX-08 | TBD |
| 9 | BX-07 | BX-09 | 0 |
| 10 | BX-08 | BX-10 | 40 |
| 11 | BX-09 | BX-11 | -3 |
Enter the formulas in B2:E2 and fill down to row 11. The price check uses a positive numeric price as the rule for this batch. Review any intended zero-price item separately. In a larger file, extend the store and supplier ranges to their respective last rows. Resolve spreadsheet errors before reviewing candidates.
B2 (store matches) =IF(A2="","",SUMPRODUCT(--EXACT(A2,$A$2:$A$11))) C2 (supplier matches) =IF(A2="","",SUMPRODUCT(--EXACT(A2,$H$2:$H$11))) D2 (positive numeric prices) =IF(A2="","",SUMPRODUCT(--EXACT(A2,$H$2:$H$11),--ISNUMBER($I$2:$I$11),--($I$2:$I$11>0))) E2 (candidate price) =IF(AND(B2=1,C2=1,D2=1),SUMPRODUCT(--EXACT(A2,$H$2:$H$11),$I$2:$I$11),"Review")
Only E2 returns a candidate, $24. C3 counts two quotes from H3:I4, so E3 says Review. B5 and B6 each count two store variants. The case mismatch in A7 and H6 also stays in Review. Blank, text and zero prices return Review in E9:E11. Review unmatched supplier rows separately if you expect the batch to cover all supplier items.
Copy only reviewed prices back to the intended variant rows in your store export. Keep the handle and applicable variant options intact. If the two lists sit on separate tabs, try asking Jolene.pro to list zero-match and multiple-match rows in both directions and show the original SKU and price cells. The formulas were checked independently on synthetic data. No Shopify import or live Jolene.pro result was verified.
When a supplier code contains a question mark or asterisk
If a supplier export already contains punctuation in its part numbers, keep the raw codes unchanged while you confirm which store variants they belong to. A plain COUNTIF treats ? as one character and * as any sequence, even when the criterion comes from a cell. In a Microsoft Q&A example, a reader ran into the same behavior when trying to count literal question marks. Shopify recommends simple SKUs. This check is for codes you have already received.
On a new sheet, format columns A and F as Text. Put Code to check in A1. Put R?7, T*9, K~2 and Z-00 in A2:A5, leaving A6 blank. Paste this synthetic supplier list into F1. These are separate practice records from the price example above.
Supplier code
R?7
R17
R27
T*9
t*9
TA9
T0019
K~2
X-00
To see the wildcard effect, enter this in B2 and copy it to B3, B5 and B6. Leave B4 empty.
=IF(A2="","",COUNTIF($F$2:$F$10,A2))
In C2, escape each tilde first, then each asterisk and question mark. The leading equals sign tells COUNTIF to compare the whole criterion for equality. Fill down through C6. Use this result only when your matching rules allow case differences.
=IF(A2="","",COUNTIF($F$2:$F$10,"="&SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(A2,"~","~~"),"*","~*"),"?","~?")))
In D2, use EXACT when spelling, punctuation and capitalization all have to match. Fill down through D6.
=IF(A2="","",SUMPRODUCT(--EXACT(A2,$F$2:$F$10)))
| Cell | Code | Plain COUNTIF | Escaped COUNTIF | Case-sensitive count |
|---|---|---|---|---|
| A2 | R?7 | 3 | 1 | 1 |
| A3 | T*9 | 4 | 2 | 1 |
| A4 | K~2 | Skipped | 1 | 1 |
| A5 | Z-00 | 0 | 0 | 0 |
| A6 | Blank | Blank | Blank | Blank |
The three plain matches for R?7 are in F2:F4. Only F2 has a literal question mark. For T*9, escaped COUNTIF still counts both F5 and F6 because it ignores case. EXACT counts only F5. A single supplier match still needs the store-side uniqueness and price checks above before you copy a price. See Microsoft’s COUNTIF reference and EXACT reference.
To review a larger supplier list with Jolene.pro, keep the original code columns and ask for zero-match rows, duplicate exact matches and pairs that differ only in case. Ask for the original cell addresses and values so you can confirm the discrepancies in Excel before updating the store. The synthetic formula results were independently checked. A live Jolene.pro result was not verified.
Check the final import file
For a price-only update, verify that the final file has the intended products and variants, and keep every field Shopify requires for the update. Remove Vendor only if it is outside the change and leaving it out is appropriate for that file. If Vendor must stay, carry forward the current value where no change is intended. Check Shopify’s column dependencies before removing any variant fields. If you’re changing inventory quantities, use the separate inventory CSV check.
For a second check, open the aligned review sheet in Jolene.pro and ask which Vendor changes would clear an existing value, which rows have missing handles, and where the source cells are. The five synthetic formula outcomes were checked independently. No Shopify import was run and a live Jolene.pro result was not verified.