Note: The other languages of the website are Google-translated. Back to English
English English

How to insert barcode into cells based on certain value in Excel

Have you ever confused of generating barcode into cells based on specific value? This article provides three methods for you to handle this problem.

Insert barcode into cell with Barcode Control

The Microsoft Barcode Control can help to insert barcode into cell with specific value. Please do as follows.

1. Click Developer > Insert > More Controls.

2. In the More Controls window, find and select the Microsoft Barcode Control option and click the OK button.

Note: You may notice that there are different types of barcode control. That’s depend on your Excel version.

3. Now draw a barcode on your worksheet. Then right click on it and select Microsoft Barcode Control Object > Properties.

4. In the Microsoft Barcode Control Properties window, specify the options as you need, and then click the OK button.

5. Right click the barcode again and select Properties from the context menu. In the Properties window, enter the corresponding value into the Value box that you want to show in the barcode, and then close the window.

Now a barcode is generated.

Batch Insert Barcode Into Cells Based On Cell Value In Excel:

The Insert Barcode utility of Kutools for Excel can help you easily insert barcode into cells in bulk with only several clicks. See below demo:
Download the full feature 30-day free trail of Kutools for Excel now!

Insert barcode into cells with barcode font

Please do as follows to insert a barcode into cells based on given data in Excel.

1. Firstly, you need to follow the link to download the barcode font into your computer.

2. Then a zipped file of the barcode font is downloaded. Please unzip the file and double-click the fre3of9x TTF file to open it.

3. In the following window, click the Install button. See screenshot:

4. After installing the first TTF file, repeat the above step 2 – 3 to install other TTF files.

5. Open the worksheet you need to insert barcodes. Select a blank cell (says B2) adjacent to the cell (says A2) contains the data you will create barcode based on. Then reference the data cell by entering formula =A2 into the formula bar. See screenshot:

6. Keep selecting cell B2, and then select Free 3 of 9 or Free 3 of 9 Extended from the Font drop-down list as below screenshot:

7. Then the first barcode is created in cell B2 based on data in A2. Please drag the Fill Handle down to get all barcodes. See screenshot:

Batch insert barcode into cells easily with an awesome feature

Generally speaking, the above two methods are not convenient as the barcode control sometimes does not install in the Excel by default or the barcode font is hard to meet your barcode type needs.

Here the Insert Barcode utility of Kutools for Excel can help you quickly insert barcode into a range of cells in bulk with only several clicks based on specific cell value in Excel.

Before the operation, please download and install it firstly.

1. Open the worksheet you will insert barcode into cells, and then enable the utility by clicking Kutools > Insert > Insert Barcode. See screenshot:

2. Then the Insert Barcode pane is displayed on the right side of the Excel window. Please do as follows:

  • Select the type of barcode that you want to insert from the Barcode type drop-down list. You can click the Preview Barcode button to preview the selected barcode type in advance.
  • Move down to the Data section, select the range containing the value you will insert barcode based on in the Data Range box, and select the range to place the barcode in the Insert Range box.
  • Specify the validation, line height, direction, width and height for the barcode.
  • Check the Show barcode number box.
  • Click the Apply button.

Then barcodes based on specific cell values are generated and inserted into cells as below screenshot shown.

  If you want to have a free trial ( 30-day) of this utility, please click to download it, and then go to apply the operation according above steps.

The Best Office Productivity Tools

Kutools for Excel Solves Most of Your Problems, and Increases Your Productivity by 80%

  • Reuse: Quickly insert complex formulas, charts and anything that you have used before; Encrypt Cells with password; Create Mailing List and send emails...
  • Super Formula Bar (easily edit multiple lines of text and formula); Reading Layout (easily read and edit large numbers of cells); Paste to Filtered Range...
  • Merge Cells/Rows/Columns without losing Data; Split Cells Content; Combine Duplicate Rows/Columns... Prevent Duplicate Cells; Compare Ranges...
  • Select Duplicate or Unique Rows; Select Blank Rows (all cells are empty); Super Find and Fuzzy Find in Many Workbooks; Random Select...
  • Exact Copy Multiple Cells without changing formula reference; Auto Create References to Multiple Sheets; Insert Bullets, Check Boxes and more...
  • Extract Text, Add Text, Remove by Position, Remove Space; Create and Print Paging Subtotals; Convert Between Cells Content and Comments...
  • Super Filter (save and apply filter schemes to other sheets); Advanced Sort by month/week/day, frequency and more; Special Filter by bold, italic...
  • Combine Workbooks and WorkSheets; Merge Tables based on key columns; Split Data into Multiple Sheets; Batch Convert xls, xlsx and PDF...
  • More than 300 powerful features. Supports Office/Excel 2007-2019 and 365. Supports all languages. Easy deploying in your enterprise or organization. Full features 30-day free trial. 60-day money back guarantee.
kte tab 201905

Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier

  • Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
  • Open and create multiple documents in new tabs of the same window, rather than in new windows.
  • Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!
officetab bottom
Comments (0)
No ratings yet. Be the first to rate!
There are no comments posted here yet
Leave your comments
Posting as Guest
Rate this post:
0   Characters
Suggested Locations