Skip to content

How cell borders lie on the sheet

Borders set with Borders on the workbook toolbar are drawn on the sheet the same way as in Google Sheets: a line of any thickness lies in the middle of the grid line between cells, rather than going inside one of them. So thin, medium, thick and double lines on one border stand in the same place, the corners of a framed range meet without gaps, and nothing sticks out past a corner.

  1. Select cells and choose an option in Borders: All borders, External, Top and others, and, if you like, the line colour and style.
  2. The line lies on the grid line between cells. A thick line extends past the grid line equally into both cells and is drawn on top of the neighbour’s fill.
  3. At the very top and the left edge of the sheet, and also just below frozen rows and to the right of frozen columns, the line is drawn inside the cell, so that row numbers, column letters and the frozen part do not cover it.
  4. In a corner where two lines meet, they join: each reaches the far edge of the other. Where there is no second line, the line ends at the crossing of the grid lines.
  5. A double line is two thin lines with a gap between them; where two double sides of one cell meet, the inner lines join at the corner.
  6. Dashed and dotted lines run exactly along the side of the cell, from corner to corner.
  • The thickness of a line on the screen is a whole number of screen pixels: at a scale of 125%, a thick line (3 px) takes 3 pixels, a medium one (2 px) takes 2, and a thin one takes one, like a grid line.
  • If the fallback mode without the picture is on (support turns it on), medium, thick and double lines lie inside their cell rather than in the middle of the grid line, a pixel or two to the side of what you see in the normal mode.
What you see on the screen Why What to do
The corner of a framed range does not join, a thick frame sticks out past the corner, or it looks pale This was the case before the update of 2026-10-19 Reload the page. If it does not help, tell support your browser and system zoom
A frame under a frozen row is not visible; only the dark freeze line is This was the case before the update of 2026-10-19 Reload the page