Building a QR Code Inventory Tracker with Google Sheets

building qr code inventory tracker google sheetsImage by Editor
 

Managing inventory doesn’t have to be complicated or expensive. You can use Google Sheets to create a simple yet effective QR code–based inventory tracker. Instead of manually editing quantities, users scan the item’s QR label, choose an action, enter a quantity, and Google Sheets logs the transaction automatically. From that scan log, the sheet can calculate current stock, flag low inventory, and show recent activity. In this tutorial, we will show the steps for building a QR code inventory tracker with Google Sheets.

Step 1: Create the Google Sheet Structure

Open the Google Sheet and name the sheet Inventory. Use the following columns:

  • ItemID
  • ItemName
  • Category
  • Location
  • Unit
  • MinStock
  • StartingQty
  • QR Image

Transactions (every scan becomes a row). Confirm these columns:

  • Timestamp
  • ItemID
  • Action
  • Quantity

Step 2: Generate QR Codes Inside Google Sheets

 
=IMAGE("https://api.qrserver.com/v1/create-qr-code/?size=160x160&data=" & ENCODEURL(A2))
  • Fill it down. This uses a QR generation API and displays it using the IMAGE function.

Building a QR Code Inventory Tracker with Google Sheets

Step 3: Print Labels and Attach

  • Copy the ItemID, ItemName, and QR Image to another sheet
  • Print the QR codes and attach them directly to physical items or shelves

Step 4: Choose the Scanning Method

Option A: Google Forms With “Prefilled Response” QR Codes

A QR code can open a Google Form where the ItemID is prefilled, so the user only selects Action/Qty and submits. Google’s community guidance points to using pre-filled response links for this.

Create the Scanning Form (Google Forms):

This is the bridge between phone scans and sheets.

  • Go to the Tools menu >> select Create a new form

Building a QR Code Inventory Tracker with Google Sheets

  • Create a Google Form with these fields:
  • ItemID
    • Short answer
    • Required
  • Action
    • Multiple choice
    • Options:
      • Check-Out
      • Check-In
  • Quantity
    • Short answer
    • Select Response validation >> select Number >> select Greater than 0

Building a QR Code Inventory Tracker with Google Sheets

Google Forms automatically adapts to mobile, which is ideal for scanning.

In Google Forms:

  • Go to Responses >> click View in Sheets

Building a QR Code Inventory Tracker with Google Sheets

A new sheet is created automatically.

Building a QR Code Inventory Tracker with Google Sheets

  • Click Publish >> grant required access
  • Copy the form URL to use and share

Building a QR Code Inventory Tracker with Google Sheets

Use Google Form to Scan QR Code:

  • Scan the QR code
  • Open the Google Form
  • Insert ItemID, Action, and Quantity
  • Click Submit

Building a QR Code Inventory Tracker with Google Sheets

Submitted info will automatically appear in the Google Sheets Form sheet. This is your raw transaction log. Never edit this sheet manually.

Building a QR Code Inventory Tracker with Google Sheets

Make a Pre-Filled Form for Each Item

Each item gets its own QR code that opens the form with ItemID prefilled.

Enable Prefill:

  • Open Google Forms >> click on the three dots >> select Pre-fill form

Building a QR Code Inventory Tracker with Google Sheets

  • Enter ITM-0001 in the ItemID field
  • Click Submit >> Copy the generated URL

Building a QR Code Inventory Tracker with Google Sheets

  • Paste the link into a QR code generator
  • Or use our QR code generator formula

PrefilledID:

 
=SUBSTITUTE($H$2,"ITM-0001", A2)

Building a QR Code Inventory Tracker with Google Sheets

QR Code Image:

 
=IMAGE("https://api.qrserver.com/v1/create-qr-code/?size=160x160&data=" & ENCODEURL(I2))

Building a QR Code Inventory Tracker with Google Sheets

Print Labels: Print and attach these QR codes to physical items or shelves. These include a pre-filled form link with ItemID directly. 

Test: Scan Your Product

  • Scan the QR code with your phone scanner
  • It will open a Google Form automatically with prefilled ItemID
  • Verify the ItemID
  • Select Action
  • Insert Quantity
  • Click Submit

Building a QR Code Inventory Tracker with Google Sheets

Check the Transactions tab in Google Sheets; a row is added automatically.

Building a QR Code Inventory Tracker with Google Sheets

Option B: Use a “Scan Directly to Google Sheets” App

  • Apps like Scan to Sheets (QR & Barcode) can send each scan straight into a Google Sheet (iOS + Android).
  • Another example on Android is Barcode to Google Sheets, which similarly uploads scans into a sheet you share with your account.

Setup:

  • Create the Transactions tab columns
  • Share the Google Sheet with the same Google account used on the phone (edit access)
  • In the scanning app, connect Google account >> select the spreadsheet >> select the worksheet (Transactions)
  • Map what the app writes:
    • QR scan result >> ItemID
    • Auto timestamp >> Timestamp
    • Default Qty >> 1 (or prompt each scan)
    • Action >> choose a mode (IN/OUT) or use separate buttons/profiles (many scanner apps support templates)

Now the user only scans; the sheet stays consistent.

Option C: Use AppSheet (No-Code App Backed by Sheets)

AppSheet supports barcode/QR scanning from the device camera and can write to Google Sheets. This is best when multiple people scan, permissions matter, or a guided UI is needed.

Note: Plan availability and limits can vary; AppSheet documentation notes barcode scanning capabilities and plan details.

Step 5: Calculate Live Stock Levels Automatically

Check the current stock availability.

  • Insert a column in Inventory named CurrentStock
  • Insert the following formula and fill it down:
 
=G2
 + IFERROR(SUMIFS(Transactions!D:D, Transactions!B:B, A2, Transactions!C:C, "Check-In"), 0)
 - IFERROR(SUMIFS(Transactions!D:D, Transactions!B:B, A2, Transactions!C:C, "Check-Out"), 0)

This formula updates the live stock automatically based on transaction data.

Building a QR Code Inventory Tracker with Google Sheets

  • You can add Conditional formatting to highlight low stock.

Step 6: Build a Simple Dashboard

On Dashboard, create:

Low Stock List: Use a filter view or a formula like:

 
=FILTER(Inventory!A2:I, Inventory!H2:H < Inventory!F2:F)

Transactions by Day:

  • Go to the Insert menu >> select Pivot table
  • Rows: ItemID
  • Values: SUM of Quantity
  • Column: Action (optional)

Building a QR Code Inventory Tracker with Google Sheets

Insert Chart:

  • Go to the Insert menu >> select Chart
  • Select Pie chart

Building a QR Code Inventory Tracker with Google Sheets

Conclusion

Now you can build a QR code inventory tracker with Google Sheets. This fully functional inventory tracking system costs nothing but your time to set up. Create a Google Form with a pre-filled link and connect it to your Google Sheets, and your scanner is ready. You can scan items with your phone and see the results instantly in Google Sheets, accessible from anywhere. This system is perfect for small businesses, home organization, equipment tracking, or any situation where you need to know what you have and where it is. 

Leave a Reply

Your email address will not be published. Required fields are marked *