TREND - The function returns values in a linear trend in Excel
The following article introduces you to TREND function - one of the functions in the statistical function group is very popular in Excel.
Description: The function returns values in a linear trend.
Syntax: TREND (known_y's, [known_x's], [new_x's], [const])
Inside:
- known_y's : The set of known y values in the relationship y = b * m ^ x , is a required parameter.
+ If known_y's is in a single column or row -> each known_y's column or row is interpreted as a separate variable.
- known_x's: The set of known x values in the relationship y = b * m ^ x , is a required parameter.
+ known_x's may include 1 or more sets of variables.
+ If known_x's is omitted -> it is assumed to be an array of the same size as known_y's
- new_x's: Are the new x values that you want the function to return the values corresponding to the values of y.
+ new_x's must include a column (row) for each independent variable.
+ If new_x's is omitted -> it is assumed to be the same as known_x's.
+ If known_x's and new_x's are omitted -> it is assumed to be the same as known_y's size .
- const: The logical value determining the value of the constant b, is an optional value including the following values:
+ const = True or ignore -> b is calculated normally.
+ const = False or ignore -> b = 1 and m are adjusted such that: y = m ^ x.
Attention:
- The value of the returned formulas has the array formula type -> the function must be entered as an array formula.
- If known_y's ≤ 0 -> the function returns the #NUM! Error value
- When entering values for an argument with the following convention:
+ Use commas to separate values in the same row.
+ Use semicolons separating between rows together.
For example:
Revenue estimates for June, July and August are based on previous months as described in the following data table:
- In the cell to calculate enter the formula : = TREND (D6: D10, C6: C10)
- Press Enter -> return value is:
- Highlight the sales areas in June, July and August (D11: D13 areas) -> press F2:
- Press the key combination Ctrl + Shift + Enter -> estimated revenue for June, July and August is:
Above are instructions and some specific examples when using TREND function in Excel.
Good luck!
You should read it
- MODE.MULT function - The function returns a vertical array of the most common values in Excel
- QUARTILE.INC function - The function returns the quartile of a dataset including values 0 and 1 in Excel
- SLOPE function - The function returns the slope of a linear regression line through data points in Excel
- RANK.EQ function - Function returns the rank of a number in a list of numbers, returns the highest rank when multiple values with the same rank in Excel
- MAX function - The function returns the largest value in a set of values in Excel
- STDEV.P function - The function returns the standard deviation based on the whole in Excel
- RANK.AVG function - The function returns the rank of a number in a list of numbers in Excel
- FREQUENCY function - Function that calculates and returns the frequency of occurrences of values in a range in Excel
May be interested
- PERCENTRANK.INC function - The function returns the rank of a value in a dataset as a percentage including values 0 and 1 in Excelpercentrank.inc function: the function returns the rank of a value in a dataset as a percentage including values 0 and 1. the function supports excel 2010 and later versions. syntax: percentrank.inc (array, x, [significance])
- PERCENTRANK.EXC function - The function returns the rank of a value in a dataset as a percentage excluding values 0 and 1 in Excelpercentrank.exc function: the function returns the rank of a value in a dataset as a percentage excluding values 0 and 1. the function supports excel 2010 and later versions. syntax: percentrank.exc (array, x, [significance])
- STDEV.S function - The function returns the standard deviation based on a sample in Excelstdev.s function: the function returns the standard deviation based on a sample, ignoring logical values and text. standard deviation is a measure of the dispersion of values against the mean. support functions from excel 2010 onwards. syntax: stdev.s (number1, [number2], ...)
- PROB function - The function returns the probability that values in a range are between two limits in Excelprob function: the function returns the probability that values in a range are between two limits. syntax: prob (x_range, prob_range, [lower_limit], [upper_limit])
- MAXA function - The function returns the largest value in a set of values including text and logical values in Excelmaxa function: the function returns the largest value in a set of values including text and logical values. syntax: maxa (value1, [value2], ...)
- PERCENTILE function - The function returns the kth percentile in Excelin mathematical computing, the percentile is a frequently applied process to study the percentile of values in a defined data set. the following article details how to use the percentile function to calculate the kth percentile value.
- PEARSON function - The function returns the Pearson product moment correlation coefficient in Excel: the function returns the pearson product moment correlation coefficient, r with a scalar index in the range from -1 to 1. the function reflects the linear relationship expansion between the two data sets. syntax: pearson (array1, array2)
- INTERCEPT function - The function returns the point at which the line will intersect the y-axis by using the existing x and y values in Excelintercept function: the function returns the point at which the line will intersect the y-axis by using existing x and y values. use the function when you want to determine the value of a dependent variable when the independent variable is 0. syntax: intercept (known_ys, known_xs)
- PERCENTILE.EXC function - The function returns the kth percentile of values in the range, with k in the range from 0 to 1 in Excelpercentile.exc function: the function returns the kth percentile of values in the range with k in the range from 0 to 1, excluding values 0 and 1. syntax: percentile.exc (array, k)
- ERROR.TYPE function - The function returns the number corresponding to one of the error values in Microsoft Excelerror.type function: the function returns the number corresponding to one of the error values in microsoft excel, or the # n / a error if there are no errors. syntax: error.type (error_val)