Array formulas are expressions that allow you to manipulate a set of data and perform operations on it to return one or more values . Often, operations performed with these types of formulas include summing or counting cells , or counting or averaging items that will display a result in one or more cells.
How to enter an array and non-array formula in Excel? – Useful functions
Index( )
- What are the types of array formulas that can be used in Excel?
- Formulas with a single value in the result
- Matrix formula with arrays as result
- How should I sort my Excel data to apply these formulas?
- What steps should I follow to apply an array formula in my spreadsheet?
- How do I calculate a single part of an array formula in my Excel?
What are the types of array formulas that can be used in Excel?
Non-array formulas, on the other hand, work with a single piece of data or element that is evaluated before generating a result. Using array formulas can save you from creating auxiliary calculations, so it’s a good idea to know how to use array and non-array formulas in Excel by applying useful and simple functions.
There are two types of array formulas that can be used in Excel. The first allows you to obtain a result from a single value in a cell using functions such as SUM, AVERAGE, MIN, or MAX. The second generates a result in multiple cells through the use of functions such as TREND, TRANSPOSE, or FREQUENCY.
Formulas with a single value in the result
It’s possible to include formulas with a single value in the result using Microsoft Excel. You don’t need to use helper columns to do this . Often, a range of cells is used to obtain the sum of multiple elements, perform conditions with maximum or minimum values , and count cells that meet specific criteria.
Matrix formula with arrays as result
You can use an array formula with arrays as a result, where values in multiple cells will be displayed. This way, you can replace the need for intermediate calculations. You can also include conditions and various functions. Once you’ve established the formula elements, press Ctrl + Shift + Enter to add curly braces to it.
How should I sort my Excel data to apply these formulas?
It’s important to sort your Excel data to apply these formulas. To do this, you’ll need to select the range of cells (multiple rows or multiple columns) you’ll use for the array formula. Be sure to include the header row that identifies the values in each column.
Next, locate the ‘Data’ tab and the ‘Sort & Filter’ group to select the ‘Sort’ option. Then, click the AZ icon if you want to sort the data ascending (from lowest to highest or A to Z) or descending (from highest to lowest or Z to A).
What steps should I follow to apply an array formula in my spreadsheet?
You need to follow a series of steps to apply an array formula in your spreadsheet. Let’s say you’ve entered several products with a price and quantity. If you want to add a 16% tax, you’ll need to display the result next to each product.
Select the cells where the result will be displayed and click the ‘fx’ formula bar to enter the following expression: {= B2:B6*C2:C6*0.16}. The braces indicate that this is an array formula that includes the product of two ranges in columns B and C, which contain the prices and unit quantities of five products.
Next, select a range of cells where you’ll generate the matrix, click in the formula bar to type =TRANSPOSE(A1:D6), and press Ctrl + Shift + Enter to add the curly braces. This will give you a matrix with four rows (name, units, price, tax) and six columns for the values of each of the registered products.
How do I calculate a single part of an array formula in my Excel?
It’s possible to calculate only one part of an array formula in Excel. To do this, let’s assume you have a sales list, and column A contains the product names , while columns B and C contain the sales prices for two different months.
If you want to find the product with the smallest sales difference for a single value, you’ll need to click the ‘fx’ formula bar, type the expression =MIN(B2:B6-C2_C6), and press ‘Ctrl + Shift + Enter’ to add a starting and closing brace. The MIN function is included to find the smallest difference between two ranges .

