Count inventory in Excel with a barcode scanner
Open the free Excel file, save your own copy or download it, add your product list if you have one, and start scanning. Each scan goes on its own row. The Count tab totals every SKU and shows the size, color or any other detail you pick from your product list.
Free, no sign-up with us. Opens in Excel for the web, where you can save a copy to your OneDrive or download the .xlsx. For Excel for Microsoft 365 or Excel 2021 on Windows, and Excel for the web.
Using Google Sheets? Get the Google Sheets version.
Plays from YouTube when you click. Watch on YouTube
Can Excel scan barcodes?
Yes, with a barcode scanner plugged into your computer. You do not need an add-in. A USB or Bluetooth scanner set to keyboard mode types the code into the selected cell and then presses Enter, as if you had typed it yourself. Excel moves down to the next cell, ready for the next scan.
To do it for free, use this template in Excel for the web. Excel for the web is free with a Microsoft account. Desktop Excel on Windows works too if you have Excel for Microsoft 365 or Excel 2021.
No scanner yet? Type each code and press Enter. Typed codes count the same as scanned ones.
What the file does
The template has four tabs:
- How it works. Short instructions, inside the file.
- Scan. You scan here, one code per row. Qty is optional: leave it empty and the row counts as 1, or type 24 for a box of 24. The total scanned shows at the top. The SKU column is set to text, so a code like 012345678905 keeps its leading zero.
- Count. Fills in by itself. You get one line per SKU with its total, in the order you first scanned it. At the top: how many different SKUs you counted and the total quantity.
- Product detail. Your product list. Count looks up each scanned SKU here to show the details you choose.
It is built for counts of up to about 1,000 lines.
Set up in Excel
- Open the template with the button above. It opens in Excel for the web.
- Save your own copy before you start. Use File > Save a copy to keep it in your OneDrive, or File > Download a copy to open it in desktop Excel. Put the date of the count in the file name.
- Paste your product list into Product detail. A product export from your POS works, or any spreadsheet. The SKU goes in column A, column names in row 2 and products from row 3.
- Check that your codes still have their leading zeros after you paste. A code that lost its zero will not match what you scan.
- On Count, use the dropdowns in row 3 (columns C to N) to pick the details you want next to each total, such as Size and Color.
Scan and read the count
- Go to Scan and click the first empty cell under SKU.
- Scan each item. Scan the same shirt twice and Count shows 2 for that SKU.
- For a stack of one item, scan it once and type how many in Qty.
- Open Count to see your totals.
On Count, two markers tell you something needs a look:
- " - " next to a code means that code is not in Product detail. Check for a new item you have not added yet, a mistyped code, or a code that lost its leading zero.
- Check header means the name you picked in row 3 is not a column name in row 2 of Product detail. Pick it again from the dropdown, or fix the name in Product detail.
Which Excel works
| Excel | Works with this file |
|---|---|
| Excel for Microsoft 365 on Windows | Yes |
| Excel 2021 on Windows | Yes |
| Excel for the web | Yes. Free with a Microsoft account. |
| Excel 2024 | We have not tested it yet. |
| Excel for Mac | We have not tested it yet. |
| Excel 2019, Excel 2016 and older | No |
The Count tab uses three Excel functions: FILTER, UNIQUE and XLOOKUP. Microsoft does not include them in Excel 2019 or older, so Count cannot work there. On an older Excel, open the file in Excel for the web instead.
Scanner settings for Excel
Excel needs no setting of its own for scanning. Everything depends on what the scanner sends after each code.
- Keyboard mode. Your scanner manual may call it HID or USB keyboard. In this mode the computer treats the scanner like a second keyboard. Pair a Bluetooth scanner with the computer before you start.
- Enter after each code. By default, Excel moves down one cell when it gets Enter, so scans stack in the SKU column. This is what people mean by "auto enter."
- Not Tab. If each scan jumps one cell to the right, the scanner is sending Tab. Your scans will end up in Qty. Change the scanner's suffix to Enter (sometimes listed as CR). Your scanner's manual shows how.
Test one item before a full count: scan it, then check it shows on Count with its details.
Questions
Can I scan barcodes into Excel with my phone camera?
Not with this file. It is built for a scanner that types into the cell, or for typing codes by hand. Excel cannot use your phone camera with this template.
Can I use Excel to manage my inventory with barcode scanning?
For a stock count, yes: you scan, see each SKU's total and compare it with what you expected to have. A spreadsheet stays the same when you make a sale, though. To keep stock numbers right between counts, you need your POS to track them as you sell.
What is the best Excel inventory template?
It depends on the job. For a product list you type into, a plain inventory list template is enough. For counting with a scanner, pick one that takes one scan per row and totals each SKU for you, which is what this file does.
Is the Excel template free?
Yes. Open it from this page in Excel for the web, with no sign-up and no email to us. Save a copy to your OneDrive (free with a Microsoft account) or download the .xlsx for desktop Excel.