Please Note: This article is written for users of the following Microsoft Excel versions: 2007, 2010, 2013, 2016, 2019, and Excel in Microsoft 365. If you are using an earlier version (Excel 2003 or earlier), this tip may not work for you. For a version of this tip written specifically for earlier versions of Excel, click here: Changing the Color of a Cell Border.

Changing the Color of a Cell Border

Written by Allen Wyatt (last updated March 7, 2023)
This tip applies to Excel 2007, 2010, 2013, 2016, 2019, and Excel in Microsoft 365


You probably already know that Excel allows you to add borders to your cells. This is handy for separating different pieces of information within the same data table and for, well, just making your data look better.

You are not limited to black borders, however. You can specify different colors for your borders by following these steps:

  1. Select the cells whose border colors you want to change.
  2. Make sure the Home tab of the ribbon is displayed.
  3. In the Font group, click the down-arrow next to the Borders tool. You'll see a list of borders you can apply to the cell.
  4. Click the More Borders option at the bottom of the list. Excel displays the Border tab of the Format Cells dialog box. (See Figure 1.)
  5. Figure 1. The Border tab of the Format Cells dialog box.

  6. Using the Color drop-down list, specify a color you want to use for borders.
  7. Using the controls in the dialog box, specify the borders for the cell as you normally would.
  8. Click on OK.

Just as you can specify a different border type for each side of a cell, you can also specify a different border color for each side of the cell. Just make sure you pick the color you want used before you click on the side of the cell where you want that color used.

Another way you can change the border color is to use the border drawing tools Excel provides. Just display the Home tab of the ribbon and then click the down-arrow next to the Borders tool (in the Font group). Excel displays a whole bunch of choices for applying borders. (See Figure 2.)

Figure 2. Drawing using a border color.

The option you are interested in is the Line Color option. Hover over it, and you'll see a palette of colors you can choose. Pick the color you want, and Excel kicks into border-drawing mode. (You can tell because the mouse pointer changes to a small pencil shape.) Move near the border you want, hold down the mouse button, and drag the mouse. The border is drawn on the cells as you specify. When you press Esc to exit border-drawing mode, any borders you subsequently apply (by whatever means) are applied in the same color you selected.

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (8773) applies to Microsoft Excel 2007, 2010, 2013, 2016, 2019, and Excel in Microsoft 365. You can find a version of this tip for the older menu interface of Excel here: Changing the Color of a Cell Border.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He is president of Sharon Parq Associates, a computer and publishing services company. ...

MORE FROM ALLEN

Black and White Blues

Getting a chart looking its best on a black-and-white printer can be a challenge. This tip examines different ways you ...

Discover More

Making Text Bold

Want a cool shortcut to make your text bold? Here's a method that fits in wonderfully with how things are done in the ...

Discover More

Pasting Multiple Worksheets into a Word Document

Two very common programs that are used together are Excel and Word. If you want to copy multiple worksheets from an Excel ...

Discover More

Program Successfully in Excel! John Walkenbach's name is synonymous with excellence in deciphering complex technical topics. With this comprehensive guide, "Mr. Spreadsheet" shows how to maximize your Excel experience using professional spreadsheet application development tips from his own personal bookshelf. Check out Excel 2013 Power Programming with VBA today!

More ExcelTips (ribbon)

Changing Number Display Settings for Single Workbooks

How Excel displays numbers is extremely flexible, but it can also be very confusing. This tip looks at how number display ...

Discover More

Changing to a Non-US Date Format

Do you want to specify your months and days differently when displaying dates in your worksheets? This tip looks at how ...

Discover More

Setting a Default Date Format

Enter a date into a cell, and Excel allows you to format that date in a variety of ways. Don't see the date format you ...

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] (all 7 characters, in the sequence shown) in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is 6 - 0?

There are currently no comments for this tip. (Be the first to leave your comment—just use the simple form above!)


This Site

Got a version of Excel that uses the ribbon interface (Excel 2007 or later)? This site is for you! If you use an earlier version of Excel, visit our ExcelTips site focusing on the menu interface.

Newest Tips
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.