← Foundations · All marketplaces

路径 01 · 模块 03 / 4

Spreadsheet skills: handling catalog files without damaging the data

The spreadsheet habits every marketplace template, export and error file depends on: respecting the file structure, keeping identifiers intact, joining sheets by key without trusting a bad merge, working on large files safely, and a pre-upload checklist to run every time.

阅读约 11 分钟

在本模块中你将学会

  • ✓Read a platform template's structure — header rows, reference tab, allowed values — and save it in the format and encoding the platform expects.
  • ✓Prevent the identifier traps that silently corrupt GTINs and SKUs, and check a column before uploading it.
  • ✓Join a source sheet to a platform export by its key with a lookup formula, and verify the match count before trusting the result.
  • ✓Work on files of hundreds or thousands of rows without deleting context, using filters, a change log column, pivot tables and dated versions.
  • ✓Run a six-step pre-upload checklist on any catalog file.
阅读

A spreadsheet will change your data to be helpful; your job is to stop it.

Every marketplace moves catalog data through spreadsheets: templates you fill, exports you download, error files you fix. The platform reads them literally, and the spreadsheet program reformats them silently. The skills here are the same on every platform; the specific templates and labels live in the platform tracks.

The file is the submission

A template is a contract, not a worksheet. Marketplaces take bulk product data through a template: a spreadsheet laid out the way their system expects. The platform reads the file by header: one or more header rows name each column, and a reference tab (one or two tabs, usually labelled data definitions and valid values) explains each field and lists its allowed values, the spellings it accepts. Never retype, reorder or delete the headers; a renamed column is ignored or rejected.

Save in the format the platform asks for. Most templates are Excel workbooks (.xlsx, sometimes macro-enabled .xlsm); some platforms take plain text instead (.csv, .tsv or tab-delimited .txt), which holds values and separators only, so formatting, other worksheets and formulas disappear on save. Plain text also carries an encoding trap: unless saved in the encoding the platform specifies (usually UTF-8, a text-encoding standard), accented letters, symbols and non-Latin characters arrive garbled.

Keep the original. Leave the downloaded template untouched; work in a renamed duplicate.

Identifier traps

Spreadsheets guess, and guess wrong. A GTIN (the barcode number) beginning with 0 loses that digit, and a 12- to 14-digit code often displays in scientific notation. A SKU (stock-keeping unit, your own code for an offer) like 1-2 or MAR-1 turns into a date, as does a size written 3/4. Format identifier columns as text before you paste, or set the column type to text in the import dialog; a dropped leading zero can be padded back if you know the code length. A rounded-away digit is gone.

The invisible damage. Trailing and non-breaking spaces make two identical-looking codes different values. A word processor's auto-correct substitutes curly quotes, and a field expecting a straight inch mark (") can reject them.

Check a column before you upload. =LEN(A2) shows the length (a UPC, the North American code, is 12 digits; an EAN, 13). =TRIM(A2) strips ordinary outer spaces but not a non-breaking space; remove that with SUBSTITUTE(A2,CHAR(160),"") first. =TEXT(A2,"000000000000") pads dropped zeros back. A distinct count against the row count exposes duplicates.

Matching and merging

Join by the identifier. Your source sheet meets a platform export (its current view of your items) or an error file (failed rows, with reasons). A lookup formula (XLOOKUP, VLOOKUP, or INDEX/MATCH) brings a column across: find this row's key in the other sheet and return the value beside it. Key on SKU or GTIN, never on names.

Three quiet failures.

  • Approximate match. VLOOKUP and MATCH match approximately unless told otherwise (XLOOKUP defaults to exact); demand exact, or a near-miss returns a plausible wrong row.
  • Duplicate keys. A key listed twice in the lookup sheet returns its first row every time; count distinct keys before merging.
  • Blanks versus not found. A matched row with no value comes back blank or, in Excel, as a 0 easy to mistake for a real zero; #N/A means the key was absent. Check the export before treating a 0 as data or an #N/A as a blank.

Check the match count. Count matched and unmatched rows, and explain every miss before trusting the merge.

Working at scale safely

Filter, don't delete. Deleting rows you are not working on destroys context; filter to the ones that matter.

Keep a change log column. Add your own column, outside the template's, recording what changed and why ("capacity corrected against the specification"); remove it from the copy you upload, and from nowhere else.

Resubmit only the failed rows. If 40 of 900 rows failed, the next file holds those 40, corrected, not all 900 (a file the platform refused outright has no failed rows: fix it and resend); resubmitting successful rows can overwrite good data and clutters the next error file.

Count before you report. A pivot table (a summary that groups rows by a column's values) or =COUNTIFS gives counts by status or error reason. That is the counting behind the catalog sweep the platform tracks teach (Amazon 3P → Reports and catalog health): items live, items not live, and why.

Name versions by date and purpose, such as YYYY-MM-DD_bottles_setup_v2.xlsx, and never overwrite the previous version.

The pre-upload checklist

Run it every time, however small the file.

  1. Start from the platform's current template. An old copy may lack a column or hold retired values.
  2. Paste values only, identifiers as text. Text-format identifier columns first, then paste values, not formulas or formatting.
  3. Validate required fields and allowed values against the reference tab. Every required column filled, every constrained field spelled exactly as listed.
  4. Check identifier length and duplicates. LEN on every identifier column, TRIM where needed, a distinct count equal to the row count.
  5. Save in the required format with a dated name. Its format, its encoding if plain text, date and purpose in the name.
  6. Upload and keep the file with its processing result (its per-row report of what passed and failed); the next round starts from both.

Platform specifics: Amazon 3P → Listing creation (flat files, processing reports); Walmart 3P → Item setup (spec templates, Activity Feed); Walmart 1P → Content maintenance (the match key in bulk exports); Amazon 1P → Unavailable pages (the error sheet).

请记住
Identifiers as text, headers untouched, exact-match joins with a counted result, and the file you uploaded kept beside its outcome. Everything else in catalog spreadsheets follows from those four habits.

练习

付诸实践

场景

A fictional drinkware supplier sends you a source sheet of 240 items with SKUs such as MUG-GRN-350 and placeholder GTINs. You need to update the capacity attribute on all of them through a marketplace's bulk template. The platform export you downloaded lists 236 SKUs, and several GTINs in the source sheet display in scientific notation.

练习

  1. Decide whether the GTIN column can be repaired in this sheet or must be requested again from the supplier as text.
  2. Join the source sheet to the platform export by SKU with an exact-match lookup, and account for the four SKUs that do not match.
  3. Build the upload file from the platform's current template with identifiers as text, validate capacity against the reference tab, and name the file by date and purpose.
显示建议方法

If the GTINs were stored as numbers, the leading zeros are gone but other digits may survive; a TEXT formula with a 12-digit mask restores a UPC only if nothing was rounded. If anything was truncated, ask for the column again as text. Text-format the SKU and GTIN columns in the template before pasting values. Match by SKU with an exact-match lookup; the four misses are items not yet set up, SKUs with a stray space or a look-alike character (a letter O for a zero), or items retired from the export, so list them, not blank them. Validate the capacity unit against the reference tab, run LEN and a distinct count, save in the required format with a dated name, and keep the file beside its processing result.

检测

检验你的理解

第 1 题

01You paste a column of 12-digit UPCs into a template and notice every code that began with 0 is now 11 digits. What should you have done before pasting?

第 2 题

02You join your source sheet to a platform export with an exact-match lookup by SKU. Every row returns a status, but several statuses look wrong, and you notice some SKUs appear twice in the export. What is the most likely cause?

第 3 题

03Which of these checks do you run on a catalog file before you upload it? Select all that apply.

选择所有适用项。

第 4 题

04A processing result shows that 17 of the 420 rows in your file failed. You correct the 17 errors. What goes in the next upload file?

第 5 题

05You save a template as a CSV file and upload it. The platform accepts the file, but product names containing accented letters now show garbled characters. What is the most likely cause?

第 6 题

06Put the five preparation steps of the pre-upload checklist in the order the lesson teaches them, from first to last (the upload itself comes after all five).

按正确顺序点击步骤。

查看官方来源

本模块对应的平台官方文档。