Adding a bottom border in Excel is a quick way to visually separate rows, create a clean table look, or emphasize a total row. You can do it in two clicks: select the cell or range, then go to Home > Borders > Bottom Border. For more control, use the Format Cells dialog. Here’s the complete guide.
What You’ll Need
- Microsoft Excel (Microsoft 365, Excel 2021, 2019, 2016, or Mac version).
- A worksheet with the cells or range where you want the border.
- No special add-ins or permissions required.
Step-by-Step
- Select the cell or range – Click on a single cell, or drag to select multiple cells. To select an entire row or column, click the row number or column letter.
- Go to the Home tab – In the Ribbon at the top, click Home (if not already active).
- Find the Borders button – In the Font group, look for the border icon (a square divided into four quadrants). It’s next to the fill color bucket.
- Click the dropdown arrow – Next to the border icon, there is a small arrow. Click it to open the Borders menu.
- Choose “Bottom Border” – From the dropdown, select Bottom Border (the icon shows a line at the bottom of a square). The border applies instantly to the bottom edge of each selected cell.
- Alternative: Use the Borders button directly – If the button already shows a bottom border icon (a line at the bottom), you can just click the button itself (not the arrow) to apply it.
For more options (thickness, color, dashed lines):
- Open Format Cells – After selecting the range, press Ctrl+1 (Windows) or Cmd+1 (Mac) to open the Format Cells dialog.
- Go to the Border tab – In the dialog, click the Border tab.
- Choose a line style and color – Under Line, pick a style (e.g., thick, dashed) and a color from the dropdown.
- Apply the bottom border – Under Presets or Border, click the Bottom button (the icon with a line at the bottom of the box). You’ll see a preview.
- Click OK – The border is applied. This method lets you set a custom thickness or color.
Keyboard shortcut (Windows only):
- Select the range, then press Ctrl+Shift+_ (underscore) to apply a thin bottom border. For a thicker border, use the Format Cells method.
Excel for the web and Mac: The Home tab > Borders dropdown works the same way. On Mac, use Cmd+1 for Format Cells.
Common Mistakes
- Applying border to the wrong cells – If you select multiple rows, each cell gets its own bottom border. To get a single line under a group, select only the cells in that group (not the whole row) or use the Format Cells method and only apply the bottom border to the bottom row of the selection.
- Using “All Borders” instead of “Bottom Border” – “All Borders” adds lines on all sides, which can look cluttered. Always choose “Bottom Border” for a single line.
- Border not showing because of gridlines – If your worksheet has gridlines on, the border may be hard to see. You can turn off gridlines from View > Show > Gridlines to see borders clearly.
- Accidentally applying border to merged cells – If you have merged cells, the border applies to the entire merged area. Make sure you select the merged cell correctly.
Tips
- Use a thick bottom border for totals – Select the total row, then use Format Cells to apply a thick line (e.g., the second line style) to make it stand out.
- Copy formatting with Format Painter – After applying a border, click the Format Painter icon (Home tab, Clipboard group) and then click another cell to copy the border formatting.
- Remove borders quickly – Select the range, go to Home > Borders dropdown, and choose No Border to clear all borders.
- Use borders for print – If you’re printing, borders appear on the printed page. Check Print Preview (Ctrl+P) to see how they look.
- Keyboard shortcut for Format Cells – Press Ctrl+1 (Windows) or Cmd+1 (Mac) to open Format Cells quickly.
Troubleshooting
- Border doesn’t appear – Make sure you selected the correct cells and that the border color is not white. Check the line color in Format Cells. Also, if you have a fill color, the border may be hidden behind it; try removing the fill.
- Border appears on the wrong side – If you see a border on the top or sides, you might have clicked “All Borders” or the wrong preset. Re-select the range and apply only “Bottom Border”.
- Border is too thin or too thick – Use Format Cells to choose a different line style. The default thin line is the first style; thicker lines are further down the list.
- Border not printing – Check that the border color is not too light, and ensure the printer is set to print background graphics (if using a custom color). Also, make sure the print area includes the bordered cells.
- Border disappears when sorting or filtering – Borders are attached to cells, not data. If you sort, the border moves with the cells. If you filter, hidden rows will not show borders, but they remain when unhidden.
Frequently Asked Questions
- How do I add a bottom border to an entire row? – Click the row number to select the whole row, then apply the bottom border from Home > Borders > Bottom Border. This adds a border under every cell in that row.
- Can I add a bottom border to a merged cell? – Yes, select the merged cell and apply the border. The border will appear along the bottom edge of the entire merged area.
- How do I make the bottom border thicker? – Use Format Cells (Ctrl+1) and choose a thicker line style from the Line list, then click the Bottom button.
- Why does my border not show when I print? – Ensure the border color is dark enough, and check Print Preview. Sometimes borders are too light or the printer settings are set to draft mode.
- Is there a shortcut to add a bottom border? – On Windows, select the range and press Ctrl+Shift+_ for a thin bottom border. On Mac, there is no direct shortcut; use the Borders menu.
- Can I save a custom bottom border style for reuse? – Yes, you can create a custom cell style: go to Home > Cell Styles > New Cell Style, set the border, and name it. Then apply it anytime.
Related
- Data Entry Jobs WFH Entry Level: Real Guide
- How to Add a Zero in Front in Excel
- How to Add a Tick in Excel (Checkmark)
Try it: the Date Difference Calculator: days, months, years and weekdays between two dates, with the DATEDIF formulas.
More in How-to basics
- Highlight Entire Row When Cell Is SelectedYes, you can highlight the entire row when a cell is selected in Excel by using a combination…
- How to Move in Excel Without a MouseTo move around Excel without a mouse, use the arrow keys to change cells, Ctrl+Arrow keys to jump…
- Outlook Share Calendar With Limited Details?Yes. Outlook can let someone see that you are busy without showing what your appointments are about, or…
- How to Delete a Page Range in Word Without Losing TextTo delete a page range in Word, select the content from the beginning of the first page through…
- Excel Advanced Goal Seek: Solver, Limits, and ExamplesExcel has no separate feature called Advanced Goal Seek: the built-in Goal Seek tool finds a value for…
- Excel Number Format for Lakhs With CommasTo show Indian-style comma grouping in Excel, select the cells, press Ctrl+1, choose Number > Custom, enter #,##,##0…
Sources: Function behaviour and menu paths: Microsoft Support documentation for Excel. Method & sources
Spotted an error in this guide? Let us know.