Mastering Excel: Add Black Outline to Cells

Charles Jul 17, 2026

Adding a black outline around cells in Excel can enhance your spreadsheets' visual appeal and make your data stand out. This guide will walk you through a simple yet effective method to achieve this, ensuring your data looks polished and professional.

How to create invisible cells.
How to create invisible cells.

Before we dive in, make sure you're using a version of Excel that supports this feature, such as Excel 2013 or later, or Excel for Microsoft 365. Let's get started!

Combine Cells in Excel
Combine Cells in Excel

Applying Border Styles

Excel offers several border styles to choose from. The black outline we're looking for is part of the 'Lines' category. We'll explore applying borders and then focus on creating the desired outline.

How to Remove Blank Lines Within Cells in Excel
How to Remove Blank Lines Within Cells in Excel

Before we proceed, it's essential to select the cells where you want to add the border. You can do this by clicking and dragging the little square at the intersection of the row and column headers.

Understanding Border Styles

an excel spreadsheet in the office window
an excel spreadsheet in the office window

Excel provides various border styles, including thick and thin lines, dashed lines, and more. To find the black outline we want, we'll navigate to the 'Lines' category. Within this category, look for the '-thin' border style, which should be a simple, solid black line.

But first, let's familiarize ourselves with the Border dialog box, where we'll apply the border styles.

Accessing the Border Dialog Box

#Excel #Tip: Count or Sum using Cell color in Excel
#Excel #Tip: Count or Sum using Cell color in Excel

To access the Border dialog box, right-click on the selected cells and choose 'Format Cells' from the context menu. Alternatively, you can click on the 'Home' tab in the ribbon, then click on 'Format' in the 'Cells' group, and select 'Format Cells'.

Once you're in the Format Cells dialog box, click on the 'Border' tab to view the available border styles.

Creating the Black Outline

Automatic Autofit Cells In Excel Msexcel Shorts Computer Education Tricks
Automatic Autofit Cells In Excel Msexcel Shorts Computer Education Tricks

Now that we're in the Border dialog box, it's time to create the black outline around your selected cells.

In the 'Presets' section, click on the icon that displays a single line around the selected cells. This will apply a thin border to all four sides of the cells. The 'Lines' category should be selected automatically, as shown in the dropdown menu above the presets.

Remove Blank Cells in Excel
Remove Blank Cells in Excel
Excel Count Cells with Text - Text and Values, Count any Text, Occurrence of specific Text
Excel Count Cells with Text - Text and Values, Count any Text, Occurrence of specific Text
How to Start a New Line in  Excel (within cell and formula)
How to Start a New Line in Excel (within cell and formula)
How To Go To The Next Line in Excel Cell
How To Go To The Next Line in Excel Cell
How to delete the blank lines within cells in Microsoft excel
How to delete the blank lines within cells in Microsoft excel
Excel Keyboard Shortcuts Every Office User Should Know
Excel Keyboard Shortcuts Every Office User Should Know
Change the Gridline Color in Excel Spreadsheets - 2 Ways!
Change the Gridline Color in Excel Spreadsheets - 2 Ways!
How to insert space between number and text in cells in Excel?
How to insert space between number and text in cells in Excel?
How to Put Multiple Lines in Excel Cell (2 Easy Ways)
How to Put Multiple Lines in Excel Cell (2 Easy Ways)

Adjusting the Outline

To ensure we have the black outline, click on the 'Color' dropdown menu in the 'Lines' category. Here, select the black color for your outline. The cells should update to show the black border.

If the line appears too thick, you can adjust the 'Line style' to 'thin' by clicking on the corresponding icon in the 'Lines' category. This will give you the desired thin, black outline around your cells.

Removing the Inside Borders

By default, the 'Presets' icon we used earlier applies a border to all four sides of the cells, including the inner vertical and horizontal lines. To create a true outline, we need to remove these inner borders.

In the 'Border' dialog box, click on 'No outline' in the 'Presets' section. This will remove any existing borders from the cells. Now, select the 'Lines' category and choose the black color and 'thin' line style, as we did earlier.

Finally, click 'OK' to apply the border settings and close the dialog box. Your selected cells should now have a thin, black outline, making your data stand out in your spreadsheet.

Applying the Outline to Multiple Ranges

If you want to apply the same black outline to multiple ranges of cells throughout your spreadsheet, you can use the 'Format Painter' tool to copy the border style. Here's how:

First, select the cells with the desired border style. Then, click on the 'Home' tab in the ribbon, and look for the 'Format Painter' button in the 'Clipboard' group. Click and drag this button over the cells where you want to apply the same border style. The cells should update with the black outline.

And there you have it! You've successfully added a black outline around your cells in Excel, giving your spreadsheets a polished and professional appearance. Happy styling!