pilotbase.pro

About amountSplit

Drop a CSV or Excel file, choose the column that supplies each row's weight, and allocate shipping, a discount, a payment or any other total. The result works in integer minor units and gives leftover units to the largest remainders, with input order breaking exact ties, so the rounded row amounts always add back to the total. Zero weights and negative totals are supported. Download CSV or Excel, or copy the equivalent PostgreSQL, MySQL 8 or SQLite query. Runs in your browser.

Runs entirely in your browser: your SQL and files are not uploaded. Signed-in members can keep a history of runs and results.

Built on open-source libraries: Papa Parse, fflate.

From the makers

Pilotbase: one admin app for PostgreSQL, MySQL, MongoDB, Redis and more, with an AI agent built in.

Get Pilotbase free

More free data tools