Adding lines in excel

To start a new line of text or add spacing between lines or paragraphs of text in a worksheet cell, press Alt+Enter to insert a line break.

  1. Double-click the cell in which you want to insert a line break.

  2. Click the location inside the selected cell where you want to break the line.

  3. Press Alt+Enter to insert the line break.

To start a new line of text or add spacing between lines or paragraphs of text in a worksheet cell, press CONTROL + OPTION + RETURN to insert a line break.

  1. Double-click the cell in which you want to insert a line break.

  2. Click the location inside the selected cell where you want to break the line.

  3. Press CONTROL+OPTION+RETURN to insert the line break.

To start a new line of text or add spacing between lines or paragraphs of text in a worksheet cell, press Alt+Enter to insert a line break.

  1. Double-click the cell in which you want to insert a line break (or select the cell and then press F2).

  2. Click the location inside the selected cell where you want to break the line.

  3. Press Alt+Enter to insert the line break.

  1. Double-tap within the cell.

  2. Tap the place where you want a line break, and then tap the blue cursor.

    Insert line break

  3. Tap New Line in the contextual menu.

    New line

Note: You cannot start a new line of text in Excel for iPhone.

  1. Tap the keyboard toggle button to open the numeric keyboard.

    Keyboard switch

  2. Press and hold the return key to view the line break key, and then drag your finger to that key.

    Line break button

Содержание

  1. Start a new line of text inside a cell in Excel
  2. Need more help?
  3. Add or remove series lines, drop lines, high-low lines, or up-down bars in a chart
  4. Predefined line and bar types that you can add to a chart
  5. Add predefined lines or bars to a chart
  6. Remove predefined lines or bars from a chart
  7. Add other lines
  8. Remove other lines
  9. How to Add a Line in Excel
  10. Related
  11. Add Rows in Excel
  12. Insert a Column in Excel
  13. Remove Columns or Rows
  14. Add Cell Borders
  15. Insert / Draw Line in Excel
  16. Draw and Insert a Line in Excel
  17. How to Insert/Draw a Line in Excel?
  18. How to Draw a Line in Excel?
  19. Insert Line in Excel Example #1
  20. Insert Line in Excel Example #2
  21. Explanation of Draw Lines in Excel
  22. Things to Remember
  23. Recommended Articles

Start a new line of text inside a cell in Excel

To start a new line of text or add spacing between lines or paragraphs of text in a worksheet cell, press Alt+Enter to insert a line break.

Double-click the cell in which you want to insert a line break.

Click the location inside the selected cell where you want to break the line.

Press Alt+Enter to insert the line break.

To start a new line of text or add spacing between lines or paragraphs of text in a worksheet cell, press CONTROL + OPTION + RETURN to insert a line break.

Double-click the cell in which you want to insert a line break.

Click the location inside the selected cell where you want to break the line.

Press CONTROL+OPTION+RETURN to insert the line break.

To start a new line of text or add spacing between lines or paragraphs of text in a worksheet cell, press Alt+Enter to insert a line break.

Double-click the cell in which you want to insert a line break (or select the cell and then press F2).

Click the location inside the selected cell where you want to break the line.

Press Alt+Enter to insert the line break.

Double-tap within the cell.

Tap the place where you want a line break, and then tap the blue cursor.

Tap New Line in the contextual menu.

Note: You cannot start a new line of text in Excel for iPhone.

Tap the keyboard toggle button to open the numeric keyboard.

Press and hold the return key to view the line break key, and then drag your finger to that key.

Need more help?

You can always ask an expert in the Excel Tech Community or get support in the Answers community.

Источник

Add or remove series lines, drop lines, high-low lines, or up-down bars in a chart

You can add predefined lines or bars to charts in several apps for Office. By adding lines, including series lines, drop lines, high-low lines, and up-down bars, to specific chart can help you analyze the data that is displayed. If you no longer want to display the lines or bars, you can remove them.

New to formatting charts in Excel? Click here for a free 5 minute video training on how to format your charts.

Specific line and bar types are available in 2-D stacked bar and column charts, line charts, pie of pie and bar of pie charts, area charts, and stock charts.

Predefined line and bar types that you can add to a chart

Depending on the chart type that you use, you can add one of the following lines or bars:

Series lines These lines connect the data series in 2-D stacked bar and column charts to emphasize the difference in measurement between each data series. Pie of pie and bar of pie charts display series lines by default to connect the main pie chart with the secondary pie or bar chart.

Drop lines Available in 2-D and 3-D area and line charts, these lines extend from data points to the horizontal (category) axis to help clarify where one data marker ends and the next data marker starts.

High-low lines Available in 2-D line charts and displayed by default in stock charts, high-low lines extend from the highest value to the lowest value in each category.

Up-down bars Useful in line charts with multiple data series, up-down bars indicate the difference between data points in the first data series and the last data series. By default, these bars are also added to stock charts, such as Open-High-Low-Close and Volume-Open-High-Low-Close.

Add predefined lines or bars to a chart

Click the 2-D stacked bar, column, line, pie of pie, bar of pie, area, or stock chart to which you want to add lines or bars.

This displays the Chart Tools, adding the Design, Layout, and Format tabs.

On the Layout tab, in the Analysis group, do one of the following:

Click Lines, and then click the line type that you want.

Note: Different line types are available for different chart types.

Click Up/Down Bars, and then click Up/Down Bars.

Tip: You can change the format of the series lines, drop lines, high-low lines, or up-down bars that you display in a chart by right-clicking the line or bar, and then clicking Format .

Remove predefined lines or bars from a chart

Click the 2-D stacked bar, column, line, pie of pie, bar of pie, area, or stock chart that displays predefined lines or bars.

This displays the Chart Tools, adding the Design, Layout, and Format tabs.

On the Layout tab, in the Analysis group, click Lines or Up/Down Bars, and then click None to remove lines or bars from a chart.

Tip: You can also remove lines or bars immediately after you add them to the chart by clicking Undo on the Quick Access Toolbar or by pressing CTRL+Z.

You can add other lines to any data series in an area, bar, column, line, stock, xy (scatter), or bubble chart that is 2-D and not stacked.

Add other lines

This step applies to Word for Mac only: On the View menu, click Print Layout.

In the chart, select the data series that you want to add a line to, and then click the Chart Design tab.

For example, in a line chart, click one of the lines in the chart, and all the data marker of that data series become selected.

Click Add Chart Element, and then click Gridlines.

Choose the line option that you want or click More Gridline Options.

Depending on the chart type, some options may not be available.

Remove other lines

This step applies to Word for Mac only: On the View menu, click Print Layout.

Click the chart with the lines, and then click the Chart Design tab.

Click Add Chart Element, click Gridlines, and then click More Gridline Options.

You can also click the line and press DELETE .

Источник

How to Add a Line in Excel

If you are using Microsoft Excel for your business, you may need to add an additional row or several rows to accommodate new data in a spreadsheet. You can also draw lines within the spreadsheet to separate specific sections from one another. This can help make certain that specific areas catch the eye when someone reads the spreadsheet.

Add Rows in Excel

You can always add new rows at the bottom of a spreadsheet simply by scrolling to the end of the spreadsheet and typing new content, but often you’ll want to insert rows in a specific place. You may want to add a subheading near the top of the spreadsheet or add data in a specific place, without having to resort the entire sheet.

Whatever the reason, you can use Excel’s built-in menus to add new rows. To do so, select one or more rows in the spreadsheet prior to where you want to add the new row. Select as many rows as you want to add or, if you only want to add one new row, select only one row.

Then, click the «Home» tab in the ribbon menu at the top of the Excel window. Click «Insert,» then click «Insert Sheet Rows» to insert the new rows.

You can also right-click the left of a row and click «Insert» to add a new row below it.

Insert a Column in Excel

If you want to _add a column in Excel, t_he process is very similar to adding a row. Select one or more columns using your mouse, to the left of where you want to add new columns. Select as many columns as you wish to add or select only one to add only one.

Then, click the «Home» tab in the ribbon menu at the top of your spreadsheet. Click «Insert» in the menu, then click «Insert Sheet Columns» to add new columns to your spreadsheet.

Alternatively, you can right-click the top of an existing column and click «Insert» to insert a column to its right.

Remove Columns or Rows

In some cases, you may find that you have more columns or rows than you need in your spreadsheet. While you could cut and paste your spreadsheet contents to move them to the left or toward the top, you can also simply delete the unwanted rows or sheets.

To do so, select the rows or columns you wish to delete using your mouse. Then, click the «Home» tab in the ribbon menu and click «Insert.» Click «Delete Sheet Rows» to delete a set of selected rows or «Delete Sheet Columns» to delete a set of columns.

Alternatively, you can right-click the top of a column and click «Delete» to delete it or right-click the left of a row and click «Delete» to remove it from your spreadsheet.

Remember that any data in a row or column will be lost when you delete it, so be sure you’ve transferred any useful information elsewhere before deleting spreadsheet rows or columns.

Add Cell Borders

You can add lines in Excel between cells, using the built-in cell border feature. To do so, select the cell or cells where you want to add borders.

Then, click the «Home» tab in the ribbon menu and, underneath «Font,» click the arrow next to the «Borders» button and choose the style you want, using the graphic icons to choose which sides of the cells you want to have borders. If you want to customize the border styles or colors, click «More Borders» and use the dialog box to set additional options.

If two cells share a border, and you assign conflicting different border styles to them, the most recent setting will take effect.

Источник

Insert / Draw Line in Excel

Lines in Excel are used to show connections between two or more data points. However, we can also draw lines without showing any types of relationships in Excel. To draw a line in Excel, we need to go to the “Insert” tab and click on “Shapes,” then, we can choose the type of line we want to draw in Excel.

Table of contents

Draw and Insert a Line in Excel

Earlier, if we needed to draw a particular shape in a document, it was done by a drawing program. The program was separate from the software itself. In this way, the software was dependent on the drawing program if there needed to be any connections drawn out.

But now, in Microsoft Excel, it is easier to draw shapes of any size or desire. So, for example, we can draw a circle, a line, a rectangle, or any shape.

How to Insert/Draw a Line in Excel?

Excel has provided us with the tools required to insert a line or shape or draw a shape in it, rather than depending upon any other third program. In addition, it has a variety of shapes that we can use as the situation requires.

One of the shapes is a “Line.” The line is a collection of points that extends in both directions. We can use it to form certain shapes, such as squares or rectangles, or it can just be a straight line that has an infinite ending to both ends.

The main question arises: how do we draw a line in Excel?

If we go to the “Insert” tab and in the “Illustrations” section, we will find an option for “Shapes.”

If we click on “Shapes,” it gives us a variety of shapes to choose from. One of the varieties is the “Lines.”

Now, in the line option, we have various types of line options to choose from:

  1. Line
  2. Arrow
  3. Double Arrow
  4. Elbow Connector
  5. Elbow Arrow Connector
  6. Elbow Double Arrow Connector
  7. Curved Connector
  8. Curved Arrow Connector
  9. Curved Double Arrow Connector
  10. Curve
  11. FreeForm
  12. Scribble.

All of these forms of lines are used as a connector in Excel. It shows the relationship, dependency, or connection in Excel. For example, suppose we have various cells with data but which cells refer to which data can be recognized by inserting a line or shape in Excel.

How to Draw a Line in Excel?

To draw a line in Excel, we must follow these steps:

  1. In the “Insert” tab under “Illustrations,” click on “Shapes.”
  2. When the dialog box appears, we must go to the “Lines” section,
  3. Select any line from the various given options to draw a connection.

Like this, we use the elbow arrow connector in “Lines.”

Let us learn how to draw a line in Excel by a few examples:

Insert Line in Excel Example #1

Suppose we have a chart for data. We can see that there is a dip in sales for a company. Rather than going through the whole data and analyzing the issue for a viewer, the chart author can add text to show the reason for the spike and draw a line in Excel to indicate the same.

Have a look at the chart below.

Looking at the chart, we see that they dipped in sales in March, but we do not know why.

    We must first insert a text box and write the text for the dip in sales. Then, we must insert a line to indicate the reason.

Write the text in the text box.

Now, in the Insert tab under llustrations, click on Shapes.

A dialog box pops up for different shapes. Select the Lines menu.

In the Lines option, we can see the option for line shape, which is the first one.

Now, we must right-click on the mouse and start stretching the line to the extent we want it and release the mouse.

Next, in the Shape Outline option, click on Weight.

A dialog box pops up with the various weights or the dimensions for the line. Select anyone suitable like 3 points.

We have successfully drawn a line for the chart to indicate a connection.

Insert Line in Excel Example #2

Suppose we have an illustration such as below somewhere in our data. We want to show a relationship between them.

We will use the elbow arrow connector in line to show that the main is related to both sub 1 and sub2.

Step #1 – In the “Illustrations” under the “Insert” tab, click on “Shapes.”

Step #2 – Again, a dialog box may appear for the various shapes.

Step #3 – This time, we will choose the “Elbow Arrow” connector, located in the fifth position from the start.

Step #4 – Now we know we need to show a relation between the main and the two subs. Right-click on the mouse from the main and release the mouse when we drag it to the sub 1 end.

Step #5 – This is the first connection. Now again, go to the “Insert” tab and, in “Illustrations,” click on “Shapes.”

Step #6 – Then, click on the “Elbow Arrow” connector in “Lines.”

Step #7 – Again, start from the main by right click and release the click in the sub 2’s end.

Explanation of Draw Lines in Excel

The lines in Excel are inserted to show connections between two points.

We can also use it to draw shapes if used in free form. For example, “Draw the line” in Excel acts as a connector as in the above example. It showed the connection between the main and the other two subs.

Things to Remember

  1. Lines should start at one point and end at another point.
  2. To start inserting a line in Excel, we must right-click on the mouse, stretch the line, and release the click when we want to end the line.

Recommended Articles

This article is a guide to Draw Line in Excel. We discuss how to insert/draw a Line in Excel, practical examples, and a downloadable Excel template. You may learn more about Excel from the following articles: –

Источник

Lines in Excel are used to show connections between two or more data points. However, we can also draw lines without showing any types of relationships in Excel. To draw a line in Excel, we need to go to the “Insert” tab and click on “Shapes,” then, we can choose the type of line we want to draw in Excel.

Table of contents
  • Draw and Insert a Line in Excel
    • How to Insert/Draw a Line in Excel?
    • How to Draw a Line in Excel?
      • Insert Line in Excel Example #1
      • Insert Line in Excel Example #2
    • Explanation of Draw Lines in Excel
    • Things to Remember 
    • Recommended Articles

Earlier, if we needed to draw a particular shape in a document, it was done by a drawing program. The program was separate from the software itself. In this way, the software was dependent on the drawing program if there needed to be any connections drawn out.

But now, in Microsoft Excel, it is easier to draw shapes of any size or desire. So, for example, we can draw a circle, a line, a rectangle, or any shape.

How to Insert/Draw a Line in Excel?

Excel has provided us with the tools required to insert a line or shape or draw a shape in it, rather than depending upon any other third program. In addition, it has a variety of shapes that we can use as the situation requires.

One of the shapes is a “Line.” The line is a collection of points that extends in both directions. We can use it to form certain shapes, such as squares or rectangles, or it can just be a straight line that has an infinite ending to both ends.

The main question arises: how do we draw a line in Excel?

If we go to the “Insert” tab and in the “Illustrations” section, we will find an option for “Shapes.”

draw line example 1

If we click on “Shapes,” it gives us a variety of shapes to choose from. One of the varieties is the “Lines.”

draw line example 1-1

Now, in the line option, we have various types of line options to choose from:

  1. Line
  2. Arrow
  3. Double Arrow
  4. Elbow Connector
  5. Elbow Arrow Connector
  6. Elbow Double Arrow Connector
  7. Curved Connector
  8. Curved Arrow Connector
  9. Curved Double Arrow Connector
  10. Curve
  11. FreeForm
  12. Scribble.

All of these forms of lines are used as a connector in Excel. It shows the relationship, dependency, or connection in Excel. For example, suppose we have various cells with data but which cells refer to which data can be recognized by inserting a line or shape in Excel.

How to Draw a Line in Excel?

To draw a line in Excel, we must follow these steps:

  1. In the “Insert” tab under “Illustrations,” click on “Shapes.”
  2. When the dialog box appears, we must go to the “Lines” section,
  3. Select any line from the various given options to draw a connection.

Like this, we use the elbow arrow connector in “Lines.”

Let us learn how to draw a line in Excel by a few examples:

You can download this Draw Line Excel Template here – Draw Line Excel Template

Insert Line in Excel Example #1

Suppose we have a chart for data. We can see that there is a dip in sales for a company. Rather than going through the whole data and analyzing the issue for a viewer, the chart author can add text to show the reason for the spike and draw a line in Excel to indicate the same.

Have a look at the chart below.

draw line example 1-2

Looking at the chart, we see that they dipped in sales in March, but we do not know why.

  1. We must first insert a text box and write the text for the dip in sales. Then, we must insert a line to indicate the reason.

    draw line excel step 1

  2. Write the text in the text box.

    draw line excel step 2

  3. Now, in the Insert tab under llustrations, click on Shapes.

    draw line excel step 3

  4. A dialog box pops up for different shapes. Select the Lines menu.

    draw line excel step 4

  5. In the Lines option, we can see the option for line shape, which is the first one.

    draw line excel step 5

  6. Now, we must right-click on the mouse and start stretching the line to the extent we want it and release the mouse.

    draw line excel step 6

  7. Next, in the Shape Outline option, click on Weight.

    draw line excel step 7

  8. A dialog box pops up with the various weights or the dimensions for the line. Select anyone suitable like 3 points.

    draw line excel step 8

  9. We have successfully drawn a line for the chart to indicate a connection.

    draw line excel step 9

Insert Line in Excel Example #2

Suppose we have an illustration such as below somewhere in our data. We want to show a relationship between them.

draw line example 2

We will use the elbow arrow connector in line to show that the main is related to both sub 1 and sub2.

Step #1 – In the “Illustrations” under the “Insert” tab, click on “Shapes.”

step 1 -click on Shapes

Step #2 – Again, a dialog box may appear for the various shapes.

step 2 - click on Shapes

Step #3 – This time, we will choose the “Elbow Arrow” connector, located in the fifth position from the start.

step 3 - Elbow Arrow connector

Step #4 – Now we know we need to show a relation between the main and the two subs. Right-click on the mouse from the main and release the mouse when we drag it to the sub 1 end.

step 4 - relation between subs

Step #5 – This is the first connection. Now again, go to the “Insert” tab and, in “Illustrations,” click on “Shapes.”

Step #6 – Then, click on the “Elbow Arrow” connector in “Lines.”

step 5 - Elbow Arrow connector

Step #7 – Again, start from the main by right click and release the click in the sub 2’s end.

step 6 - click sub 2's end

Explanation of Draw Lines in Excel

The lines in Excel are inserted to show connections between two points.

We can also use it to draw shapes if used in free form. For example, “Draw the line” in Excel acts as a connector as in the above example. It showed the connection between the main and the other two subs.

Things to Remember

  1. Lines should start at one point and end at another point.
  2. To start inserting a line in Excel, we must right-click on the mouse, stretch the line, and release the click when we want to end the line.

Recommended Articles

This article is a guide to Draw Line in Excel. We discuss how to insert/draw a Line in Excel, practical examples, and a downloadable Excel template. You may learn more about Excel from the following articles: –

  • Border in Excel
  • How to Make a Chart in Excel?
  • Use Format Painter in Excel
  • Insert Worksheet in Excel
  • Forecast in Excel

Excel is not only a wonderful tool for data entry and data analysis, but also great at making charts, flow charts, simple diagrams, etc.

It’s quite simple in Excel to insert a line and then customize and position it. In fact, you’ll be surprised how many options you get when you need to draw a line in Excel.

You can easily draw a line to connect two boxes (to show the flow) or add a line in an Excel chart to highlight some specific data point or the trend.

Excel also allows you to use your cursor or touch screen option to manually draw a line or create other shapes.

How to Insert a Line in Excel (Using Illustation)

To insert a line in the worksheet in Excel, you need to use the Shapes option. It inserts a line as a shape object that you can drag and place anywhere in the worksheet.

You can also easily customize it- such as change the size, thickness, color, add effects such as shadow, etc.

Below are the steps to insert a line shape in Excel:

  1. Open the Excel workbook and activate the worksheet in which you want to draw/insert the line
  2. Click the Insert tab
Click the Insert tab
  1. Click on Illustrations
Click on Illustration icon
  1. Click on the Shapes icon
Click on Shapes option
  1. Choose from any of the existing 12 Line options
  2. Go to the worksheet, click the left key on your mouse/trackpad and drag the cursor to insert a line of that length
Line inserted in the worksheet

The above steps would instantly insert the line that you selected in step 5.

These are the 12 line options that you have available in Excel:

  1. Straight Line
  2. Line Arrow (with arrow at one end of the line)
  3. Line Arrow Double (arrow at both ends)
  4. Connector: Elbow (use this to connect boxes, this is not a straight line)
  5. Connector: Elbow arrow (arrow at one end)
  6. Connector: Elbow double-arrow (arrow at both ends)
  7. Connector: Curved
  8. Connector: Curved Arrow
  9. Connector: Curved Double-Arrow
  10. Curve
  11. Freeform: Shape
  12. Freeform: Scribble

Adding Multiple Lines in One Go

When you use the above steps, you can only insert any of the line shapes once. If you need to insert it again (say you want to insert 3 lines), you will have to repeat the process two times again.

Instead, you can lock the drawing mode so you can keep inserting the lines in one go.

Below are the steps to lock the line drawing mode:

  1. Open the Excel workbook and activate the worksheet in which you want to draw/insert the line
  2. Click the Insert tab
  3. Click on Illustrations
  4. Click on the Shapes icon
  5. Right-click on any of the line shapes that you want lock (i.e., the one that you want to insert multiple times)
  6. Click on Lock Drawing Mode
Select Lock drawing mode option
  1. Click anywhere in the worksheet

When you do the above steps, you will notice that your cursor changes and remains a plus icon. You can now click and drag and insert multiple lines in one go.

To unlock the line drawing mode, hit the Escape key.

Customizing Lines/Arrows in Excel

Apart from inserting different types of lines, you can also further customize the line shapes you insert.

When you click on any of the line shapes in the worksheet, you will see a new contextual tab appear in the ribbon – the Shape Format tab.

Shape Format tab in the Excel ribbon

In this new tab, you get some additional options to format the lines.

Shape Styles Options

In the Shape Styles group, there are some inbuilt theme styles and preset styles you can use. To see all these options, you can click on the More icon.

Click on More shape styling options icon

Then you can select any of the existing styles and it will be applied to all the selected lines in the worksheet.

More shape styling options

Apart from this, you can also change the line outline by clicking on the Shape Outline option.

Shape outline option

In Shape Outline, you can change the following:

  • Color of the line
  • Weight of the line (thickness)
  • Style of the line (solid, dot, dash, etc)
  • Arrows

And finally, you can also add some Effects to the line, such as shadow, glow, or reflection. This can be done using the Shape Effect options.

Shape Effect Option

To use these, select one or multiple lines to which you want to add the Effects and then use the options in Shape Effect.

Arranging the Lines

If you’re working with more than a few line shapes in Excel, you will find it useful to know about the ‘Arrange’ options.

You can find these in the Arrange group in the Shape Format tab (which only appears when you select any shape in the worksheet).

Shape Arrange options

Following are the options that are available to you:

  • Bring Forward / Send Backward – in case you want to rearrange the shapes
  • Selection Pane – this opens a pane on the right where you can see all the shapes in the worksheet. You also have the option to hide some shapes from this pane
  • Align – To align the lines left/center/right or top/middle/bottom. This comes in handy when working with multiple shapes where you want these shapes to be neatly aligned
  • Rotate – to change the angle to the line
  • Group – to group mutiple lines/shapes. For example, you can group lines and boxes using this so they will move/size together.

Note that most of the shape ‘Arrange options’ will become available only when you have more than one shape in the worksheet.

Example 1 – Adding a Line to Connect Boxes/Shapes

Now that I’ve covered the basics of how to insert and format line shapes in Excel, let me show you a couple of examples of how you can use this in real life.

A common example is when you have boxes in the worksheet and you want to connect these boxes using lines. These could be simple lines or lines with arrows that also show the flow

Below I have an example, where I have two boxes, and I want to draw lines between these to connect them.

Boxes to connect with a line

Below are the steps to do this:

  1. Click the Insert tab
  2. Click on Illustrations
  3. Click on Shapes
  4. Click on the Line icon
  5. In the worsheet, click on the right border of the first box and drag the cursor to the left border of the second box.

This will insert a line and you will get something as shown below.

Boxes connected with arrow

You can also use different styles of the lines, such as with arrows or connectors.

Example 2 – Adding a Line in Excel Charts

Apart from connecting boxes and making flowcharts, arrows are also useful when you want to highlight specific data points in a chart in Excel.

Below is an example where I wanted to highlight one specific data point with some context, so I added some text in the chart and then used an arrow to point that text towards one specific data point.

Line drawn to connect data label to box

You can format the line using the same colors used in the chart, or you can use a contrasting color to make it stand out.

How to Draw a Line in Excel (Using Cursor / Touch)

So far, I have covered how to insert a line shape in Excel that you can drag and drop anywhere in the worksheet and format the colors, thickness, etc.

But there is also an option to manually draw a line or shape in Excel.

The Draw option in Excel allows you to use your cursor (or a pen or touch if you have a touch screen) and draw on the screen.

You can use it to quickly draw some shapes and lines – such as a simple flow chart or an organization chart.

It won’t look as neat and clean as the shapes that you can insert, but in some cases, it could be faster and more useful – for example, if you are trying to show a process in excel on a call or in a presentation.

You can access these options in the Draw tab in the ribbon, where you can select the pen (with different colors and thickness) and use it for drawing lines or shapes.

Draw tab in the ribbon

You can change the pen color and size by clicking on the downward arrow that appears when you select any pen.

In case you don’t see the Draw option in the ribbon, right-click on any of the existing ribbon options and click on Customize the Ribbon. In the Excel Options dialog box that opens, check the Draw option (in the right pane) and click OK.

While using the Draw option is quite easy and self-explanatory, there is one useful feature that I want to highlight – Ink to Shape.

Using the Ink to Shape option, you can draw lines and shapes in the worksheet, and then use this option to convert these into neat-looking shapes (such as proper straight lines and boxes/squares/rectangles).

Below is an example of something I drew using my cursor.

Hand drawn shape

And now below are the steps to convert these hand draw boxes and lines into proper shapes:

  1. Click the Select Object option in the Draw tab
  2. Select the shapes you want to convert
  3. Click on the Ink to Shape option

Here is the result I got:

Hand drawn Shape converted to regular boxes

The above option will try its best to convert your free-form hand-drawn shapes into proper lines and boxes.

This feature is not perfect sometimes can’t understand the shapes. But it still works well and can save you a lot of time if you have a lot of these hand-drawn shapes that need to be converted.

In this tutorial, I covered how to draw a line in Excel using the insert shapes options and the draw options.

I hope you found this tutorial useful!

Other Excel tutorials you may also like:

  • How to Split a Cell Diagonally in Excel (Insert Diagonal Line)
  • How to Remove Dotted Lines in Excel (3 Easy Fix)
  • How to Add a TrendLine in Excel Charts
  • How to Insert and Use a Radio Button (Option Button) in Excel

See all How-To Articles

This tutorial demonstrates how to draw lines in Excel and Google Sheets.

draw lines 1

Draw Lines in Excel

Say you have shapes in your sheet that you want to connect with lines.

  1. To draw lines, in the Ribbon, click on Insert > Shapes > Lines.

draw lines 2

  1. When the cursor changes to a plus sign, you can start to draw lines.

draw lines 3

As a result, the lines are added to your sheet.

draw lines 4

Change the Line Weight

If you want, you can change the lines’ properties, such as color, weight, and style. To change the weight of the lines, follow these steps:

First, select the lines for which you want to change the color. Then, in the Ribbon, click on Shape Format > Shape Outline > Weight. Finally, choose the desired line weight.

draw lines 9

As a result, the weight of the selected lines is changed.

draw lines 11

Change the Line Color

To change the color of the lines, select the lines you want to change. Then, in the Ribbon, click on the Shape Format > Shape Outline. Choose a color.

draw lines 10

As a result, the color of the selected lines is changed.

draw lines 7

Draw Lines in Google Sheets

  1. To draw lines in Google Sheets, in the Menu, click on the Insert, and in the drop-down menu, choose Drawing.

draw lines 12

  1. The Drawing window opens. In the menu, click on the Line icon and choose the line type.

draw lines 13

  1. Use the cursor to draw your lines.

draw lines 18

Change Line Weight in Google Sheets

You can also change the properties of the lines, such as color, style, and weight. To change the weight of the lines, follow these steps:

  1. Select the lines you want to change.
  2. Then in the Toolbar, click on the Weight icon.
  3. From the drop-down menu, choose the desired weight of the line.

draw lines 15

As a result, the weight of the selected lines is changed.

draw lines 17

Понравилась статья? Поделить с друзьями:
  • Adding images to excel
  • Adding hyperlink in excel vba
  • Adding hours on excel
  • Adding functions to excel
  • Adding formula for excel