How to Outline Cells with Borders in Microsoft Excel

Outlining cells with a border in Microsoft Excel is a simple design technique that can take a basic spreadsheet to the next level. There are a few different ways you can add a border and several style considerations that can change the look of the border you choose. Some borders are predefined, but you can also customize them to meet the goals of your spreadsheet.

How to outline cells with borders

  1. Select the cells you want to outline.

    Screenshot of cells with green border in Microsoft Excel.

  2. Select the border menu from the Home tab on the ribbon toolbar.

    Alternatively, you can right click the cell(s) you want to outline, select Format Cells, and navigate to the border tab.Screenshot of border menu in Microsoft Excel.

  3. Select the border option you want to use to outline the cells.

    Options include right, left, top, bottom, all outside, and all side borders. You can also select the Draw Border or Draw Border Grid tools to freehand your border placement by selecting the cells around which you want to create a border.Screenshot of border options in Microsoft Excel.

  4. Adjust the formatting options to change the appearance of the border.

    From the border menu, select More Borders… and select the line style, color, and placement you want. A preview of the border will appear in the preview box. Click OK to apply the new border settings.Screenshot of border settings window in Microsoft Excel.

  5. Deselect the cells to review the appearance of the border.

    Screenshot of cells with green border in Microsoft Excel.

Why you should use borders in Excel

There are many reasons why you might want to use a border in Excel. Borders can separate sections of data to group similar items. You can also use borders to emphasize specific cells so the reader’s eye is automatically drawn to the most important information as quickly as possible. 

In general, borders are an effective way to add your brand identity to a spreadsheet. You can add a custom color hex code to the color selection tool in Excel, which means you can make the border around specific cells match the colors in your company’s logo or brand guidelines.

Border outline keyboard shortcuts for Excel

You can use the keyboard shortcuts for Windows and macOS in the table below to outline selected cells with a border:

ActionWindows ShortcutmacOS Shortcut
Add border on all sidesCtrl+Shift+& (ampersand)Command+Option+0
Add or remove border leftAlt+LCommand+Option+left arrow
Add or remove border rightAlt+RCommand+Option+right arrow
Add or remove border topAlt+TCommand+Option+up arrow
Add or remove border bottomAlt+BCommand+Option+down arrow
Remove border on all sidesCtrl+Shift+_ (underscore)Command+Option+_ (underscore)
Kaiti Norton
Kaiti Norton
Kaiti Norton is a Nashville-based Content Writer for TechnologyAdvice, a full-service B2B media company. She is passionate about helping brands build genuine connections with their customers through relatable, research-based content. When she's not writing about technology, she's sharing her musings about fashion, cats, books, and skincare on her blog.

Related Articles

Human Resources Management System

A Human Resources Management System (HRMS) is a software application that supports many functions of a company's Human Resources department, including benefits administration, payroll,...

How To Defend Yourself Against Identity Theft

Almost every worldwide government agency responsible for identity theft issues will tell you the same thing: The first step to fighting identity theft is...


An infographic is a visual representation of information or data. It combines the words information and graphic and includes a collection of imagery, charts,...


What is phishing? Phishing is a type of cybercrime in which victims are contacted by email, telephone, or text message by an attacker posing as...


Accenture is a global professional services company that specializes in information technology (IT)...


Gartner is a world-renowned information technology (IT) consultancy and advisory firm that conducts...


Coursera is an online education platform that offers a variety of courses and...