Tip: Other languages are Google-Translated. You can visit the English version of this link.
Log in
x
or
x
x
Register
x

or

How to quickly insert diagonal line in a cell?

When we process some tasks in Excel, sometimes we may need to insert diagonal line in a cell for creating a table in Excel. You can insert diagonal line in Excel as follows:

Insert one diagonal line with Border function

Insert two or more diagonal line with drawing lines


quickly Insert diagonal line in tables in Word

The Diagonal Table Header utility of Kutools for Word provides several diagonal table header style for you to quickly insert to a table in Word.  Click for 45 days free trial!
  doc insert diagonal
 
Kutools for Word: with dozens of handy Word add-ins, free to try with no limitation in 45 days.

arrow blue right bubble Insert one diagonal line with Border function

With the border function in Excel, you can quickly insert a diagonal line in a cell. Please do as follows:

1. Click the cell that you want to place the diagonal line.

2. Right-click and choose Format Cells in the menu, and a Format Cells dialog box will pop out. Then click Border on the top ribbon, and click the diagonal line, you can preview it from the box. See screenshot:

doc-insert-diagonal-lines1

3. Then click OK. And the diagonal line has been inserted into the cell.

4. Then you can enter the text into the diagonal line cell. Enter the first text into the cell, and then press Alt + Enter to change the line and enter the second text. Then you can press the Space bar to put the text at the right location that you want.

doc-insert-diagonal-lines2


arrow blue right bubble Insert two or more diagonal line with drawing lines

With the above method, you can only insert one diagonal line, if you want to insert two or more, you can do as the following steps:

1. Select the cell you would like to add the diagonal lines.

2. Click Insert > Shapes, and select a line shape.

3. Then draw the lines that you need. See screenshot:

doc-insert-diagonal-lines3

4. Then enter the text into the cell as the first method step 4. See screenshot:

doc-insert-diagonal-lines4


Tabbed browsing & editing multiple Word documents/Excel workbooks as Firefox, Chrome, Internet Explore 10!

You may be familiar to view multiple webpages in Firefox/Chrome/IE, and switch between them by clicking corresponding tabs easily. Here, Office Tab supports similar processing, which allow you to browse multiple Word documents or Excel workbooks in one Word window or Excel window, and easily switch between them by clicking their tabs.
Click for free trial of Office Tab!

Browse multiple word documents in one window as Firefox

Kutools for Excel Solves Most of Your Problems, and Increases Your Productivity by 80%

  • Reuse: Quickly insert complex formulas, charts and anything that you have used before; Encrypt Cells with password; Create Mailing List and send emails...
  • Super Formula Bar (easily edit multiple lines of text and formula); Reading Layout (easily read and edit large numbers of cells); Paste to Filtered Range...
  • Merge Cells/Rows/Columns without losing Data; Split Cells Content; Combine Duplicate Rows/Columns... Prevent Duplicate Cells; Compare Ranges...
  • Select Duplicate or Unique Rows; Select Blank Rows (all cells are empty); Super Find and Fuzzy Find in Many Workbooks; Random Select...
  • Exact Copy Multiple Cells without changing formula reference; Auto Create References to Multiple Sheets; Insert Bullets, Check Boxes and more...
  • Extract Text, Add Text, Remove by Position, Remove Space; Create and Print Paging Subtotals; Convert Between Cells Content and Comments...
  • Super Filter (save and apply filter schemes to other sheets); Advanced Sort by month/week/day, frequency and more; Special Filter by bold, italic...
  • Combine Workbooks and WorkSheets; Merge Tables based on key columns; Split Data into Multiple Sheets; Batch Convert xls, xlsx and PDF...
  • More than 300 powerful features. Supports Office/Excel 2007-2019 and 365. Supports all languages. Easy deploying in your enterprise or organization. Full features 30-day free trial.
kte tab 201905

Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier

  • Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
  • Open and create multiple documents in new tabs of the same window, rather than in new windows.
  • Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!
officetab bottom
Say something here...
symbols left.
You are guest ( Sign Up? )
or post as a guest, but your post won't be published automatically.
Loading comment... The comment will be refreshed after 00:00.
  • To post as a guest, your comment is unpublished.
    Laine · 2 years ago
    This is great and all, but what about for Excel ONLINE? I don't have the desktop version, I use the free online version with one drive.
    • To post as a guest, your comment is unpublished.
      Sunny · 2 years ago
      Do you mean the Google Sheet? If so, sorry I do not know how to solve it.
  • To post as a guest, your comment is unpublished.
    Ramu · 3 years ago
    Good information
    Thanks.
  • To post as a guest, your comment is unpublished.
    lisa · 3 years ago
    Thanks - but why does diagonal lines in excel show up crooked? They have rough edges and I'm having a difficult time having a smooth straight line.
  • To post as a guest, your comment is unpublished.
    Shakti Pravesh · 6 years ago
    It's good Idea. But cann't we split a cell diagonally?