Microsoft Excel Logo

You have plenty of options for adding cell borders in Microsoft Excel. But if you want to be a bit creative or use a border with more meaning to you, you can create and reuse a custom border in Excel.

The default border options in Excel are fine in most cases. You can use a top, bottom, left, or right cell border, surround a group of cells inside and out, and choose the thickness and style for the line.

But maybe you do a lot of data analysis and want something other than these options that you can apply quickly and without automatic conditional formatting.

Create a Custom Border Cell Style in Excel

Using Cell Styles, you can create and customize a cell border that you can reuse throughout your workbook.

To get started, open your workbook in Excel and go to the Home tab. In the Styles section of the ribbon, click “Cell Styles” and pick “New Cell Style.”

Select New Cell Style

In the Style window that appears, click “Format.”

Click Format

Format the Custom Border

When the Format Cells window opens, select the Border tab. On the left, pick a Style for the line and Color per your preference.

Choose a line style and color

Advertisement

On the right, use the Presets and Border boxes to choose where and how your border will display. You can choose a border for the top, bottom, left, or right, and use diagonal lines through the center. As you click each Border box, you’ll see a preview of how your border will look.

Choose a preset or border line

In our example, we’ll create a red cell border with both thick and thin lines that essentially cross out the cell contents. This lets us easily eliminate certain cells as we review our data.

Custom border in Excel

With the flexible options, you can combine colors, line styles and thicknesses, and different sides or the center for your border. So you have complete control over the customization of your border.

Custom border examples

When you finish, click “OK” and you’ll return to the Style window to complete setting up your Cell Style.

Finish Setting Up the Cell Style

Enter a Style Name for the custom border. Then below, uncheck all items except for Border. If you do want to use one of the additional styles along with your custom border, simply check the box.

Advertisement

Next to the Border option, you’ll also see the settings you just chose for the border. Click “OK” to complete the new Cell Style custom border.

Enter a style name and select Border

Use Your Custom Border Cell Style

When you want to use your new custom border, select a cell or cell range. Go to the Home tab and click “Cell Styles” in the ribbon. You’ll see your new style at the top under Custom. Click to apply it to the cell.

Use the custom border cell style

You can reuse your custom border (Cell Style) in any sheet in your workbook, making it a quick and convenient formatting option.

RELATED: How to Highlight Blanks or Errors in Microsoft Excel

Profile Photo for Sandy Writtenhouse Sandy Writtenhouse
With her B.S. in Information Technology, Sandy worked for many years in the IT industry as a Project Manager, Department Manager, and PMO Lead. She learned how technology can enrich both professional and personal lives by using the right tools. And, she has shared those suggestions and how-tos on many websites over time. With thousands of articles under her belt, Sandy strives to help others use technology to their advantage.
Read Full Bio ยป

The above article may contain affiliate links, which help support How-To Geek.