Excel provides different ways to add, change, and remove cell borders. Some border formatting options take only a single click.
Apply a pre-defined cell border
-
On a sheet, select the cell or range of cells where you want to add or change the borders.
-
On the Home tab, in the Font group, click the arrow next to Border , and then click the cell border that you want to apply.
Tip: To add or remove parts of a border, click More Borders at the bottom of the menu. Under Border, click the borders that you want to add or remove.
Remove all cell borders
-
Select the cell or range of cells where you want to remove the borders.
-
On the Home tab, in the Font group, click the arrow next to Border , and then click No Border.
Create a custom border
Use cell styles to create a custom border that you can easily apply over and over again.
-
On the Home tab, in the Styles group, click Cell Styles, and then click New Cell Style.
-
In the Style name box, type a name for your new cell style.
-
Click Format.
-
Do any of the following:
To
Do this
Choose a custom border line style
On the Border tab, under Line Style, click the line style that you want to apply, and then under Border, click the specific pieces of the cell border to apply the line style to.
Choose a custom border line color
On the Border tab, under Line Color, click the color that you want to apply, and then under Border, click the specific pieces of the cell border to apply the color to.
-
Click OK.
Tip: To apply your new cell style, select the cells that you want to change, and then on the Home tab, click Cell Styles, and click the style.
See also
Show or hide gridlines on a sheet