Get help

Help center

Guides and answers

Contact support

Write to our team

Sign in to

Workflows

Build processes with your team

Automations

Connect files and automate tasks

One system, four parts

AI agents

Virtual Employees that work 24/7

Automations

Connect files and automate tasks

Workflows

Build processes with your team

Data Space

Trusted data sharing and control

Solutions by department

Finance

Reports, budgets, and reconciliations

Inventory and manufacturing

Stock, orders, and production in one view

HR

Timesheets, attendance, and reviews

Project management

Status and workload across projects

Sales and CRM

Leads and deals kept up to date

Education

Student records and school data

Finance

Turn manual finance work into reports that update themselves.

What Finance teams automate

  • Track payables and receivables
  • Build cash flow statements
  • Compare budget against actuals

Inventory and manufacturing

See stock levels and automate ordering.

What inventory and manufacturing teams automate

  • Track inventory across multiple sites
  • Connect sales, purchasing, and warehouse data
  • Link a barcode scanner to your sheet

HR

Run recruitment, attendance, and OKR tracking from your sheets.

What HR teams automate

  • Track recruitment and onboarding
  • Record team OKRs and results
  • Track check-ins, check-outs, and leave

Project management

Assign tasks and track hours without manual updates.

What project teams automate

  • Assign tasks and track status changes
  • Estimate effort and log hours worked
  • Track milestones across projects

Sales and CRM

Track leads and sales performance with automated reports.

What sales teams automate

  • Track and convert leads
  • Set sales goals and track team metrics
  • Monitor sales KPIs on dashboards

Education

Automate attendance, grades, and school purchasing.

What schools automate

  • Track attendance and notify parents
  • Record and compare class grades
  • Track inventory lent to students and staff

Find a use case

By department

How each team uses Sheetgo

By industry

How each industry uses Sheetgo

By company size

Small, medium-sized, or large

Learn

Blog

Guides and product news

Customer stories

How teams like yours use Sheetgo

Help center

Guides and answers

Why Sheetgo

Compare

How Sheetgo compares with other tools

Security

How we protect your data

Trust center

Our compliance details

Sign in to

Workflows

Build processes with your team

Automations

Connect files and automate tasks

One system, four parts

AI agents

Virtual Employees that work 24/7

Automations

Connect files and automate tasks

Workflows

Build processes with your team

Data Space

Trusted data sharing and control

Solutions by department

Finance

Reports, budgets, and reconciliations

Inventory and manufacturing

Stock, orders, and production in one view

HR

Timesheets, attendance, and reviews

Project management

Status and workload across projects

Sales and CRM

Leads and deals kept up to date

Education

Student records and school data

Find a use case

By department

How each team uses Sheetgo

By industry

How each industry uses Sheetgo

By company size

Small, medium-sized, or large

Get started

Templates

Ready-made workflows to start from

Learn

Blog

Guides and product news

Customer stories

How teams like yours use Sheetgo

Help center

Guides and answers

Why Sheetgo

Compare

How Sheetgo compares with other tools

Security

How we protect your data

Trust center

Our compliance details

Help center

Guides and answers

Contact support

Write to our team

Workflows

Build processes with your team

Automations

Connect files and automate tasks

How to make a line graph in Google Sheets

A line graph, also called a line chart, shows how one or more values change over time. Each data point is a marker, and a line joins the markers so you can see the trend at a glance. In Google Sheets, you can build one from a table with dates or periods in one column and values in the next.

This guide shows you how to make a line graph in Google Sheets with a single line and with multiple lines, and then how to customize it. You’ll also see the three line chart types in Google Sheets and how to add a vertical line that marks a date on the chart.

What is a line graph in Google Sheets?

Google Sheets offers various types of charts to visualize your data. One of these is the line graph, which is ideal for illustrating changes to one or more variables over time. Usually, the X-axis shows the time units, while the Y-axis shows the units of the other variables.

If you want to visualize a single variable to see how it changes over time, you can use a line graph with a single line. However, you can easily show multiple lines on the same line graph, provided they are in the same units.

How to make a line graph in Google Sheets

Follow these steps to make a line graph with one line or with several lines.

Make a line graph with a single line

Let’s start by creating a single line graph in Google Sheets, showing changes to Apple’s closing price in January.

1. Open Google Sheets to the file with your data.

Line graph in Google Sheets — AAPL closing prices by date in columns A and B

2. Select the data you want to include in the line graph. In this case, it’s the date and stock price data.

Make a line graph in Google Sheets — Date and AAPL Close/Last columns selected in A1:B12

3. Go to Insert > Chart.

Make a line graph in Google Sheets — Chart option in the Insert menu

4. Google Sheets usually recognizes the type of data and selects the appropriate chart type. However, if it doesn’t, go to the ‘Chart editor’ sidebar and select the ‘Line chart’ under ‘Chart type’.

Google Sheets line graph — Line chart picked under Chart type for the AAPL Close/Last vs. Date chart

5. You can edit and customize the chart by right-clicking on the chart or from the ‘Customize’ tab in the ‘Chart editor’. The section on how to customize a line graph, further down, covers the main options.

Google Sheets line graph — right-click Edit menu on the chart and the Customize tab options

Make a line graph with multiple lines

Now that you know how to make a single-line graph, let’s see how to create one with multiple lines. Let’s add two more lines to the line graph created in the previous section: the closing prices for Microsoft and Cisco.

1. Open the spreadsheet with your data in Google Sheets.

Line graph with multiple lines in Google Sheets — AAPL, MSFT, and CSCO closing prices by date

2. Select the data you want to include. In this case, the date and the three stock prices.

Line graph with multiple lines in Google Sheets — date and three stock price columns selected in A1:D12

3. Go to Insert > Chart.

Line graph with multiple lines in Google Sheets — Chart option in the Insert menu

4. If Google Sheets doesn’t do it automatically, select ‘Line chart’ under ‘Chart type’ from the sidebar.

Line graph with multiple lines in Google Sheets — three stock price lines with Line chart set under Chart type

5. As you can see, this graph has three lines: one for each stock price. You can add or remove series or lines from the ‘Setup’ tab in the ‘Chart editor’.

Line graph with multiple lines in Google Sheets — Series list with AAPL, MSFT, and CSCO and the Add Series button

6. To customize or edit the chart, use the ‘Customize’ tab in the ‘Chart editor’ or right-click on the chart to see a menu.

Line graph with multiple lines in Google Sheets — right-click Edit menu on the chart and the Customize tab

How to customize a line graph in Google Sheets

To change how your line graph looks, double-click it and open the Customize tab in the Chart editor. The screenshots in this section use a different example, yearly revenue for three branches, but the options are the same for any line graph.

  1. Open Chart style to change the background color, the font, and the chart border color.
Customize a line graph in Google Sheets — Chart style options with a gray background on the branch revenue chart
  1. Open Chart & axis titles, choose Chart title, and type the title. You can also set its font, size, format, and color.
Customize a line graph in Google Sheets — chart title Revenue in Roboto, size 30, bold and dark blue
  1. Open Series to change the color, opacity, dash type, and thickness of the lines. To show a marker on each data point, pick a point size and a point shape.
Google Sheets line graph markers — Series options with a 10px circle point on all three lines
  1. Open Legend to move the legend, for example to the bottom of the chart, and to set its font, size, and color.
Customize a line graph in Google Sheets — Legend position set to Bottom with font size 16
  1. Open Vertical axis and set Min and Max. When the lines sit close together, a tighter range spreads them out. In this example, a range of 4 million to 11 million instead of 0 to 12.5 million makes the differences between the branches easier to see.
Customize a line graph in Google Sheets — Vertical axis Min 4000000 and Max 11000000
  1. Open Gridlines and ticks to add or remove gridlines and ticks. Here, the major gridlines of the vertical axis are turned off, which removes the horizontal lines across the chart.
Customize a line graph in Google Sheets — Gridlines and ticks for the vertical axis with Major gridlines unchecked

How to make a line chart in Google Sheets

To make a line chart in Google Sheets, pick one of the three options under Line in the Chart type menu: line chart, smooth line chart, or combo chart.

Line chart in Google Sheets — Line chart, Smooth line chart, and Combo chart options in the Chart type menu

Let’s see how the line chart and the smooth line chart differ by creating each type for the same set of variables, which include year, revenue, and net income. Finally, you will see how to use a combo chart to represent change over time using bars for one variable and a line for the other.

Line chart

Follow the steps below to create a line chart showing changes to revenue and net income over time.

1. Open Google Sheets to the file containing your data.

Line chart in Google Sheets — yearly revenue and net income from 2012 to 2022

2. Select the data you want to include and go to Insert > Chart.

Line chart in Google Sheets — revenue data selected and the Chart option in the Insert menu

3. Make sure that the chart type is ‘Line chart’.

Line chart in Google Sheets — Revenue and Net income lines with Line chart set under Chart type

4. As you can see below, each data point is represented by a marker, and these are joined by straight lines.

Line chart in Google Sheets — data point markers joined by straight lines, highlighted on the Revenue line

Smooth line chart

Follow the steps below to create a smooth line chart showing the same data as the previous example: revenue and net income over time.

1. Using the chart from the previous example, go to the ‘Setup’ tab in the ‘Chart editor’.

Smooth line chart in Google Sheets — Setup tab of the Chart editor highlighted

2. Under ‘Chart type’, change the selection to ‘Smooth line chart’.

Smooth line chart in Google Sheets — Smooth line chart picked under Chart type

3. As you can see, the lines joining the data markers are now smooth, which means the chart shows a slightly distorted view of reality. You should be especially careful using this type of chart with small datasets, as the distortion will be greater.

Smooth line chart in Google Sheets — line chart and smooth line chart side by side for the same data

Combo chart

Finally, let’s see how you can use the combo chart to represent each variable using a different method: one variable is represented by bars, while the other is represented by markers joined by a line. Follow the instructions below to make a combo chart showing revenue and net income over time.

1. Open the spreadsheet with your data in Google Sheets.

Combo chart in Google Sheets — yearly revenue and net income table

2. Select the data you want to include and go to Insert > Chart.

Combo chart in Google Sheets — data in A1:C12 selected and the Chart option in the Insert menu

3. Select the ‘Combo chart’ from the ‘Chart editor’. Revenue is represented by the blue bars and net income by the red line.

Combo chart in Google Sheets — revenue as blue columns and net income as a red line

How to add a vertical line to a Google Sheets chart

Google Sheets has no setting that draws a vertical line on a chart, for example to mark a launch date or the start of a quarter. You can get one with a helper column and a combo chart.

  1. Add a helper column next to your data.
  2. In the row of the date you want to mark, enter a value at least as high as the largest value in the chart. Leave the other cells of the helper column empty.
  3. Select the data, including the helper column, and go to Insert > Chart.
  4. In the Setup tab of the Chart editor, set Chart type to Combo chart.
  5. Open the Customize tab, click Series, and pick the helper series. Set its Type to Columns, and set every other series to Line.
  6. Under Vertical axis, set Max to the value you entered in the helper column, so the column reaches the top of the chart.

The helper series now shows as a single thin column at the date you picked, which reads as a vertical line. The column gets thinner as you add rows, so this works best with daily or weekly data. The helper series also appears in the legend, so give its header a clear label, such as Launch.

Conclusion

As you have seen, line graphs are a great way to visualize changes to variables over time. You can create graphs showing one or multiple variables to see the evolution of each and easily compare them. While using a smooth line chart may look a little prettier, you should be careful not to use it with very small datasets, as manipulating the data in this way can lead to a distorted view.

You now know what line graphs are and how to use them in Google Sheets. You have step-by-step instructions on how to create a line graph using a single line or variable, as well as how to make one using multiple lines to represent different variables. You also know how to customize the chart, how the three line chart types in Google Sheets differ (line chart, smooth line chart, and combo chart), and how to mark a date with a vertical line. Finally, you’ve seen examples of line charts showing changes to stock closing prices, as well as revenue and net income over time.

To learn more about tables and charts in Google Sheets, check out these guides:

For other chart types, see how to create a bar chart or make a scatter plot in Google Sheets.

If the numbers behind your line graph come from several spreadsheets, Sheetgo can bring them into one sheet on a schedule. Your chart then updates on its own, and the data stays organized and AI-ready.

You may also like…

google sheets features and formulas

Top 5 dynamic array formulas in Google Sheets 

Google Sheets has evolved beyond basic spreadsheets. With the introduction of dynamic array formulas, users can now manipulate and analyze...
google sheets features and formulas

Mastering the FILTER Formula: 4 Use Cases with Examples

The FILTER formula in Google Sheets is a versatile tool for extracting data that meets specific conditions. Unlike the QUERY formula,...
google sheets features and formulas

Unlocking the Power of SUMIF and SUMIFS in Google Sheets: 4 real-life use cases

The SUMIF and SUMIFS formulas in Google Sheets are indispensable tools for performing conditional summations. They simplify complex...