Add, change, or remove cell borders

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

  1. On a sheet, select the cell or range of cells where you want to add or change the borders.

  2. On the Home tab, in the Font group, click the arrow next to Border  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

  1. Select the cell or range of cells where you want to remove the borders.

  2. On the Home tab, in the Font group, click the arrow next to Border  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.

  1. On the Home tab, in the Styles group, click Cell Styles, and then click New Cell Style.

  2. In the Style name box, type a name for your new cell style.

  3. Click Format.

  4. 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.

  5. 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.

Apply a pre-defined cell border

  1. On a sheet, select the cell or range of cells where you want to add or change the borders.

  2. On the Home tab, under Font, click Border  Border Type button , and then click the cell border that you want to apply.

    Tip: To add or remove parts of a border, on the Home tab, under Font, click Border  Border Type button , and then click Border Options. Under Border, click the borders that you want to add or remove.

Remove all cell borders

  1. Select the cell or range of cells where you want to remove the borders.

  2. On the Home tab, under Font, click Border  Border Type button , 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.

  1. On the Home tab, under Format, point to a style and then click  More Down Arrow .

  2. Click New Cell Style.

  3. In the Style name box, type a name for your new cell style.

  4. Click Format.

  5. Do any of the following:

    To

    Do this

    Choose a custom border line style

    On the Border tab, under 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 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.

  6. Click OK.

    Tip: To apply your new cell style, select the cells that you want to change, and then on the Home tab, under Format, click the style.

See also

Show or hide gridlines on a sheet

Highlight data points with conditional formatting

Merge or split cells or cell contents

Connect with an expert
Contact us
Expand your skills
Explore training

Was this information helpful?

Thank you for your feedback!

Thank you for your feedback! It sounds like it might be helpful to connect you to one of our Office support agents.

×