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

Recommended Productivity Tools

Ribbon of Excel (with Kutools for Excel installed)

300+ Advanced Features Increase Your Productivity by 71%, and Help You To Stand Out From Crowd!

Would you like to complete your daily work quickly and perfectly? Kutools For Excel brings 300+ cool and powerful advanced features (Combine workbooks, sum by color, split cell contents, convert date, and so on...) for 1500+ work scenarios, helps you solve 82% Excel problems.

  •  Deal with all complicated tasks in seconds, help to enhance your work ability, get success from the fierce competition, and never worry about being fired.
  •  Save a lot of work time, leave much time for you to love and care the family and enjoy a comfortable life now.
  •  Reduce thousands of keyboard and mouse clicks every day, relieve your tired eyes and hands, and give you a healthy body.
  •  Become an Excel expert in 3 minutes, and get admiring glance from your colleagues or friends.
  •  No longer need to remember any painful formulas and VBA codes, have a relaxing and pleasant mind, give you a thrill you've never had before.
  •  Spend only $39, but worth than $4000 training of others. Being used by 110,000 elites and 300+ well-known companies.
  •  60-day unlimited free trial. 60-day money back guarantee. Free upgrade and support for 2 years. Buy once, use forever.
  •  Change the way you work now, and give you a better life immediately!

Office Tab Brings Efficient And Handy Tabs to Office (include Excel), Just Like Chrome, Firefox, And New IE

  • Increases your productivity by 50% when viewing and editing multiple documents.
  • Reduce hundreds of mouse clicks for you every day, say goodbye to mouse hand.
  • Open and create documents in new tabs of same window, rather than in new windows.
  • Help you work faster and easily stand out from the crowd! One second to switch between dozens of open documents!
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 · 1 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 · 1 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 · 5 years ago
    It's good Idea. But cann't we split a cell diagonally?