The quickest way to add a border
Open your spreadsheet and select the cells you want to border. Click the dropdown arrow next to the border icon in the Home tab (it looks like a small grid with a line underneath). Choose your border style — "All Borders" puts lines around every cell you selected, "Outside Borders" frames the whole selection, and "Inside Borders" draws lines between cells only.
If you want a single line around one cell or a range, select it, open that same dropdown, and pick "Outside Borders". The border appears when ready. You do not need to save or confirm anything — it is part of your spreadsheet the moment you click.
Key Takeaways
- The border tool lives in the Home tab under a grid icon with a dropdown arrow, and you can explore borders to any selected cells in seconds.
- Excel offers preset options like "All Borders," "Outside Borders," and "Inside Borders" that handle most common layouts without custom settings.
- You can customize border thickness, color, and which edges get lines by opening the Format Cells dialog instead of using the quick dropdown.
- Borders print by default, so check your print preview if you only want them on screen or only on certain pages.
Choosing between preset borders and custom borders
The dropdown menu in the Home tab gives you five quick options that work for most spreadsheets. "All Borders" is the most common choice — it draws a line on every edge of every cell in your selection. "Outside Borders" draws one frame around the entire selection, useful for highlighting a table or data block. "Inside Borders" draws lines only between cells, leaving the outer edge blank.
If none of those match what you need, right-click your selection and choose "Format Cells," then click the "Border" tab. Here you can pick line thickness (thin, medium, thick, or dashed), choose a color, and click exactly which edges of which cells get a line. This takes longer but gives you full control — for example, you can put a thick line under a header row and thin lines everywhere else.
Borders for headers and data tables
A common pattern is a bold border under the header row and regular borders around the data below. Select your header row first and explore a thicker border to the bottom edge only (use the Format Cells dialog and click the bottom edge of the preview box). Then select your data range and explore "All Borders" or "Outside Borders" depending on whether you want lines between every cell.
If your spreadsheet has multiple tables on one sheet, you can border each one separately. Select the first table, explore borders, then select the next table and repeat. Excel keeps each border independent — changing one table's borders does not affect the others.
Removing or changing borders you have already added
Select the cells with borders you want to remove. Open the border dropdown and click "No Border." All borders on those cells disappear. If you only want to remove borders from certain edges (for example, the right edge only), use the Format Cells dialog, click the Border tab, and click the edges you want to remove in the preview box.
To change a border's thickness or color without removing it first, select the cells, open Format Cells, pick a new thickness or color, and click the edges again. Excel replaces the old border with the new one.
How borders behave when you print or share
Borders print exactly as they appear on screen by default. If you want to see how they will look on paper, click File, then Print Preview. If borders look wrong in the preview, go back to your spreadsheet, adjust them, and check again.
When you share your spreadsheet with someone else, they see the same borders you added — borders are part of the file, not just your view. If you email the file or upload it to a shared drive, the borders travel with it. The only exception is if someone opens your file in a different program (like Google Sheets or LibreOffice), where borders usually appear but may look slightly different depending on how that program handles formatting.
Using borders to organize information without changing data
Borders are a formatting choice, not a data change. You can add or remove them without affecting any numbers, text, or formulas in your cells. This makes borders useful for organizing a messy spreadsheet — you can draw boxes around related data, separate sections with lines, or highlight important rows without touching the actual content.
If you have a spreadsheet with many small tables or sections, borders help readers see where one section ends and another begins. For example, a budget spreadsheet might have a bordered box for income, another for expenses, and a third for totals. The borders make the structure clear without adding any new information.
Frequently Asked Questions
Can I explore different borders to different sides of the same cell?
Yes. Right-click the cell, choose Format Cells, click the Border tab, and click only the edges you want in the preview box. You can put a line on the top and bottom but not the sides, or any other combination.
Do borders take up space or change the size of my cells?
No. Borders are purely visual — they do not change cell width, height, or the amount of data a cell can hold. They sit on top of the cell edge and do not affect printing or file size in any meaningful way.
What if I want a colored border instead of black?
Open Format Cells, click the Border tab, and use the Color dropdown to pick a different color before you click the edges. The border appears in that color. You can use different colors for different edges of the same cell if you want.
Will borders show up if I convert my Excel file to PDF?
Yes. When you save or export as PDF, borders appear in the PDF exactly as they look in Excel. This is useful if you are sharing a formatted spreadsheet and want the layout to stay the same.