10. In the adjacent cell, C2, enter the Databar formula by typing =IDAutomation_Databar(B2)

Data Encoded:

Databar Barcode with IDAutomation Databar 24 font applied:

For other Databar Types:

DATABAR EXPANDED STACKED ISSUE & SEGMENTS
The IDAutomation_DatabarExpanded formula includes a second parameter named Segments which takes in increments of two (2,4,6,8,10,12,14,16,18,20,22). At lower segments, the barcode will generate an Expanded Stacked Databar.

Example encoding with 2 segments

Because Databar Expanded Stacked creates several lines, it will not properly display in Excel after the font is applied. The solution is to perform a data merge into Excel, InDesign or any application that can merge data from Excel.