Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

How to Hide Borders in Excel: Step-by-Step Guide

· 5 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

To hide borders in Excel, select the cells and set their border to "No Border" using the Borders dropdown on the Home tab, or use the Format Cells dialog and choose the None preset. This removes visible gridlines or cell borders from the selected range, giving you a clean, borderless look for printing, presentations, or a minimalist layout. The exact steps differ slightly between Excel for Windows, Mac, and the web, but the core method is the same.

What You'll Need

  • Microsoft Excel (desktop version for Windows or Mac recommended; web version works with limitations)
  • A spreadsheet with cells that have borders or gridlines you want to hide
  • Basic familiarity with selecting cells and using the Home tab

Step-by-Step

  1. Select the cells. Click and drag to highlight the range where you want to hide borders. To select the entire sheet, press Ctrl+A (Windows) or Command+A (Mac), or click the square at the top-left corner of the sheet.
  2. Go to the Home tab. On the ribbon, find the Font group. The Borders button looks like a small grid icon and sits next to the font color and fill color buttons.
  3. Open the Borders dropdown. Click the arrow next to the Borders button. A menu appears with border options.
  4. Choose "No Border." This removes all cell borders from the selected range. If you only want to hide specific edges (for example, only the outer border), choose the appropriate option like "Outside Borders" to toggle it off, or use "More Borders" for granular control.
  5. Alternatively, use Format Cells. Press Ctrl+1 (Windows) or Command+1 (Mac) to open the Format Cells dialog. Go to the Border tab, click the "None" preset, then click OK. This is useful when you need to remove borders from a large or non-contiguous selection.
  6. Hide gridlines if needed. Cell borders are different from the default worksheet gridlines. To hide gridlines, go to the View tab and uncheck "Gridlines" in the Show group. This affects the entire sheet, not just selected cells.
  7. Check the result. Click outside the selection to deselect. The borders should be gone. If you still see lines, they may be gridlines rather than cell borders—repeat step 6.
  8. Save your work. Press Ctrl+S (Windows) or Command+S (Mac) to save the changes.

Common Mistakes

  • Confusing borders with gridlines. Cell borders are formatting you apply; gridlines are the default light gray lines across the sheet. Removing borders won't hide gridlines, and unchecking gridlines won't remove borders.
  • Selecting the wrong range. If you only select part of the bordered area, some borders will remain. Use Ctrl+A to select all if unsure.
  • Using the wrong border option. Clicking "Outside Borders" when you meant "No Border" can add borders instead of removing them. Always double-check the menu choice.
  • Forgetting merged cells. Borders on merged cells may behave differently; you may need to unmerge, remove borders, then remerge if necessary.
  • Overlooking conditional formatting. Borders applied via conditional formatting won't be removed by the standard Borders button. You'll need to edit or clear the conditional formatting rule.

Tips

  • To remove borders from an entire sheet quickly, select all cells (Ctrl+A) and choose No Border.
  • Use the Format Painter to copy a borderless format from one cell to another.
  • If you want a borderless look for printing, also check Page Layout > Sheet Options and ensure "Print" under Gridlines is unchecked.
  • Keyboard shortcut: Alt+H, B, N (Windows) opens the Borders menu and selects No Border. On Mac, use the ribbon or Format Cells.
  • To hide borders only around a specific cell, select that cell and apply No Border; adjacent cells keep their borders.
  • Remember that hiding borders does not delete data or formatting like fill color; it only changes the visible lines.

Troubleshooting

  • Borders still visible after choosing No Border: The lines are likely gridlines. Go to View tab and uncheck Gridlines. If they persist, check for conditional formatting rules (Home > Conditional Formatting > Manage Rules) and clear any border formatting there.
  • Only some borders disappear: Your selection may not include all bordered cells. Press Ctrl+A to select the entire sheet, then apply No Border again.
  • Borders reappear after reopening the file: The workbook may have a template or style applied. Check for cell styles (Home > Cell Styles) and modify the style to remove borders, or clear formatting (Home > Clear > Clear Formats) and reapply your desired formatting.
  • Cannot remove borders in Excel for the web: The web version has limited border options. Use "No Border" from the Borders dropdown; if unavailable, open the file in desktop Excel.
  • Borders on merged cells won't go away: Unmerge the cells (Home > Merge & Center > Unmerge Cells), remove borders, then remerge if needed.

Frequently Asked Questions

How do I hide all borders in Excel at once?

Select the entire sheet with Ctrl+A (Windows) or Command+A (Mac), then click the Borders dropdown on the Home tab and choose "No Border." This removes all cell borders. To hide gridlines, go to View and uncheck Gridlines.

What is the difference between borders and gridlines in Excel?

Borders are formatting you apply to cells to create lines around them. Gridlines are the default light gray lines that appear across the entire worksheet for reference. You can hide gridlines without affecting borders, and vice versa.

Can I hide borders only for printing?

Yes. Go to Page Layout > Sheet Options and uncheck "Print" under Gridlines to hide gridlines when printing. To remove cell borders for printing only, you would need to remove them from the cells, as borders are part of the cell formatting.

Why do borders come back after I remove them?

This can happen if the cells have a cell style with borders, or if conditional formatting is applying borders. Check Home > Cell Styles and Conditional Formatting > Manage Rules to remove any border formatting from those sources.

How do I remove borders from a table in Excel?

If you applied a table style, go to Table Design (or Design) tab, open the Table Styles gallery, and choose a style with no borders. Alternatively, convert the table to a range (Table Design > Convert to Range) and then remove borders manually.

Is there a keyboard shortcut to remove borders in Excel?

On Windows, press Alt+H, B, N to open the Borders menu and select No Border. On Mac, there is no default shortcut; use the ribbon or Format Cells dialog (Command+1).