Follow the steps below to split a cell diagonally using the tilt feature and line breaks.
Start by clearing any borders from the cell or range of cells you wish to split diagonally to avoid any visual clutter.
Click inside the cell where you want the diagonal split. Place your cursor where you want to insert a break, then press Ctrl + Enter (or Cmd + Enter on Mac) to create a line break. After the break, insert several dashes (-) to create a makeshift line.
Below is a demonstration:
With the cell still selected, go to the Format menu, choose Rotation, and then select an option (Tilt Up or Tilt Down, depending on your preference) that tilts the text to align with your makeshift line.
Here's what it should look like:
Follow the steps below to split a cell diagonally by drawing a diagonal line manually.
Arrange the text in your cell in a way that leaves space for a diagonal line. You might want to place one part of the text at the top of the cell and the other at the bottom.
Go to the Insert menu, choose Drawing, and then select + New. Use the line tool in the drawing panel to draw a diagonal line.
Once the line is drawn, click Save and Close. Adjust the drawing's position so that the line aligns perfectly within the cell, creating a clear visual split.
Follow the steps below to split a cell diagonally using the SPARKLINE function.
Click in the cell where you want the diagonal split. Enter the SPARKLINE function with parameters to create a line, for example, =SPARKLINE({0,1}) for a line from the bottom left to the top right, or =SPARKLINE({1,0}) for the opposite.
You can customize the color of the diagonal line by adding options to the function, like =SPARKLINE({0,1},{"color","red"}).
Note: With the SPARKLINE function, you won't be able to add any text.
We hope that this article has helped you and given you a better understanding of how to split a cell diagonally in Google Sheets. If you enjoyed this article, you might also like our articles on how to set up an income tax calculator in Google Sheets and how to fix the problem of Google Sheets not saving changes.