No cell border in excel

Apply or remove cell borders on a worksheet

Excel for Microsoft 365 Excel for the web Excel 2021 Excel 2019 Excel 2016 Excel 2013 Excel 2010 Excel 2007 More…Less

By using predefined border styles, you can quickly add a border around cells or ranges of cells. If predefined cell borders do not meet your needs, you can create a custom border.

Note: Cell borders that you apply appear on printed pages. If you do not use cell borders but want worksheet gridline borders to be visible on printed pages, you can display the gridlines. For more information, see Print with or without cell gridlines.

  1. On a worksheet, select the cell or range of cells that you want to add a border to, change the border style on, or remove a border from.

  2. On the Home tab, in the Font group, do one of the following:

    • To apply a new or different border style, click the arrow next to Borders Button image, and then click a border style.

      Tip: To apply a custom border style or a diagonal border, click More Borders. In the Format Cells dialog box, on the Border tab, under Line and Color, click the line style and color that you want. Under Presets and Border, click one or more buttons to indicate the border placement. Two diagonal border buttons Button image   Button image are available under Border.

    • To remove cell borders, click the arrow next to Borders Button image, and then click No Border Button image.

  • The Borders button displays the most recently used border style. You can click the Borders button (not the arrow) to apply that style.

  • If you apply a border to a selected cell, the border is also applied to adjacent cells that share a bordered cell boundary. For example, if you apply a box border to enclose the range B1:C5, the cells D1:D5 acquire a left border.

  • If you apply two different types of borders to a shared cell boundary, the most recently applied border is displayed.

  • A selected range of cells is formatted as a single block of cells. If you apply a right border to the range of cells B1:C5, the border is displayed only on the right edge of the cells C1:C5.

  • If you want to print the same border on cells that are separated by a page break, but the border appears on only one page, you can apply an inside border. This way, you can print a border at the bottom of the last row of one page and use the same border at the top of the first row on the next page. Do the following:

    1. Select the rows on both sides of the page break.

    2. Click the arrow next to Borders Button image, and then click More Borders.

    3. Under Presets, click the Inside button Button image.

    4. Under Border, in the preview diagram, remove the vertical border by clicking it.

  1. On a worksheet, select the cell or range of cells that you want to remove a border from.

    To cancel a selection of cells, click any cell on the worksheet.

  2. On the Home tab, in the Font group, click the arrow next to Borders Button image, and then click No Border Button image.

    —OR—

    Click Home > the Borders arrow > Erase Border, and then select the cells with the border you want to erase.

You can create a cell style that includes a custom border, and then you can apply that cell style when you want to display the custom border around selected cells.

  1. On the Home tab, in the Styles group, click Cell Styles.

    Tip: If you do not see the Cell Styles button, click Styles, and then click the More button next to the cell styles box.

    More button in the Style gallery

  2. Click New Cell Style.

    New cell style option

  3. In the Style name box, type an appropriate name for the new cell style.

  4. Click Format.

  5. On the Border tab, under Line, in the Style box, click the line style that you want to use for the border.

    Format cell style

  6. In the Color box, select the color that you want to use.

  7. Under Border, click the border buttons to create the border that you want to use.

  8. Click OK.

  9. In the Style dialog box, under Style Includes (By Example), clear the check boxes for any formatting that you do not want to include in the cell style.

  10. Click OK.

  11. To apply the cell style, do the following:

    1. Select the cells that you want to format with the custom cell border.

    2. On the Home tab, in the Styles group, click Cell Styles.

    3. Click the custom cell style that you just created. Like the FancyBorderStyle button in this picture.

      Cell Style gallery

To customize the line style or color of cell borders or erase existing borders, you can use the Draw Borders options. To draw cell borders, you’ll first select the border type, then the border color and line style, and select the cells that you want to add a border around. Here’s how:

  1. Click Home > the Borders arrow Borders button on the Home tab.

  2. Pick Draw Borders for outer borders or Draw Border Grid for gridlines.

    Border drop down menu to pick draw border options

  3. Click the Borders arrow > Line Color arrow, and then pick a color.

  4. Click the Borders arrow > Line Style arrow, and then pick a line style.

  5. Select cells you want to draw borders around.

Add a border, border color, or border line style

  1. Select the cell or range of cells that you want to add a border around, change the border style on, or remove a border from.

2. Click Home > the Borders arrow, and then pick the border option you want.

  • Add a border color — Click the Borders arrow > Border Color, and then pick a color

  • Add a border line style — Click the Borders arrow > Border Style, and then pick a line style option.

Tips

  • The Borders button shows the most recently used border style. To apply that style, click the Borders button (not the arrow).

  • If you apply a border to a selected cell, the border is also applied to adjacent cells that share a bordered cell boundary. For example, if you apply a box border to enclose the range B1:C5, the cells D1:D5 will acquire a left border.

  • If you apply two different types of borders to a shared cell boundary, the most recently applied border is displayed.

  • A selected range of cells is formatted as a single block of cells. If you apply a right border to the range of cells B1:C5, the border is displayed only on the right edge of the cells C1:C5.

  • If you want to print the same border on cells that are separated by a page break, but the border appears on only one page, you can apply an inside border. This way, you can print a border at the bottom of the last row of one page and use the same border at the top of the first row on the next page. Do the following:

    1. Select the rows on both sides of the page break.

    2. Click the arrow next to Borders , and then click the Inside Horizontal Border

Remove a border

To remove a border, select the cells with the border and click the Borders arrow > No Border.

Need more help?

You can always ask an expert in the Excel Tech Community or get support in the Answers community.

See Also

Change the width of cell borders

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

Download PC Repair Tool to quickly find & fix Windows errors automatically

In Microsoft Excel, on your worksheet, you can add and remove borders from your cell. To make your borders stand out, you can choose to add styles, thickness, colors, and how you want to layout these borders. This tutorial will explain how to add or remove borders to a cell in an Excel worksheet.

In Microsoft Excel, borders are lines that form around a cell. In Excel, there are options to add both predefined cell borders and custom cell borders.

1] How to add borders to a cell in an Excel worksheet

Open Microsoft Excel.

How to add or remove Borders to Cells in Microsoft Excel

Click on a cell in the worksheet.

On the Home tab in the Font group, you will see a border icon; click on it, you will see a list of predefined borders; click any choice you desire, it will automatically appear into the cell you selected.

There are two other options to add borders to your cells.

Option one is to click Draw Border in the Borders drop-down list.

A pencil will appear to draw the border around the cell.

You can add line styles and color in the drop-down list by clicking Line Styles and Line Color from the list.

Option two is to click Font Settings, a small arrow on the bottom in the Font group.

A Format Cells dialog box will appear.

Click the Border tab.

On the Border tab inside the dialog box, you will see various options to add and customize the border.

You can add Line Styles, Presets, Colors, and add Border Lines by selecting the border lines around the preview pane or click inside the preview pane.

Once you add what you want, click OK; a border will appear in the cell selected.

2] How to remove borders from a cell in an Excel worksheet

There are three options to remove borders from a cell in your worksheet.

Click the cell where the border is.

On the Home tab in the Font group, click the border icon; in its drop-down list, click No Border. The border will disappear.

Option two is to select Erase Border in the borders drop-down list.

An Eraser will appear; click on the cell borders’ lines to make the cell borders disappear.

How to add or remove Cell Borders in Excel

Option three is to click the cell where you have the border

On the Home tab in the Font group, click Font Settings, a small arrow on the bottom.

A Format Cell dialog box will appear.

Click the Border tab.

On the Border tab, click the border preview lines to remove the borders or click the preview lines to remove the cell’s borders.

Click OK.

The border around the cell is removed.

Read next: How to create a Hyperlink for an existing file in Excel.

Ezoic

Shantel has studied Data Operations, Records Management, and Computer Information Systems. She is quite proficient in using Office software. Her goal is to become a Database Administrator or a System Administrator.

When working with large amounts of data, it can sometimes be hard to read the data, if not formatted properly.

Moreover, there are usually parts of the dataset that are more important than others, so you would want these cells to stand out from the rest. This can get the reader to concentrate more on the important areas of the dataset.

There are a number of ways to improve the readability of your data. A very effective way is to add borders around the cells.

Borders can also be customized to highlight important cells. For example, you can use a thicker border to make the Grand total or some important data value stand out.

Excel provides several options for cell borders. In this tutorial, I will show you three different ways to apply borders to cells in Excel.

The options you choose and how you apply them to your spreadsheets will be up to your creativity. But I can guarantee you this, you’ll be spoilt for choice.

Say we have a dataset as the one given below.

Dataset on which border needs to be applied

We notice two things here:

  1. The cells do have gridlines, but they could be more readable if there were borders around every cell containing data.
  2. The most important cell in this dataset is the Grand Total. So, it would help if we could make this particular cell more pronounced by adding a thicker border around it.

There are three ways to add and customize cell borders in Excel:

  • By accessing the Border button from the Home tab
  • By accessing the Format Cell dialog box’s Border tab.
  • By manually drawing the borders.

We are going to take a look at each of the above ways one by one.

How to Add Borders from the Home Tab

  1. Select the cells around which you want to add borders. To select individual cells, press down the control key, and select each cell. To select a group of cells, drag your mouse over the group of cells you want to select.
  2. Click the arrow next to the Borders button. You will find it in the Home tab, under the ‘Font’ group.Click on the Border icon in the ribbon
  3. A dropdown menu should now appear. This will contain quick border options that you can apply to your selected cells. In our dataset, we applied simple grid-like single borders around each cell. We also added a thick border around the grand total to make it stand out.

Here’s how the dataset looks after applying borders:

Data with cell border applied to it

The borders provided an instant ‘lift’ to the entire dataset.

The Borders button dropdown provides a selection of common border options that you can quickly apply to your selection. You can choose to have individual borders on the top, bottom, left, or right. You can also combine 2 to 3 borders or have all 4 borders for each selection.

Additionally included in this menu are options for various border styles, like thick border, double border, and other common border combinations.

Border Options in the ribbon

If you want more options, though, you can navigate to the Format Cells dialog box.

How to Add Borders from the Format Cells Dialog Box

Another way to add borders to cells or ranges is to use the Format Cells dialog box. While it has many of the same options to apply borders, you get access to many more additional options as well.

For example, here’s just a glance at the dialog box’s Border tab:

Format Cells Border tab options

  • On the left of the dialog box, there’s a ‘Style’ section, where you can select the type of border you want, like dashed, dotted, thick, double, and more.
  • The ‘Color’ section is also present on the left side. As the name suggests, this lets you select the color you want for the borders.
  • The right side top portion has some ‘Presets’ that you can select to quickly add borders either in between cells or around cells.
  • The lower portion of the right side is the main ‘Border’ section. This lets you select which parts of your selection you want your borders on.
  • This section also provides a small preview of how your selections are going to look when you apply your choice of borders on them.

There are a number of ways to open the Format Cells Dialog box:

Here are the steps to follow when you want to add borders using the Format Cells dialog box:

  1. Use any of the above methods to open the ‘Format Cells’ Dialog box.
  2. Select the Border tab.
  3. Here you will see a whole assortment of border options that you can play around with. For our example, we made the following selections:
    • An orange accent line color
    • A dashed line style
    • The Outline preset
    • The Inside presetBorder tab in the Format Cells dialog box
  4. When you’re done putting all your border settings, click OK to close the dialog box. Your borders will now get applied to your selections.Cells with Orange dashed border

How to Add Borders by Manually Drawing Them

Finally, if you want more control over individual borders, you can use the ‘Draw Borders’ feature of Excel.

Draw Borders gives you the flexibility to draw even irregular shaped border, something that can be quite tough to do using the Format Cells dialog box.

Here’s a quick look at the different options you get under the Draw Borders feature:

Draw Borders Option

  • Draw Border: This lets you draw a border along any gridline. When you select a block of cells in this mode, it creates a rectangular border around the outside of the selected block of cells.
  • Draw Border Grid: This also lets you draw a border along any gridline, but when you select a block of cells in this mode, it creates borders both inside and outside the block of cells (to form a grid).
  • Erase Border: This lets you erase any previously created borders individually or collectively.
  • Line Color: This lets you select the color of the individual borders.
  • Line Style: This lets you select the type of individual borders, like dashed, dotted, thick, double, etc.

Here’s how to use the Draw Borders feature:

  1. Since you are going to manually draw individual borders one by one, you don’t need to have any cells selected.
  2. Click the arrow next to the Borders button. You will find it in the Home tab, under the ‘Font’ group.Click on the Border icon in the ribbon
  3. From the dropdown menu that appears, navigate down to the ‘Draw Borders’ section.Draw border options
  4. First, select the line colorChoose the border color
  5. And then select the border styleChoose the border style
  6. Notice that as soon as you select an option from the Draw Borders section, your mouse pointer turns into a pencil, to tell you that you are now in ‘Draw Border’ mode.Icon changes into a pencil
  7. Go ahead and draw your borders along any gridline you like. You can even create a rectangular border by clicking and dragging around any block of cells. We have chosen to just draw two thick borders above and below the grand total.
  8. Once you’re done drawing all your required borders, you can come out of the border drawing mode by clicking on the Border button (under the Home tab) again.

Here is what our dataset looks like after drawing borders above and below the grand total:

Dataset with thick upeer and lower cell border

The Difference between Borders and Gridlines

Before you start applying borders to your cells, it is important to understand the basic difference between borders and gridlines.

Gridlines are the light-colored boxes around every cell in your sheet. They are there to help define individual cell borders. In Excel, there are options to show or hide the gridlines when you take a print of your worksheet.

Borders, on the other hand, help to accent a cell or set of cells. So even if you choose not to display gridlines in your printout, your borders will remain visible and get printed, unless you remove them.

Additionally, when you hide gridlines in the Excel window, they get hidden for the entire worksheet. But with borders, you can choose to have them displayed on specific cells or ranges, even when gridlines are hidden.

Also read: How to Remove Borders in Excel? 6 Easy Ways!

So, in this Excel tutorial, I showed you three ways in which you can add borders to your cells, both individually and in bulk.

I would encourage you to experiment with the different border settings to see which style suits you and your data.

You can also use these border settings to create your own signature style for highlighting important cells in spreadsheets.

I hope you found this tutorial useful!

Other Excel tutorials you may find useful:

  • How to AutoFormat Formulas in Excel (3 Easy Ways)
  • How to Highlight Every Other Row in Excel
  • How to Set the Default Font in Excel (Windows and Mac)
  • How to Remove Dotted Lines in Excel
  • How to Flash an Excel Cell
  • How to Remove Panes in Excel Worksheet (Shortcut)
  • How to Add a Total Row in Excel Table
  • How to Add Bullet Points in Excel
  • How to Change Theme Colors in Excel?
  • How to Add Border to a Chart in Excel


How to Add Borders in Excel

Adding cell borders and filling cells with colors and patterns is an easy way to make your data stand out, appear more organized, and make the spreadsheet easier to read.

Add a Cell Border

  1. Select the cell(s) where you want to add the border.
  2. Click the Border list arrow from the Home tab.

    A list of borders you can add to the selected cell(s) appears. Use the examples shown next to each border option to decide which border type will work best for you.

  3. Select a border type.

    Format a Number or Date

    To remove a border, click the Border list arrow in the Font group and select No Border.

Advanced Border Options

To have more control over the look and style of the cell borders, use the advanced border options.

  1. Select the cell(s) where you want to add the border.
  2. Click the Font dialog box launcher.

    Advanced Border Options

  3. Click the Border tab.
  4. Select the line style and color you want.

    You now need to specify where you want the new border style to appear.

  5. Select a preset option or apply borders individually in the Borders section.
  6. Click OK.

    Advanced Border Options

The border is applied to the cell range.

Add Cell Shading

  1. Select the cell(s) where you want to add the shading.
  2. Click the Fill Color list arrow.

    A palate of theme colors is displayed in the menu. If you want to use a different color, select More Colors.

  3. Select the color you want to apply.

    Add Cell Shading

A background color is applied to the cell(s). Make sure the background provides enough contrast with the text to be legible.


Excel Cheat Sheet

FREE Quick Reference

Click to Download

Free to distribute with our compliments; we hope you will consider our paid training.

To apply cell borders:

   1.    On the Home tab, in the Font group, click the arrow
next to Borders:

Font group in Excel 2016

Then choose a border style from the palette:

Border style list in Excel 2016

Click Line Color
Line Color
and then click the color that you want to use. Click the arrow next to Line Style
Line Style
and choose the style that you want to use:

Line Style list in Excel 2016

If you want to use another style of borders, choose the More Borders… button to open the
Format Cells dialog box:

Format Cells in Excel 2016

Click the line style and color that you want, and then click one or more buttons to indicate the border
placement.

   2.    Choose Format Cells… from the popup menu to open the Format
Cells
dialog box:

Cell popup in Excel 2016

Click the line style and color that you want, and then click one or more buttons to indicate the border
placement.

Note: You also can use the next shortcut keys:

Alt+P   Apply or remove the top border.

Alt+B   Apply or remove the bottom border.

Alt+L   Apply or remove the left border.

Alt+R   Apply or remove the right border.

Alt+H   If cells in multiple rows are selected, apply or remove the horizontal divider.

Alt+V   If cells in multiple columns are selected, apply or remove the vertical divider.

Alt+D   Apply or remove the downward diagonal border.

Alt+U   Apply or remove the upward diagonal border.

To remove cell borders:

   1.    On the Home tab, in the Font group, click the arrow
next to Borders and choose Erase Border
Erase Border and then do one of the following:

  • To remove a single border, click that border with the eraser tool.
  • To remove more than one border, drag the eraser tool across the borders that you want to remove.

To stop erasing borders, click Erase Border on the Borders toolbar again, so that the
eraser tool is no longer displayed.

   2.    Choose Format Cells… from the popup menu to open the Format
Cells
dialog box. Click one or more buttons to unselect the border placement.

Note: You also can use the next shortcut keys:

  Ctrl+Shift+_    Border lines off

  Ctrl+Shift+&    Border lines on

See also this tip in French:
Appliquer ou supprimer des bordures de cellules.

Понравилась статья? Поделить с друзьями:
  • No breaking space word
  • Nice word for friend to write
  • No bad word jokes
  • Nice word for fat
  • No ask for any word the word is me