---
title: "Comment by Adan Potyondy on \"Data-cleaning edge cases that break integrations: Excel serial dates, ERP negatives and match keys\" | Hashnode"
description: "Good question. They don't get dropped. The script returns the row with the field empty and adds the field name to a missing list. A filter right after it sends"
url: "https://hashnode.com/posts/data-cleaning-edge-cases-that-break-integrations-excel-serial-dates-erp-negatives-and-match-keys/6afdfd1513ce7768832080c1/comment/6b045e3897ae7d1781356e6f"
---

[Discussion](https://hashnode.com/posts/data-cleaning-edge-cases-that-break-integrations-excel-serial-dates-erp-negatives-and-match-keys/6afdfd1513ce7768832080c1)

Comment [Data-cleaning edge cases that break integrations: Excel serial dates, ERP negatives and match keys](https://hashnode.com/posts/data-cleaning-edge-cases-that-break-integrations-excel-serial-dates-erp-negatives-and-match-keys/6afdfd1513ce7768832080c1)

[Adan Potyondy](https://hashnode.com/@apotyondy)

[Nov 23](https://hashnode.com/posts/data-cleaning-edge-cases-that-break-integrations-excel-serial-dates-erp-negatives-and-match-keys/6afdfd1513ce7768832080c1/comment/6b045e3897ae7d1781356e6f)

Good question. They don't get dropped. The script returns the row with the field empty and adds the field name to a missing list. A filter right after it sends any row with something in that list down a separate review path. That path writes the row to a data table, or to a sheet or ticket queue if the team already works there, with the source value next to it so someone can fix it and re-run it. The rest of the load keeps going.

You're right that blanks are the easy case. A flipped sign or a figure in thousands next to one in units parses fine, so returning empty won't catch it. For those, the checks I'd use compare a value to the rows around it: line items should add up to the reported total, each line's expected sign should be set per source, and a "(in thousands)" header should be stored as a scale setting for that source, not guessed per value. A value that's 1000x off from last period is worth flagging too. None of that is in these functions yet, but it would make a good follow-up post.
