A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data
Good day Kelliher,
The square barcode you want is a QR code. The IMAGE function can display an image in a cell, but it cannot generate a QR code directly from text. Here are some options you can consider:
Option 1: Use IMAGE for automatic QR codes
- Enter your data in A2.
- Generate a QR code image URL using an organization approved QR code service.
- Save the image URL in C2.
- Enter the formula below in B2:
=IMAGE(C2,"QR code",0)
- Adjust the row height and column width to make the cell square.
- Copy the formula down for other rows.
Option 2: Use an Excel add-in
- Open Excel > Select Home > Add-ins > More Add-ins.
- Search for a QR code or barcode generator.
- Review the publisher and permissions, then install the add-in.
- Follow the add-in instructions to generate QR codes from your worksheet data.
Please note that any add-ins suggested by the community are provided for convenience and may come from third-party providers. They aren't developed, managed, or verified by Microsoft. I cannot confirm the quality, security, or suitability of these add-ins, so I recommend reviewing the publisher, permissions and privacy information carefully before installing or using them.
Option 3: Use Microsoft Word
- Open Word for Windows > Press Ctrl + F9.
- Enter:
DISPLAYBARCODE "Your value" QR
- Press F9 to generate the QR code.
- Copy the QR code, then in Excel select Paste Special > Picture (Enhanced Metafile).
This method works entirely within Microsoft applications, but the QR code won't update automatically when the Excel value changes.
Additional information is available in the following resources:
IMAGE function | Microsoft Support
Field codes: DisplayBarcode | Microsoft Support
I completely understand how these limitations in Excel can feel disruptive. It’s not just about aesthetics; these differences can genuinely affect how smoothly you work and navigate your day.
As a forum user, I hope you understand that I don’t have the ability to modify or escalate product issues directly. However, I strongly recommend submitting your feedback through the Excel · Community. This is the most effective way to ensure your voice reaches the product team and can be considered for future improvements. Once you've submitted your feedback, feel free to share the link here in the comments. I’ll be happy to upvote it to help bring more visibility.
Thank you for your patience and understanding.
If you have any extra questions about this answer, please click "Comment".