# Basic Array Formula With Examples

Are you searching for an article for getting the basic array formula with different examples for better understanding? Then congratulations because you have just landed on the right article. In this article, you would get to know the basic array formula and the use of this formula in different examples with a brief explanation.

So please carefully read this article till the end, and let’s dive into it;

Table of Contents

**General Formula**

The basic array formula is given as follows:

**{=MAX(range1-range2)}**

**Syntax Explanation**

**Minus Operator (-):**This symbol is used to subtract any two values.**Parenthesis ():**The main function of this symbol is to group the elements.**range1:**This is the first input range in the Excel sheet.**Range2:**This refers to the second input range.**MAX:**The MAX Function returns the largest numeric value from the range of input values.**MIN:**The MIN Function returns the smallest numeric value from a range of input values.

**Explanation**

In Excel, an Array Formula allows you to perform complex calculations on one or more value sets. The result could be a single cell or an array. An array is simply a list or range of values, but an Array Formula is a particular type of formula that must be entered by pressing Ctrl+Shift+Enter after that, the formula would be displayed in the formula bar surrounded by curly brackets** {=...}**

Array formulas are commonly used for data analysis, conditional sums and lookups, linear algebra, matrix math and manipulation, and many other tasks. A new Excel user may come across array formulas in other people’s spreadsheets, but creating array formulas is typically an intermediate-to-advanced topic.

An array formula is commonly used to calculate the maximum or minimum change in a data set without using a helper column. In the example, the formula in E2 is mentioned as follows:

{=MAX(B2:B9-C2:C9)}

This array formula must be entered with **control + shift + enter.**

This page’s example shows a simple array formula. Working from the inside out, the expression:

**=B2:B9-C2:C9**

As a result, an array of seven values is returned:

{-153;265;-187;287;11;421;423;-127}

Each number in the array results from subtracting the “low” from the “high” in each of the seven rows of data. This array is returned to the MAX function:

**=MAX({17;19;32;25;12;26;29;22})**

And MAX returns the maximum value in the array, which is 423.

To return the smallest change in the data, substitute the MIN function for the MAX function:

`{=MIN(B2:B9-C2:C9)}`

As before, this is an array formula that must be entered with **control + shift + enter**.

**More Examples For Better Understanding**

For basic array formulas in Excel, use the steps below.

In the following example, you must create a sample data set in Microsoft Excel.

Then, in the formula bar, use the following formula to count the maximum change in a data set.

=MAX(B2:B9-C2:C9)

After pressing **Ctrl+Shift+Enter**, you will see the MAX value in cell E2.

Then, in the formula bar, use the following formula to count the minimum change in a data set.

=MIN(B2:B9-C2:C9)

Finally, after pressing **Ctrl+Shift+Enter**, you will see the result for the MIN in cell F2.

**More On Array Formulas**

To understand array formulas, you must first learn to investigate the results of various operations within a formula as Excel evaluates it. You must understand how to use the **F9** key to debug a formula and how to use Excel’s Evaluate Feature.

**Summary**

This article gives you complete information with the aid of different examples about **calculating the basic array formulas.**

### Related Functions

- Excel MIN function

The Excel MIN function returns the smallest numeric value from the numbers that you provided. Or returns the smallest value in the array.The MIN function is a build-in function in Microsoft Excel and it is categorized as a Statistical Function.The syntax of the MIN function is as below:= MIN(num1,[num2,…numn])…. - Excel MAX function

The Excel MAX function returns the largest numeric value from the numbers that you provided. Or returns the largest value in the array.= MAX(num1,[num2,…numn])…