Scanning & Lookup

How to Scan Barcodes Into Excel and Save a Reliable List

Scan barcodes into an Excel list or import a phone app’s CSV. Learn how to keep leading zeros and check saved entries against the original codes.

Share
Table of contents

To scan barcodes into Excel, use a compatible scanner that sends decoded data as keyboard input, select the first cell in a barcode column formatted as Text, and scan. Alternatively, a phone app that supports exporting scan records can provide a file to import. In either case, test a few codes first, compare the saved values with the originals, and reopen the file before relying on the list.

Choose how to get scans into your sheet

Your setup How the data reaches Excel Check before you start
USB or Bluetooth scanner with keyboard input The scanner sends the decoded value to the active cell, much like typing. Confirm compatibility with your computer and barcode types, pairing or connection, and the scanner’s output mode.
Phone app with file export The app saves scans, then you export a supported file such as CSV and import it into Excel. Check that the specific app and version can export the records and fields you need; scan history alone does not guarantee export.
Phone-to-computer or cloud connection A compatible service sends data to a connected application or provides a data feed. Check setup, permissions, refresh behavior, costs and who can access the data.

Keyboard-style output depends on the device and its configuration. For example, Zebra’s DataWedge can send captured data as keystrokes and configure an Enter or Tab action, but that is a feature of the supported Zebra setup—not a default for every scanner. [1]

Method 1: Scan directly into Excel

These steps assume a scanner configured to send keyboard input to your computer. Menu names vary by Excel version and operating system.

  1. Prepare the list. Create a workbook with a Barcode header in A1. Add columns such as item description, location or quantity if you need them. Keep identifiers in their own column.
  2. Format the barcode cells as Text before scanning. Select the cells you will use and choose the Text number format. Identifiers are labels, even when they contain only digits. Excel can otherwise remove leading zeros or change long numeric values. [2]
  3. Connect and test the scanner. Follow its manual to connect or pair it and select keyboard input if needed. Click A2. Scan a code whose expected value you can read or otherwise verify. The decoded value should appear in the selected cell; compare every character, including leading zeros.
  4. Check where the next scan goes. Scan a second known code. If both values run together or the selection stays in the wrong place, consult the scanner’s settings for an Enter or Tab suffix and check Excel’s movement settings. Enter’s direction can be changed in Excel, so do not assume it always moves down. [3] Repeat the two-code test after changing a setting.
  5. Scan the remaining items. Watch the active cell and keep each scan on the intended row. A beep alone is not confirmation that the correct value reached the correct cell.
  6. Save and reopen the workbook. Save as an Excel workbook, reopen it, and compare a sample of the stored entries with the source labels. Include a leading-zero value and any long or unusual identifiers in that check.

A scan log records events. It does not automatically know whether an item was received, sold or counted. If you need a stock balance, define how each scan and quantity affects that balance and verify the calculation separately.

Method 2: Export scans from a phone app

Choose an app that explicitly supports the barcode formats and export fields you need. Its scan history may be useful on the phone, but check its documentation and your installed version for CSV or spreadsheet export before collecting a large batch. Export options differ by app and operating system; for example, one ASReader demo documents CSV export for its supported device and app, not for every phone scanner. [4]

  1. Create a scan list in the app and scan two known labels. Check the values and confirm whether repeated scans create separate rows or update a quantity.
  2. Export a small test file using the app’s documented export option. Check what it includes: barcode values, timestamps, quantities and descriptions may be separate fields or unavailable.
  3. In a supported desktop Excel version, use Data → From Text/CSV to select the file. In the preview, choose Transform Data when needed and set the barcode column to Text before loading. Check the delimiter and column layout in the preview. Excel’s import screens and options differ by version. [2][5]
  4. Compare the imported values and row count with the app’s source list. Save the workbook, reopen it and check the values again. Retain the original export until the comparison is complete.

Review the app’s sharing and storage options before exporting sensitive inventory data. If a workflow uses a public link, make sure that level of access is appropriate for your records.

Check the list before using it

For a small test, record the expected value beside the result. The following identifiers are illustrative text values, not product numbers or results from a device test.

Source value Expected cell value What to check
00123 00123 Both leading zeros remain.
AB-12 AB-12 Letters, hyphen and order match.
Same label scanned twice Two entries, or a quantity change if your app is configured that way The result matches how you intend to count.

Compare the number of intended scans with the number of recorded events. Inspect duplicates rather than automatically deleting them: two scans may represent two items, or one item scanned twice by mistake. If you use a separate product list to fill in descriptions, verify that each identifier matches the intended item and variant before using the list for decisions.

Troubleshoot common problems

  • Nothing appears: Confirm the scanner is connected, supports the barcode type and is sending output to the active application. Click the destination cell and test again.
  • Values land in one cell or the wrong column: Check the scanner’s suffix, Excel’s Enter direction and the selected cell. Test two known values before continuing. [1][3]
  • A leading zero is missing or a long number changed: Return to the original label or undamaged source file. Format the destination as Text before entering or importing again. Changing the format after data was lost does not restore the original value. [2]
  • The phone export has fewer rows than expected: Check the app’s duplicate or quantity settings and whether all scans were included in the export. Compare the file with the app’s history before importing again.
  • The barcode is correct but the item details are wrong: Check your product list and its matching rules. A correctly captured identifier and a correctly matched inventory record are separate checks.

Once the values, rows and saved file match your sources, you have a usable scan list. Confirm any additional rules with the inventory system or person receiving it before importing the list elsewhere.

References

[1] Zebra Technologies. DataWedge 8.0: Output Plug-ins. https://techdocs.zebra.com/datawedge/8-0/guide/output/

[2] Microsoft Support. Keeping leading zeros and large numbers. https://support.microsoft.com/en-us/excel/keeping-leading-zeros-and-large-numbers

[3] Microsoft Support. Enter data manually in worksheet cells. https://support.microsoft.com/en-US/Excel/enter-data-manually-in-worksheet-cells

[4] ASReader. ASR-P252B iOS/Android Demo User Manual. https://asreader.com/download/asr-p252b/docs/ASR-P252B_iOS_Android_Demo_User_Manual_EN_1_0.pdf

[5] Microsoft Support. Import or export text (.txt or .csv) files. https://support.microsoft.com/en-us/excel/get-started/import-or-export-text-txt-or-csv-files