Skip to main content
  • Login
Cart
Exceljet logo Exceljet
  • Training
  • Videos
  • Functions
  • Formulas
  • Shortcuts
  • Articles
Cart
  • Login
  • Training
  • Videos
  • Functions
  • Formulas
  • Shortcuts
  • Articles
  • Login

You are here

Home › Videos › How to apply a border to cells in Excel

How to apply a border to cells in Excel

Transcript 

Borders build directly on Excel's grid system. They are one of the best ways to visually organize content in Excel, or to call attention to certain information.

Let's take a look.

Before you apply borders, you may want to turn off the gridlines that appear by default in Excel. This will make it easier to see the borders you create. You can turn off gridlines by unchecking Gridlines on the Layout tab of the ribbon.

To apply a border, first select the cells you'd like to add borders to. Then, open the Format Cells dialog box and navigate to the Border tab. Applying a border is a three-step process.

First, select the line style that you'd like to use for the border. Excel provides a number of different line styles and weights.

Second, select the color that you'd like to use for your border.

Third, select the location of the border. You have the option to add a border to the top, bottom, left, and right of the current selection, and also the option to add a border between rows and columns. Finally, you can add lines that run diagonally across cells.

To apply the border, you can either click the buttons for each option, or click directly in the border preview area. In each case, click once to enable the border, and click again to disable the border.

The Border tab also contains border presets. These are shortcuts to quickly add more than one border setting at a time.

The None preset will clear all borders in one click. Use this option to reset borders before adding new ones. 

The Outline preset places a border around the outside edge of currently selected cells.

The Inside preset adds borders between cells, both horizontally and vertically.

Note that each border you apply uses the current line and style selection. This makes it possible to apply different kinds of borders to the same cells. For example, by switching the line style and weight, we could add a heavy gray border around all cells and a thin gray dotted border between all cells.

Master Excel with practice. Download this worksheet (and dozens more) in our Core Excel course. Learn by doing.

Dave Bruns Profile Picture

Author

Dave Bruns

Hi - I'm Dave Bruns, and I run Exceljet with my wife, Lisa. Our goal is to help you work faster in Excel. We create short videos, and clear examples of formulas, functions, pivot tables, conditional formatting, and charts.

Microsoft Most Valuable Professional Award  

Exceljet Training

  • Excel 101
  • Excel Fundamentals
  • Conditional Formatting
  • Essential Formulas
  • Advanced Formulas
  • Pivot Tables
  • Excel Tables
  • Excel Shortcuts
  • Excel Charts
  • Course Bundles
I regularly recommend your site as the best available Excel resource, combined with Microsoft's Function Help resources.
John
More Testimonials

Get Training

Quick, clean, and to the point training

Learn Excel with high quality video training. Our videos are quick, clean, and to the point, so you can learn Excel in less time, and easily review key topics when needed. Each video comes with its own practice worksheet.

View Paid Training & Bundles
Excel foundational video course
Excel Pivot Table video training course
Excel formulas and functions video training course
Excel Charts video training course
Video training for Excel Tables
Dynamic Array Formulas
Exceljet logo Exceljet
Quick, clean, and to the point

Resources

  • Training
  • Videos
  • Functions
  • Formulas
  • Shortcuts
  • Articles

About Us

  • About
  • Testimonials
  • Topics
  • Contact
  • Donate

Newsletter Sign-up

Work faster in Excel. Join more than 100,000 people who get weekly tips from us.
© 2012-2025 Exceljet. Terms of use
  • Visit our Twitter page