# How to find the slope on Excel

Slope is a graphical representation of data. Slope is used to represent  change of a quantity with respect to other quantity , mostly time. The slope explains the relationship between the independent and dependent variables.Sometimes databases where dependent and independent quantities exist become very large and it becomes difficult to understand the trend of changing data.Here slopes help a lot by showing data graphically which makes it easy for viewers to notice trends of changing data.In our dataset we have collected experimental values of Time and Temperature for one hours with the difference of 5 min. We’ll plot the dataset and try to see what is the trend of change in temperature with respect to time

In this tutorial we will learn how to show slope on google sheet.To form slope there are 2 methods explained below. In First method we form a chart of our data and then form a trend line to get the equation of the line,from this equation we get the slope.In Second method we find the slope of our data using the formula of SLOPE.

## Step 1 – Select the range of cell

• Select the data by using “Handle select” and “Drag and Drop” method

## Step 2 – select the chart

• Click on Dialog launcher of Charts in Insert tab and a dialog box will appear
• In this dialog box click on column in the menu
• Select the second chart and chart will appear on sheet

## Step 3 – Click on Chart Elements

• Click on the chart
• After clicking on chart Chart Elements will appear at top of chart
• Click on chart Element and a dropdown menu will appear

## Step 4 – click on more option

• From the drop down menu click on arrow next to Trendline option and a dropdown menu  will appear

## Step 5 – click on More option

• From the dropdown menu click on More Option and a dialog box will appear

## Step 6 – Click on display equation on chart

• From the dialog box click on display equation on chart to get the equation on chart
• Equation is in form of Y=m*X+C
• Here m is the slope in our case it is 0.3

## Method 2: Slope of data through formula

The slope function can be used to calculate the slope from the data without even plotting the graphs. The syntax of the SLOPE function is as follows;

SLOPE(data_y, data_x)

where;

data_y – The range representing the array or matrix of dependent data.

data_x – The range representing the array or matrix of independent data.

So, follow the steps mentioned below to learn how to use this function in Google Sheets.

## Step 1 – Select the cell

• Select the cell where you want to show the slope of data.

## Step 2 – Use Slope Function

• Use slope function by typing “=SLOPE(” in formula tab

## Step 3 – Type the Arguments

• Type range of data at Y axis
• Type a comma (,) after typing range of Y axis
• Typing comma than type the range of data at X axis
• Type closing bracket “)” after typing range of x axis

## Step 4 – Press Enter key

• Press Enter key to get the slope in selected cell
{"ft_lang_label":"__label__en","ft_lang_prob":0.8558493,"math_prob":0.8967496,"size":2918,"snap":"2023-14-2023-23","text_gpt3_token_len":661,"char_repetition_ratio":0.13623884,"word_repetition_ratio":0.043557167,"special_character_ratio":0.22241262,"punctuation_ratio":0.044802867,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.98549515,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2023-03-23T14:07:57Z\",\"WARC-Record-ID\":\"<urn:uuid:fd1fe369-cd9a-406f-87dc-ac4142e3570c>\",\"Content-Length\":\"57316\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:c09b0a56-9831-45f3-9381-4bd19142a4ad>\",\"WARC-Concurrent-To\":\"<urn:uuid:b6f1d9cc-a7bd-4273-83e6-1d149b4815b7>\",\"WARC-IP-Address\":\"104.18.211.89\",\"WARC-Target-URI\":\"https://spreadcheaters.com/how-to-find-the-slope-on-excel/\",\"WARC-Payload-Digest\":\"sha1:3FREKGJGFIF6ES7PQHCGWWDQ4SSI5TT7\",\"WARC-Block-Digest\":\"sha1:FAQKBOTXIPQKJXZRRWW4ORJJ7PVKSOBC\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2023/CC-MAIN-2023-14/CC-MAIN-2023-14_segments_1679296945168.36_warc_CC-MAIN-20230323132026-20230323162026-00643.warc.gz\"}"}