The TREND function is designed to provide values based on linear trends in Excel. It stands out as one of the go-to statistical functions highly favored in Excel.
Excel's TREND Function Demystified
Utilizing TREND Function in Excel
1. Description and Usage Syntax
This function computes values based on linear trends.
Syntax: TREND(known_y's, [known_x's], [new_x's], [const])
Parameters:
- Known_y's: Set of known y-values in the relationship y = b*m^x, a mandatory parameter.
+ If
- Known_x's: Set of known x-values in the relationship y = b*m^x, a mandatory parameter.
+ Known_x's can include one 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: New x-values for which the function returns corresponding y-values.
+ New_x's must include one 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 size as Known_y's.
- Const: Logical value determining the value of the constant b, an optional value including the following:
+ Const = True or omitted -> b is calculated normally.
+ Const = False or omitted -> b = 1 and m is adjusted so that: y = m^x.
Note:
- The returned formula values are of array formula type -> the function must be entered as an array formula.
- If Known_y's ≤ 0 -> the function returns an error value #NUM!
- When entering values for an argument with the following convention:
+ Use commas to separate values in the same row.
2. Specific Scenario Example
Imagine you need to predict revenue for the months July, August, and September based on the preceding months as described in the dataset below:
Step 1: In the cell where you want the calculation -> input the formula: =TREND(C3:C8,B3:B8)
Step 2: Press Enter -> you will see the returned value as:
Step 3: Select the revenue range for July, August, and September (range C9:C11) -> then press the F2 key:
Press the Ctrl + Shift + Enter combination -> the predicted revenue for July, August, and September is:
Mytour has just provided you with some very specific examples of using TREND Function in Excel. With this function, remember the usage syntax: TREND(Known_y's, [Known_x's], [New_x's], [Const]) - which returns values based on linear trends. Wishing you success in your Excel-related tasks involving this function.
The Mid function is used to extract one or more characters from the middle of a given string, allowing you to easily eliminate unnecessary characters. Explore more about the Mid function in the tutorial article on Mytour, everyone.