Skip to main content

How to quickly insert diagonal line in a cell?

Author: Xiaoyang Last Modified: 2020-04-28

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


arrow blue right bubbleInsert 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 bubbleInsert 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


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.

Best Office Productivity Tools

🤖 Kutools AI Aide: Revolutionize data analysis based on: Intelligent Execution   |  Generate Code  |  Create Custom Formulas  |  Analyze Data and Generate Charts  |  Invoke Kutools Functions
Popular Features: Find, Highlight or Identify Duplicates   |  Delete Blank Rows   |  Combine Columns or Cells without Losing Data   |   Round without Formula ...
Super Lookup: Multiple Criteria VLookup    Multiple Value VLookup  |   VLookup Across Multiple Sheets   |   Fuzzy Lookup ....
Advanced Drop-down List: Quickly Create Drop Down List   |  Dependent Drop Down List   |  Multi-select Drop Down List ....
Column Manager: Add a Specific Number of Columns  |  Move Columns  |  Toggle Visibility Status of Hidden Columns  |  Compare Ranges & Columns ...
Featured Features: Grid Focus   |  Design View   |   Big Formula Bar    Workbook & Sheet Manager   |  Resource Library (Auto Text)   |  Date Picker   |  Combine Worksheets   |  Encrypt/Decrypt Cells    Send Emails by List   |  Super Filter   |   Special Filter (filter bold/italic/strikethrough...) ...
Top 15 Toolsets12 Text Tools (Add Text, Remove Characters, ...)   |   50+ Chart Types (Gantt Chart, ...)   |   40+ Practical Formulas (Calculate age based on birthday, ...)   |   19 Insertion Tools (Insert QR Code, Insert Picture from Path, ...)   |   12 Conversion Tools (Numbers to Words, Currency Conversion, ...)   |   7 Merge & Split Tools (Advanced Combine Rows, Split Cells, ...)   |   ... and more

Supercharge Your Excel Skills with Kutools for Excel, and Experience Efficiency Like Never Before. Kutools for Excel Offers Over 300 Advanced Features to Boost Productivity and Save Time.  Click Here to Get The Feature You Need The Most...

Description


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!
Comments (5)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
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.
This comment was minimized by the moderator on the site
Do you mean the Google Sheet? If so, sorry I do not know how to solve it.
This comment was minimized by the moderator on the site
Good information Thanks.
This comment was minimized by the moderator on the site
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.
This comment was minimized by the moderator on the site
It's good Idea. But cann't we split a cell diagonally?
There are no comments posted here yet
Leave your comments
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations