Inventory template
Stock on hand, reorder point and a value column that flags what to reorder.
What is Inventory template
An inventory sheet answers three questions per item: how many do I have, how many should I have before reordering, and what is the stock worth. The status column is a formula comparing on-hand with the reorder point, so it updates as stock moves.
This tool needs no input.
🔒 Everything runs in your browser. Nothing is uploaded.
What this tool actually does with your file
- Where it runs
- In your browser, on this page
- Upload
- None — the file never leaves your device
- Offline
- Works with the network disconnected
What the columns do
SKU, item, on-hand, reorder point, unit cost, stock value and status. Stock value is =On hand*Unit cost; status is =IF(On hand<=Reorder at,"Reorder","OK") and updates as soon as either number changes.
Why the status says Reorder at exactly the threshold
The comparison is less-than-or-equal, so on-hand equal to the reorder point already counts as low. That is the safe direction: the order goes out one cycle early rather than one cycle late.
When not to use it
When you need movement history. This is a single snapshot with no dates and no transactions. For audit trails, add a second sheet of date / SKU / quantity changes and compute on-hand from it. Recount the flagged rows rather than ordering from the sheet alone. A stock figure that has never been verified is an assumption with a number attached. Keep unit cost to two decimals; a cost typed with four decimals makes the stock value disagree with the finance ledger.
How to use it
- 1.Click Generate — the .xlsx is built in your browser.
- 2.Open it in Excel, Google Sheets or Numbers.
- 3.Replace the sample rows with your own data; the totals recalculate.
How Inventory template works under the hood
An .xlsx file is not a table — it is a ZIP archive of XML parts. Everything you see as a grid is rebuilt from cell references on this page, in memory, without a round trip to a server.
- 1
Read the file as bytes
The file is read into an ArrayBuffer with the File API. This is a local read, not a request — nothing leaves the tab.
- 2
Unzip and parse the workbook
SheetJS inflates the archive, reads workbook.xml for sheet order, sharedStrings.xml for text, and each sheet's XML for cells and types.
- 3
Rebuild rows in memory
Cells are placed by their A1 reference, gaps become empty cells, and the sheet is materialised as a two-dimensional array.
- 4
Write the output locally
The result is serialised to CSV text or a new workbook and handed to the browser as a Blob download.
Processing pipeline
Why formulas arrive as values
A spreadsheet stores two things per formula cell: the formula text, and the value Excel last computed and cached. A browser parser reads the cached value. Making the formula itself run would mean reimplementing Excel's calculation engine — including volatile functions, circular-reference detection and locale-specific parsing. So the exported CSV contains what you last saw on screen, not a live formula.
What has no CSV equivalent
Merged cells, cell fills, fonts, conditional formatting, comments and pivot tables have no representation in a comma-separated file. A merged cell becomes its value in the top-left position and empty cells elsewhere. Dates are written as dates only when the cell is typed as a date; a date stored as text stays text. These are format limits, not bugs.
Where it gets slow
Parsing is linear in cell count, and the browser holds the whole workbook in memory. A 30 MB file with a million populated cells can take several seconds and a few hundred MB of RAM; the tab may feel frozen while SheetJS works. Splitting the file by sheet, or exporting only the range you need, is faster than retrying with a bigger limit.
Verify it yourself
You do not have to take this on faith. Run the tool once with DevTools open.
- 1.Open DevTools on this page and switch to the Network tab
- 2.Keep the filter on Fetch/XHR and run the tool
- 3.Confirm no request carries your file — you should see only page assets and fonts
Frequently asked questions
What exactly is in the inventory template file?
7 columns (SKU, Item, On hand, Reorder at, Unit cost, Stock value, Status) and 3 sample rows with live formulas. Stock value is =On hand × Unit cost.
Is my data uploaded when I download it?
No. The workbook is built by JavaScript in this page from a fixed structure — no file is sent anywhere, and nothing you type later leaves your machine either.
Can it warn me before I run out, not after?
Raise the Reorder at value to your lead time in units — e.g. if a supplier takes two weeks and you sell 5 a week, set it to 10. The formula then fires two weeks before zero.
What this kind of conversion cannot keep
Spreadsheet conversion is lossy by nature: a workbook carries formulas, styles, merged cells and multiple sheets, while CSV carries rows of text. This tool keeps values and order, recalculates nothing, and drops presentation on purpose. That is why it can run without a server — and why a converted file will not look like the original.
More in Spreadsheets & Docs
On this page
- What is Inventory template
- What this tool actually does with your file
- How it actually behaves
- How to use it
- How it works inside
- Frequently asked questions
Excel formula reference
29 functions with syntax, arguments and a table you can retype.
Browse the list →