How to Create a Border in Excel

There are two ways to “create a border in excel”: the quick way you copy and the durable way you understand. This page gives you both. The exact Excel answer is above; below, we build the small mental model that makes the fix stick, so the next variation of the same problem solves itself.

Exact answer

In Excel: select the range and use the Borders dropdown on the Home tab — All Borders for a full grid — or press Ctrl+Shift+& for an outline and Ctrl+Shift+_ to remove borders.

On this page7
Annotated stepsExcel
1

Select the cells that should get the border.

2

Open the Borders dropdown on the Home tab and pick a preset — All Borders, Outside Borders, Thick Box Border.

3

For control over style and colour, press Ctrl+1 and go to the Border tab.

4

In that dialog choose the line style and colour FIRST, then click the edges or the Outline/Inside presets.

5

Ctrl+Shift+& applies an outline to the selection; Ctrl+Shift+_ removes all borders.

6

For borders that follow the data, use Home ▸ Conditional Formatting ▸ New Rule with a formula and set a border in the Format dialog.

Ctrl+CthenCtrl+Shift+V+Cthen+Ctrl+VPaste values · WindowsMac

What this does

Borders are real formatting applied to cells, unlike gridlines, which are a screen guide that never prints by default. The Home ▸ Borders dropdown covers the common cases; the dialog behind "More Borders" (Ctrl+1 ▸ Border) is where line style, colour and individual edges live, and it works by clicking the preview diagram rather than by ticking a list. Two features are worth knowing: Draw Border, at the bottom of the dropdown, turns the cursor into a pen for freehand borders, and a conditional-formatting rule can apply a border, which is how you get a line that follows the data rather than the grid. Most people learn this as a sequence of clicks and forget it by next week; learning it as a pattern instead is what lets you apply it to the next, slightly different version of the problem without starting from scratch. That is the difference this page is trying to make. For “create a border in excel”, the reliable version is a short checking loop, not just the first command that appears to work. Run it on a deliberately small range first, watch how the affected border change, and only then apply the same setup to the full sheet. When this is a ribbon command, the selection matters more than the button: confirm the range, apply the command, then spot-check the output before saving. That is what makes a layout choice that keeps the sheet readable and sortable useful in real work: repeatable, auditable, and not dependent on memory or luck.

A worked example

Select A1:D20 and choose Home ▸ Borders ▸ All Borders for a full grid. To make just the header row stand out, select A1:D1 ▸ Borders ▸ Bottom Double Border. For a thick outline in a specific colour, press Ctrl+1 ▸ Border tab ▸ pick the style and colour first, then click Outline — choosing the style after clicking Outline does nothing, which is the dialog's one real trap. To clear everything, select the range and press Ctrl+Shift+_ or choose Borders ▸ No Border. Borders are what turn a block of values into a table a reader can parse, and the difference between a considered header rule and All Borders on 5,000 rows is the difference between a report and a wall of boxes. When the result is not what you expected, undo straight away rather than repairing it by hand — undo restores the sheet exactly, while manual fixes tend to leave small inconsistencies behind that surface later.

In Google Sheets

This is a command rather than a formula, so there is no syntax to carry over. Google Sheets arranges its commands in menus across the top instead of a ribbon, names some of them differently and does not have every Excel command — look for the equivalent in the Sheets menus or its help before assuming the steps match. The aim was to get you unstuck fast and leave you a little more capable than a copy-paste would. The answer is at the top and the detail above shows why it holds — so the next time a colleague asks, you can answer without reaching for search. Here is the takeaway for “create a border in excel”: follow the steps at the top, check the result on the sheet itself, and keep undo in mind while you experiment. Done once deliberately, it becomes something you do from memory in Excel rather than something you search for again.

Common mistakes

  • Confusing borders with gridlines — hiding gridlines does not touch borders, and gridlines do not print unless you tick the option.
  • Choosing the style or colour after clicking an edge in the Format Cells dialog, which applies nothing.
  • Bordering every cell in a large table, which makes it harder to read than a header rule plus light row banding.
  • Applying borders to entire columns rather than the used range, which bloats the file.
  • Expecting a border to move with the data when rows are sorted — it stays with the cell unless it came from conditional formatting.

Frequently asked questions

How do I add borders in Excel?

Select the range, open the Borders dropdown on the Home tab and choose a preset such as All Borders. Ctrl+Shift+& applies an outline to the selection.

How do I change the border colour or thickness?

Press Ctrl+1 and open the Border tab. Choose the line style and colour first, then click the edges or the Outline/Inside buttons — the order matters.

How do I remove all borders?

Select the range and press Ctrl+Shift+_ , or choose Borders ▸ No Border from the Home tab.

What is the difference between borders and gridlines?

Gridlines are a faint on-screen guide that does not print by default and cannot be styled per cell. Borders are formatting you apply, and they always print.

Other ways people ask this

People reach this page typing “how to make borders in excel”, “how do you make a border in excel”, “how do you make borders in excel” and “how to make a border in excel”, among other phrasings; whichever wording you used, the fix above is the one you want.

Why do people search for this in so many different ways?

Because the same task has many names. “how to make borders in excel”, “how do you make a border in excel”, “how do you make borders in excel” all point at the one operation explained on this page, which is why they all lead here.