How to Get Rid of Dotted Lines in Excel

If you just need to get rid of dotted lines in excel and move on, the boxed answer at the top is all you need. The rest of this page is for when you want to understand why it works in Excel, adapt it to a trickier version, or make it robust enough to hand to a colleague. We keep the opening short on purpose — the depth is here when you want it, not in your way when you don’t.

Exact answer

In Excel: select the row or column where the next printed page should start, then choose Page Layout ▸ Breaks ▸ Insert Page Break.

On this page7
Annotated stepsExcel
1

Select the row below or column right of the desired split.

2

Choose Page Layout ▸ Breaks ▸ Insert Page Break.

3

Use Page Break Preview to inspect placement.

4

Reset breaks from the same menu if layout gets messy.

Ctrl+CthenCtrl+Shift+V+Cthen+Ctrl+VPaste values · WindowsMac

What this does

Page breaks control where Excel splits a sheet when printing or exporting to PDF. Horizontal breaks start a new page above the selected row; vertical breaks start a new page left of the selected column. Page Break Preview makes the breaks visible and draggable. Most people learn this as a sequence of clicks and forget it by next week; learning it as a pattern instead is what lets you apply it to the next, slightly different version of the problem without starting from scratch. That is the difference this page is trying to make. The difference between a quick fix and a sheet you can trust is the extra minute you spend validating “get rid of dotted lines in excel”. Start on a copy or a tiny sample, keep the affected cells visible, and compare the result with the tool above before you touch the real workbook. When this is a ribbon command, the selection matters more than the button: confirm the range, apply the command, then spot-check the output before saving. The point is a visual that makes the number obvious at a glance, but the practical win is that someone else can open the file and understand what happened without asking you.

A worked example

A report should start a new page before row 41. Select row 41, choose Page Layout ▸ Breaks ▸ Insert Page Break, then check View ▸ Page Break Preview to confirm the split. Page breaks are essential for readable PDF exports and printed reports where section boundaries matter. A practical tip: try it on a copy of the sheet or a handful of sample rows first and check the result before you apply it to the real data. That one habit catches almost every surprise while it is still cheap to reverse.

In Google Sheets

This is a command rather than a formula, so there is no syntax to carry over. Google Sheets arranges its commands in menus across the top instead of a ribbon, names some of them differently and does not have every Excel command — look for the equivalent in the Sheets menus or its help before assuming the steps match. Keep this page bookmarked for the next time the same question comes up. Better still, repeat the steps once in your own workbook — doing it yourself is what turns a copied answer into something you remember. Treat “get rid of dotted lines in excel” as a routine rather than a one-off. Once you know which setting or command controls it, the same few steps handle every workbook where it comes up in Excel, and you can explain them to a colleague in a sentence.

Common mistakes

  • Selecting a single cell and misunderstanding where the break lands.
  • Ignoring print area and scaling, which can override expectations.
  • Leaving old manual breaks after data changes.
  • Using page breaks when repeating headers needs Print Titles instead.

Frequently asked questions

How do I see page breaks?

Use View ▸ Page Break Preview.

How do I remove page breaks?

Use Page Layout ▸ Breaks ▸ Remove Page Break or Reset All Page Breaks.

Do page breaks affect data?

No. They affect printing and PDF layout only.

Other ways people ask this

People reach this page typing “get rid of dotted lines in excel”, “how to get rid of dotted line in excel”, “how to get rid of the dotted lines in excel” and “why is there a dotted line in excel”, among other phrasings; whichever wording you used, the fix above is the one you want.

Why do people search for this in so many different ways?

Because the same task has many names. “get rid of dotted lines in excel”, “how to get rid of dotted line in excel”, “how to get rid of the dotted lines in excel” all point at the one operation explained on this page, which is why they all lead here.