Underline cell contents, entire cells, or rows on a worksheet. There are several ways to add underlining to data on a worksheet. You can underline all or selected text in cells, apply a bottom border to cells or rows, or draw a line to underline cells.