Amazon Flat File Yes/No Fields: true/false, y/n, and Common Pitfalls
Which values Amazon's yes/no columns accept depends on the file: category templates use the values in their Valid Values tab (usually true/false), while the Inventory Loader uses y/n or 1/2. Learn how to check, fix and protect these columns.
- ✓Why Amazon's yes/no values depend on which file you upload
- ✓Where to find the exact accepted values for your template
- ✓How the Inventory Loader's shipping columns work
- ✓How Excel and Google Sheets change yes/no values without asking
- ✓How to find and fix invalid values across hundreds of rows
Ready to fix your CSV? Upload it for instant validation and auto-fixes.
Open CSV FixerYes/No Values Depend on the File
Amazon doesn't use one yes/no format across all of its upload files. What a column accepts depends on which file you are filling in:
| File | Example columns | Accepted values |
|---|---|---|
| Category listing template (downloaded from Seller Central for your product type) | batteries_required, are_batteries_included | Whatever the template's Valid Values tab lists for that column. For battery fields this is usually true / false |
Inventory Loader (offer file with sku, product-id, add-delete) | will-ship-internationally | n or 1 for US only, y or 2 for international |
| Inventory Loader | expedited-shipping | Not yes/no: a list of shipping options (see below) |
Amazon's Inventory Loader guide lists batteries_required and are_batteries_included with the options true or false, and Amazon's Listings API stores them as true/false too.
The most common mistake: typing a word that isn't on the template's list, such as Yes, Y or 1 in a column whose Valid Values tab says true / false, or copying a convention from one Amazon file into another.
Check the Valid Values Tab First
Every category template you download from Seller Central has two tabs that settle the question for your file:
- Data Definitions: describes each column and says whether it is required.
- Valid Values: lists the exact values each dropdown column accepts.
Find the column name in the Valid Values tab and copy the values from there, spelled exactly as shown. Templates change over time and differ between categories and marketplaces, so check the version you are about to upload rather than one you saved months ago. If a column you expected isn't in your template, your product type doesn't use it.
Inventory Loader Shipping Columns
If you update offers with the Inventory Loader file (the one with sku, product-id and add-delete columns), two shipping columns look like yes/no fields but follow their own rules. Amazon's Inventory Loader guide defines them like this:
| Column name | Expected values | What it controls |
|---|---|---|
will-ship-internationally | n or 1 for US only, y or 2 for international | Whether you ship the offer outside the US |
expedited-shipping | Next, Second, Domestic, International and Plus, separated by commas, or N for none | Which faster shipping options you offer |
So expedited-shipping isn't a yes/no field, and a y there doesn't match any option. Write Next,Second to offer one-day and two-day shipping, or leave the cell blank if you offer none.
How Spreadsheets Change Yes/No Values
Excel
- Checkboxes and formulas: checkbox cells and formulas like
=IF(A2>0, TRUE, FALSE)produce Excel's ownTRUE/FALSE. That only works if your template's list contains true/false, and it never works in the Inventory Loader'swill-ship-internationallycolumn. - Typed words: a hand-typed
Yes,NoorYstays as typed, so the file ends up with a mix of spellings. - Opening a CSV directly: double-clicking a CSV lets Excel guess column types. Text such as
truemay be turned into Excel booleans and saved back asTRUE.
Google Sheets
Sheets behaves the same way: checkbox columns and formulas produce TRUE / FALSE, whatever the target column expects.
Finding Invalid Values
Filter each column
- Open your file via Data → From Text/CSV so Excel doesn't reformat it.
- Click the filter dropdown on a yes/no column (for example
batteries_required). - Compare the listed values with the Valid Values tab. Anything else is a problem, as is a blank cell in a column the Data Definitions tab marks as required.
Helper column formula
Add a column next to the field and list the accepted values in the formula. For a true/false column:
=IF(OR(LOWER(A2)="true", LOWER(A2)="false", A2=""), "OK", "INVALID: "&A2)
For the Inventory Loader's will-ship-internationally, check for y, n, 1 and 2 instead. Filter for rows showing INVALID to find every problem value.
Fixing Invalid Values in Bulk
Find and replace in Excel
- Press Ctrl+H (Find & Replace).
- In Find what, enter the wrong value, for example
Yes. - In Replace with, enter the value from the Valid Values tab, for example
true. - Click Options and tick Match entire cell contents, so only whole cells change.
- Click Replace All, then repeat for
Noand any other spelling you found.
Important: decide what each value means before replacing. A
Yesinbatteries_requiredand aYesin another column may need different replacements.
Replace formula results with values
If your yes/no columns are computed by formulas:
- Select the column and copy it (Ctrl+C).
- Right-click → Paste Special → Values.
- The formulas become plain text, which you can then fix with Find & Replace.
Google Sheets
- Select the column.
- Edit → Find and replace (Ctrl+H).
- Tick Match case and Match entire cell contents, search for the wrong value and replace it with the accepted one.
Preventing Problems Next Time
Use the template's own dropdowns
Amazon's category templates come with dropdowns built from the Valid Values tab. Enter data in the template itself instead of pasting a CSV over it, and the dropdowns keep values on the list.
Add your own dropdown
For a file without dropdowns, select the column cells below the header, go to Data → Data Validation, choose List, and enter the accepted values, for example true,false (or y,n,1,2 for will-ship-internationally).
Check before every upload
- Open the final file in a text editor (not Excel) and scan the yes/no columns.
- Confirm every value is on the list for that column.
- Fill in any column the Data Definitions tab marks as required.
If you upload with the Inventory Loader, the StriveFormats fixer checks will-ship-internationally and expedited-shipping against Amazon's guide for you.
Upload your CSV to StriveFormats for instant validation, auto-fixes, and a clean export.

