Inside The Web
    Facebook Twitter Instagram
    Inside The Web
    • Office
      • Excel
      • Ms Word
      • OneDrive
      • Google Docs
      • Google Sheets
      • Google Drive
    • Email
      • Gmail
      • Outlook
      • Emal Etiquette
    • Office Etiquette
    • Productivity
    Inside The Web
    Home»Office»Excel»How to Apply Top and Bottom Border in Excel

    How to Apply Top and Bottom Border in Excel

    Asmi DhakalBy Asmi DhakalMarch 25, 2023 Excel 4 Mins Read

    Removing gridlines can give a cleaner look to your worksheet. But this could make it difficult to differentiate the values. Additionally, as excel does not print your worksheet’s gridlines, the data could be even harder to read on paper. To solve this confusion, you could add border to create a clear division.

    Adding top and bottom borders can style your data table and make it look more visually appealing. If you’re dealing with a smaller dataset, applying only the top and bottom borders could get the job done as opposed to applying borders on all sides.

    Apply Top and Bottom Borders from the Home Ribbon

    There are two ways to use tools from the Ribbons. You can either access it using the ribbon shortcuts or by navigating through the ribbon manually from the menubar.

    Use Shortcuts

    If you’re using Excel on Windows, you can use the Ribbon shortcuts. Ribbon shortcuts are a bit different than regular shortcuts. Instead of holding onto the keys, you have to individually click on the keys to apply the shortcut.

    Here are the shortcuts you can use to apply each border:

    Top and Bottom Border: Alt, H, B, D
    Top and Bottom Thick Border: Alt, H, B, C
    Top and Bottom Double Border: Alt, H, B, U

    Navigate through Ribbon

    All users can use Excel’s ribbon to apply top and bottom borders on their cells. Select the cell or the cell range you wish to apply this format. Then navigate through the Excel ribbons using these steps:

    1. On the Home tab, locate the Font section.
    2. Click on the Border icon.
      Excel border
    3. From the fly-out menu, select one of these options:
      • Top and Bottom Border
      • Top and Bottom Thick Border
      • Top and Bottom Double Border

    Draw Top and Bottom Borders in your Grid

    Excel also offers the feature to draw borders inside your grid. You can use this tool if you’re dealing with multiple data tables that need borders. You can simply position your cursor on the area you wish to apply your border in and click on it.

    Let’s draw the top and bottom borders for this data range. I want to apply a top border on top of row 2, to separate the table header from the data and a bottom border in row 10 to mark the end of the data range. Here’s a step-by-step description of how I drew the borders in the spreadsheet:

    1. From the Home ribbon, select the border icon.
    2. Customize the color and style from the Line Color and Line Style options.
      Change line color and style
    3. Choose Draw Borders.
      Draw Border in grid
    4. As I have removed my gridlines, Excel displays dots for easier navigation. Place your cursor where you wish to apply the border.
      Draw Border
    5. Click and drag to the point you wish to apply the border.

    Format Cells Window

    You can also apply borders from the Format cells window. I think this is the quickest and most convenient way to apply the top and bottom borders to your cell/ cell range. What’s best about the Format cell window is that you can preview how your cell is going to look before you confirm the changes.

    1. Select the cell/cell range you wish to format.
    2. On your keyboard, hit the Ctrl + 1 keys.
    3. From the Format cells window, head to the Border tab.
    4. Select a border under the Style section.
      Choose border style
    5. To choose a color, click on the fly-out menu under Color.
      Change border color
    6. Under Border, select the first icon to apply the top border.
    7. To apply the bottom border, select the third icon.
      Insert border from Format cells window
    8. Select OK.
      Apply Borders using format cells window

    Cell borders Vs Cell Range Borders

    Cell borders look a bit different when you apply them to individual cells or cell ranges. When you apply them onto a single cell, the border is applied on the top and bottom. However, when you apply them to a range, the border is applied on the top section of the first cell, and the bottom section of only the last cell. Excel doesn’t insert borders individually to each cell in the range.

    Cell Formats
    Asmi Dhakal

      Asmi is a content writer specializing in MS Office. She loves writing Excel-related content to assist other users to learn their way around the program. She started using Excel when she first entered the industry as a marketing intern. Soon, she realized that learning the often-overlooked spreadsheet program was no piece of cake. In her articles, she attempts to brief out complex topics to help beginner to intermediate-level Excel users. Asmi uses Excel for everything, including creating a grocery list to managing her personal finance. She’s a bit dramatic when it comes to the Flash Fill feature; so much so that could write a eulogy out of it. When she’s not working, you’ll find her learning a new recipe, or cleaning up her mess (out of the failed recipe).

      Related Posts

      Excel By Nisha Gurung

      How to Compare Two Columns in Excel Using VLOOKUP

      Excel By Nisha Gurung

      How to Share Excel Files with Multiple Users

      Excel By Nisha Gurung

      How to Filter Based on a List in Excel

      Add A Comment
      Table of ContentsToggle Table of ContentToggle
      • Apply Top and Bottom Borders from the Home Ribbon
        • Use Shortcuts
        • Navigate through Ribbon
      • Draw Top and Bottom Borders in your Grid
      • Format Cells Window
      • Cell borders Vs Cell Range Borders
      • Home
      • About Us
      • Privacy Policy
      © 2025 Inside The Web

      Type above and press Enter to search. Press Esc to cancel.