How to Make a Grid in Excel: Step-by-Step
In this article
To make a grid in Excel, you simply ensure the cells have visible borders. By default, Excel shows a light gray gridline, but that may not print or appear as a true grid. The direct answer: select the range of cells you want as a grid, go to the Home tab, click the Borders button (the square with a plus sign) in the Font group, and choose "All Borders." This instantly turns the selected cells into a clean, printable grid. If you need a custom grid (e.g., thicker outer lines, colored lines, or a grid for a specific project like a calendar or crossword), you can use the "More Borders" option or the Draw Borders tools.
What You'll Need
- Microsoft Excel (desktop version, either Windows or Mac, or the free online version at office.com). The steps are nearly identical across versions, but menu labels may differ slightly.
- A spreadsheet with some data or just blank cells you want to format into a grid.
- Basic familiarity with selecting cells and using the ribbon at the top.
Step-by-Step
- Open Excel and select your range. Click and drag your mouse over the cells you want to include in the grid. For example, to make a 5x5 grid, select A1:E5. You can also click the letter at the top of a column or the number at the left of a row to select an entire column or row.
- Go to the Home tab. This is the default tab at the top of the Excel window, but if you're not on it, click it now. It contains the Font, Alignment, and Number groups.
- Find the Borders button. In the Font group (the section with font name, size, and bold/italic icons), look for a small square icon with a plus sign or a grid pattern. It's usually next to the fill color (paint bucket) icon. The button might show a drop-down arrow on the right side.
- Click the Borders drop-down arrow. Don't just click the button itself—click the small downward arrow next to it. This opens a menu with many border options.
- Choose "All Borders." From the drop-down menu, select the icon that shows a grid with lines on all sides (often labeled "All Borders" when you hover over it). This applies a thin black border to every cell in your selected range, creating a uniform grid.
- Adjust the gridlines if needed. If you want the grid to have thicker outer lines (like a table), select the same range again, go to Borders > "Outside Borders" or "Thick Outside Borders." To make all lines thicker, use "Thick Box Border" or go to "More Borders" and choose a line style and weight.
- For a custom grid (e.g., only certain lines): Use the "Draw Borders" feature. In the Borders drop-down, choose "Draw Border" or "Draw Border Grid." Your cursor becomes a pencil. Click and drag along the edges of cells to draw lines manually. Press Esc to exit drawing mode.
- Change border color or style (optional): In the Borders drop-down, choose "Line Color" to pick a color, then draw or apply borders. For line style (dashed, dotted, thick), choose "Line Style" and select a pattern. Then apply borders as before.
- Remove borders to reset: If you make a mistake, select the range and choose "No Border" from the Borders drop-down. This removes all borders from the selection.
- Print your grid: To see how it looks on paper, go to File > Print (or press Ctrl+P on Windows, Cmd+P on Mac). In the print preview, you'll see the borders. If they don't appear, check that you've applied borders (not just gridlines) and that the print area includes your range.
Common Mistakes
- Confusing gridlines with borders: Excel's default light gray gridlines are only visible on screen and usually don't print. If you want a visible grid on paper, you must apply borders.
- Clicking the Borders button instead of the arrow: Clicking the button directly applies the last-used border style, which might not be what you want. Always click the arrow to see options.
- Selecting the wrong range: If you select a single cell, you'll only get a box around that cell. Make sure to select all cells you want in the grid.
- Applying borders to empty cells: Borders are visible even if cells are empty, but if you later delete a row or column, the grid may break. Consider using a Table (Ctrl+T) if you need a dynamic grid that adjusts with data.
Tips
- Use keyboard shortcut: Select your range, then press Ctrl+Shift+& (ampersand) on Windows to apply all borders instantly. On Mac, it's Cmd+Option+0 (zero).
- Create a reusable grid style: If you frequently need the same grid, format a range once, then right-click and choose "Copy," then paste special as formatting elsewhere. Or save the workbook as a template.
- Make a grid for a calendar or planner: For a monthly calendar, select 7 columns (for days) and 5-6 rows (for weeks). Apply all borders, then adjust row heights by dragging the row numbers.
- Use the Format Painter: After formatting one grid, double-click the Format Painter (paintbrush icon in the Clipboard group) and then click-drag over another range to copy the border style.
- Hide gridlines for a cleaner look: If you want only your borders to show (not the default gray gridlines), go to View tab and uncheck "Gridlines" in the Show group. This makes your custom grid stand out.
Troubleshooting
Borders don't show on screen? Check that you applied borders, not just gridlines. Select a cell and look at the Borders button—if it shows a highlighted border icon, you have borders. If not, reapply. Also, ensure the cell fill color isn't white, which can hide borders.
Borders don't print? Go to Page Layout > Sheet Options and check that "Print" under Gridlines is unchecked (you don't need it if you have borders). Also, in Print Preview, make sure your selection is within the print area. If borders are still missing, try setting the print area to your range (Page Layout > Print Area > Set Print Area).
Borders appear but are too thin or light? Select the range, go to Borders > More Borders (or Format Cells > Border tab). In the dialog, choose a thicker line style (e.g., the thick line at the bottom of the style list) and set a darker color. Apply to all borders.
Borders are misaligned or overlapping? This usually happens when you have merged cells. If you merge cells, borders may not apply correctly. Unmerge (select merged cells, go to Home > Merge & Center > Unmerge Cells) and then apply borders to individual cells, or apply borders after merging but be aware that only the outer border of the merged area shows.
Can't find the Borders button? If you're on the online version, the button is in the same location but may be under a "Borders" icon in the Font group. If you're using Excel on a touch device, tap the Home tab and look for the grid icon. If all else fails, use the keyboard shortcut Ctrl+Shift+&.
Frequently Asked Questions
Why doesn't my grid show when I print?
Because Excel's default gray gridlines are not printed by default. You must apply borders (as described above) or enable printing of gridlines via Page Layout > Sheet Options > Print > Gridlines.
Can I make a grid without borders?
Yes, you can use the default gridlines, but they won't print. To print them, check the "Print" box under Gridlines in Page Layout. However, borders give you more control over thickness and color.
How do I make a grid of a specific size, like 10x10?
Select a 10x10 range (e.g., A1:J10) and apply all borders. You can also set row heights and column widths to make each cell square by selecting the range, then right-clicking a row number and choosing "Row Height" (e.g., 20), and similarly for columns.
Can I save a grid as a template?
Yes. After creating your grid, go to File > Save As and choose "Excel Template" (.xltx) as the file type. Then you can use it as a starting point for new workbooks.
How do I make a grid with different colored lines?
Select the range, go to Borders > Line Color, choose a color, then apply borders. Or use "More Borders" and set the color in the Border tab of the Format Cells dialog.
Is there a way to make a grid that automatically expands with data?
Yes, convert your data range to a Table (select range, press Ctrl+T). Tables have built-in borders and automatically expand as you add rows. You can also use Conditional Formatting to draw gridlines based on cell values.