Written by Allen Wyatt (last updated March 7, 2023)
This tip applies to Excel 2007, 2010, 2013, 2016, 2019, and 2021
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:
Figure 1. The Border tab of the Format Cells dialog box.
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 2021. You can find a version of this tip for the older menu interface of Excel here: Changing the Color of a Cell Border.
Professional Development Guidance! Four world-class developers offer start-to-finish guidance for building powerful, robust, and secure applications with Excel. The authors show how to consistently make the right design decisions and make the most of Excel's powerful features. Check out Professional Excel Development today!
Adding borders around cells is a common formatting task. You can make the task more intuitive by actually drawing the ...
Discover MoreWhat are you to do if you are trying to format a worksheet, only to find out that one of the tools you need is not ...
Discover MoreExcel allows you to perform math using times as operands. If you subtract a later time from an earlier time, you should ...
Discover MoreFREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."
There are currently no comments for this tip. (Be the first to leave your comment—just use the simple form above!)
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.
FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."
Copyright © 2025 Sharon Parq Associates, Inc.
Comments