Bird
Raised Fist0
Excelspreadsheet~5 mins

Borders and shading in Excel - Step-by-Step Guide

Choose your learning style10 modes available

Start learning this pattern below

Jump into concepts and practice - no test required

or
Recommended
Test this pattern10 questions across easy, medium, and hard to know if this pattern is strong
Introduction
Borders and shading help you make your spreadsheet easier to read by adding lines around cells and colors behind them. This makes important data stand out and organizes information visually.
When you want to separate different sections of a budget to see them clearly
When you need to highlight totals or important numbers in a report
When you want to create a table look without inserting an actual table
When you want to color-code cells to show status like completed or pending
When you want to make headers stand out with background color
Steps
Step 1: Select the cells you want to add borders or shading to
- Worksheet grid
The selected cells are highlighted and ready for formatting
Step 2: Click the Home tab
- Ribbon at the top of Excel
Home tab options appear including font and alignment groups
Step 3: Click the Borders button dropdown arrow
- Font group on the Home tab
A menu with border options appears
Step 4: Select the border style you want, for example, 'All Borders' or 'Outside Borders'
- Borders dropdown menu
The selected border style is applied to the chosen cells
Step 5: Click the Fill Color button dropdown arrow
- Font group on the Home tab, next to Borders button
A color palette appears for shading options
Step 6: Select a color to shade the selected cells
- Fill Color palette
The selected cells are filled with the chosen background color
Before vs After
Before
Cells show plain white background with no lines around them
After
Cells have visible borders around each cell and a light yellow background color
Settings Reference
Border styles
📍 Home tab > Font group > Borders dropdown menu
Choose how and where to add lines around cells
Default: No Border
Fill Color
📍 Home tab > Font group > Fill Color button
Choose background color to shade cells
Default: No Fill
Common Mistakes
Applying borders to only one side when you want a full box
This leaves the other sides without lines, making the border incomplete
Use 'All Borders' or 'Outside Borders' option to get full lines around cells
Choosing a fill color that is too dark or clashes with text color
Makes text hard to read and reduces clarity
Pick light colors or adjust text color for good contrast
Summary
Borders add lines around cells to separate and organize data visually
Shading fills cells with color to highlight or group information
Use the Home tab's Font group to find and apply borders and fill colors easily

Practice

(1/5)
1. What is the main purpose of adding borders to cells in Excel?
easy
A. To hide the contents of cells
B. To change the font style of the text inside cells
C. To calculate the sum of numbers in cells
D. To add lines around cells to separate and organize data

Solution

  1. Step 1: Understand what borders do

    Borders add visible lines around cells to separate or highlight data areas.
  2. Step 2: Compare options

    Only To add lines around cells to separate and organize data describes adding lines around cells; others describe unrelated features.
  3. Final Answer:

    To add lines around cells to separate and organize data -> Option D
  4. Quick Check:

    Borders separate data = A [OK]
Hint: Borders draw lines around cells to organize data visually [OK]
Common Mistakes:
  • Confusing borders with font or calculation features
  • Thinking borders hide data
  • Mixing borders with shading effects
2. Which of the following is the correct way to add a thick border around a selected cell in Excel?
easy
A. Go to Home tab > Font group > Click Borders dropdown > Select Thick Box Border
B. Right-click cell > Format Cells > Number tab > Choose Thick Border
C. Insert tab > Shapes > Draw thick border manually
D. Data tab > Sort & Filter > Apply Thick Border

Solution

  1. Step 1: Locate border options in Excel

    Border settings are found under Home tab in the Font group via the Borders dropdown.
  2. Step 2: Identify the correct method for thick border

    Go to Home tab > Font group > Click Borders dropdown > Select Thick Box Border correctly describes selecting Thick Box Border from the Borders dropdown.
  3. Final Answer:

    Go to Home tab > Font group > Click Borders dropdown > Select Thick Box Border -> Option A
  4. Quick Check:

    Correct border menu location = B [OK]
Hint: Borders are under Home > Font > Borders dropdown [OK]
Common Mistakes:
  • Looking for borders under Format Cells Number tab
  • Trying to draw borders with Shapes instead of border tool
  • Confusing border options with sorting or filtering
3. If you apply a yellow fill color (shading) to cells A1 to A3 and then add a border only to cell A2, what will be the visible result?
medium
A. Only cell A2 will have a border, and all three cells will have yellow shading
B. All three cells will have borders and yellow shading
C. Only cell A2 will have yellow shading and border
D. No cells will show shading or borders

Solution

  1. Step 1: Understand shading application

    Applying yellow fill to A1:A3 colors all three cells' backgrounds yellow.
  2. Step 2: Understand border application

    Adding border only to A2 means only that cell shows border lines.
  3. Final Answer:

    Only cell A2 will have a border, and all three cells will have yellow shading -> Option A
  4. Quick Check:

    Shading applies to range, border applies to single cell = A [OK]
Hint: Shading applies to selected cells; borders apply individually [OK]
Common Mistakes:
  • Assuming borders apply to all shaded cells automatically
  • Thinking shading only applies to cells with borders
  • Confusing fill color with border color
4. You tried to add a border to a cell, but no border appears. Which of these is the most likely reason?
medium
A. The cell is locked and cannot have borders
B. The border color is set to white, matching the background
C. Borders only work on merged cells
D. You applied the border but did not click outside the cell to see it

Solution

  1. Step 1: Check common border visibility issues

    Border may be invisible if its color matches the cell background.
  2. Step 2: Evaluate other options

    Cells can have borders regardless of locking; borders show immediately; borders work on all cells, not just merged.
  3. Final Answer:

    The border color is set to white, matching the background -> Option B
  4. Quick Check:

    Invisible border due to color = D [OK]
Hint: Check border color if borders don't show [OK]
Common Mistakes:
  • Thinking cell locking prevents borders
  • Believing borders appear only after clicking outside
  • Assuming borders only work on merged cells
5. You want to highlight a table by shading alternate rows light gray and adding a thin border around the entire table. Which steps correctly achieve this?
hard
A. Use the Fill Color tool to shade the whole table gray, then add Outside Borders only
B. Manually shade every other row, then add thick borders to each cell individually
C. Select the table, use Conditional Formatting to shade alternate rows, then select the table and add All Borders with thin line
D. Select the table, add thick borders, then use Conditional Formatting to shade all rows

Solution

  1. Step 1: Shade alternate rows using Conditional Formatting

    Conditional Formatting can automatically shade alternate rows for clarity.
  2. Step 2: Add thin borders around entire table

    Select the table and apply All Borders with a thin line style to outline all cells.
  3. Final Answer:

    Select the table, use Conditional Formatting to shade alternate rows, then select the table and add All Borders with thin line -> Option C
  4. Quick Check:

    Conditional Formatting + All Borders = C [OK]
Hint: Use Conditional Formatting for shading, Borders dropdown for lines [OK]
Common Mistakes:
  • Manually shading rows is slow and error-prone
  • Using thick borders instead of thin for subtle look
  • Only adding Outside Borders misses inner cell lines