# How to Use the ‘PENDING’ Function in Google Sheets? – Simple Tutorial

4 de February de 2022

From very early on we are taught in classes that the slope is the inclination of a line in the cartesian plane, about the horizontal axis. A simple concept that has huge implications within the world of design, engineering, statistics, architecture and many other areas.

Today, taking paper and pencil to calculate slopes sounds crazy, since given the tools that facilitate the process, the logical thing is to use them, saving time and gaining accuracy. One of the most famous calculation tools today is Google Sheets and below we will explain how to calculate the slope using it.

## What data is needed to calculate a slope with Google Docs?

The slope or Slope, as it is called in English, is a numerical value that indicates the movement of a line about the x-axisare usually used to analyze the relationship of two or more variables, through linear regression.

The values ​​required to obtain a slope are given by the dependent variables in Y and independent in X, they are dependent because they can change freely and independent if they change automatically. For example, you can calculate days between dates in Google Sheets and search from this database to obtain the slope.

## How can you sort your data in Google table?

You may not yet know how a set of data is related to the value of a slope and that is that you must first properly organize all the informationto do this go to Google Sheets, this spreadsheet has multiple features that allow you to speed up processes.

When you have the data table ready, corresponding to the abscissas and the ordinates, it is convenient that you proceed to arrange information in ascending or descending order, this way you will get a global idea of ​​the direction of the line. Google Sheets offers the option to sort alphabetically, inversely and by color from the filter menu, but in this case, as they are numerical values, we are going to do it as follows.

• Choose the columns corresponding to the data, if you have a row of titles, freeze it first.
• Click on “Data”, then “Rank Order” and “Advanced Range Order Options”, if you have headers for columns, also select “Data includes a header row”.
• Choose the column of the variables to sort and add a sort ruleFinally, click order.

## What are the steps to follow to graph your data tabled in Google Docs?

The simplest part of the process if you want is the generation of the graph, just by selecting the range of data cells and clicking on the “Insert chart” button”, you will automatically have your line plotted. Now there is an essential step that you must execute and that is to smooth to the original line creating a trend line, for this you have to right click on the graph and choose the “Edit graph” option, then go to “Settings” to choose the “Scatter plot” option, now in “Customize”, open “Series”, and choose toggle “Trend line”, with this you generate a new blue line that indicates the trend.

## What should you do to find the slope in your Google graph?

You have already advanced a lot in solving the slope from Google Sheets, without a doubt knowing this tool guarantees simple solutions to daily tasks, for example, searching for text in my Google spreadsheets, it can help you generate a database, on which be able to work and maybe do calculations like slope. There are several ways to achieve this result and we detail them below.

### Using the SLOPE function

Sheets has advanced functions that allow from removing spaces in Google spreadsheets, to answering unknowns such as the slope of a graph, in this sense, the “SLOPE” function does not necessarily require the graph to give a result, it is based directly on the data of the variables, to make use of it you must position yourself in a cell, in which you want the result to be captured, there you enter the structure function “EARRING (values.y, values.x)”, remember that the values ​​can be selected, after pressing Enter you will have the value of the slope of the data.

### By previewing the data

Now, the second method to know the slope of a line is from graph and it can be even faster because after you have the rendering done, what follows is:

• Again, right click on the chart to open the chart editor, then click “Label” and “Use Equation”.
• Instantly, you will see at the top of the graph the calculation equation, in which the slope is located to the left of “* x”. As simple as that, the program reveals the value of the slope.