My NDCs are 10 digits, or dashed, or zero-padded
All three resolve. A dashed NDC's segment lengths say which of the FDA's three 10-digit layouts it is, so padding it to CMS's 11-digit form is unambiguous. A bare 10-digit number could be any of the three, so all three candidates are tried: one hit is a match, more than one is genuinely ambiguous and the line is reported unmatched rather than guessed.
My export is semicolon- or tab-separated
Then it parses. Commas, tabs, semicolons and pipes are each tried against the first 20 lines, and the one that splits the most consistently wins — so a European-locale Excel export and a copied spreadsheet selection both read without you changing anything. The confirm screen says what it split on and offers a one-click switch to any other delimiter that would give more than one column. If none of the four does, it falls back to comma and you see a single-column preview, which is the point at which you know rather than after pricing.
I included my header row
Fine. Row 1 is read as a header when it names columns we recognise, as data when it doesn't, and you are told which we assumed and why, so you don't lose a row by accident.
My drug names have commas in them
Quoted fields are honoured. A naive split on commas shifted every later column by one position on rows like "ATORVASTATIN CALCIUM 20 MG, TABLET", so cost was read out of the quantity slot and the line priced against the wrong number.
My quantity column might be days supply
For a once-daily drug they are the same number, so the wrong mapping reads as correct on most rows and silently misprices every twice-daily one. Header names cannot rule it out. You are shown the rows where the two candidate columns actually disagree, because those are the rows that prove which is which.
My numbers have dollar signs
Dollar signs and thousands separators are stripped before a cell is read as a number. A cell that still isn't a number is reported as an error on that line rather than read as zero.
My file has a dispensing fee column — or it does not
These are not the same case and are not treated as one. A real extract's INGRD_COST_PAID is ingredient-only by definition, so subtracting a fee again would double-count one that was never in the total. When no fee column is mapped, the total is assumed to bundle the fee and it is backed out.
Some of my cost cells are blank
Blank counts as missing, not zero. Treating a blank as zero would tell you that you paid less than the drug cost: a large, confident "below acquisition cost" credit out of a cell that held nothing.
My drug isn't in NADAC at all
It stays unmatched, with the reason, and it is counted in the total you see rather than quietly dropped. NADAC surveys retail pharmacy invoices, so clinic-administered drugs and specialty infusions are genuinely absent from it.