Dynamic Array Formulas in Excel
Last Updated :
23 Jul, 2022
Dynamic arrays are resizable arrays that calculate automatically and return value into multiple cells based on a formula entered in a single cell. The new array (multiple cells) that we get is known as spilling and the new array has been placed in neighboring cells. It is not necessary to use Ctrl + Shift + Enter to enter an array formula. Dynamic array formulas are only available in Excel 365 and Excel 2021.
Dynamic Array Formulas
Below mentioned array formulas are the dynamic array formulas, let’s learn in detail how these formulas are applied in excel on a certain dataset.
- UNIQUE
- SORT
- SORT BY
- SEQUENCE
- RANDARRAY
- FILTER
- LOOKUP
UNIQUE Formula
Unique formulas return a list of unique values in a list. Unique means that element that appears only once in an array. Values can be text, number, etc. A unique function is not case-sensitive means ‘Apple’ and ‘apple’ are the same. Syntax,
=UNIQUE(A3:A17)

fig 1. Print only Unique Values
SORT Formula
Sort formula returns a list in increasing order or decreasing order. Values can be text, number, etc. Syntax,
=SORT(A4: A10) increasing order.

fig 2. Sort the values
SORTBY Formula
SORTBY formula sorts the contents of a range based on values from another array. Values can be text, number, etc. Syntax,
=SORTBY(A4:A10,B4:B10,-1)
Here, -1 is used for only decreasing order.

fig 3.
SEQUENCE Formula
The sequence formula allows you to generate a list of sequential numbers in an array. List can be 1D, 2D determined by rows and columns arguments. Syntax,
=SEQUENCE (5,6)
It will generate five rows and 6 columns, so the value will be from1 to 30.

fig 4. Arrange sequence in row and column
RANDARRAY Formula
RANDARRAY formula generates an array of random numbers. Generated values can be either decimals or whole numbers. The size of the array is specified by rows and columns arguments. Syntax,
=RANDARRAY(1,2)

fig 5. Generate random value
FILTER Formula
The filter formula filters a range of data based on given criteria. It returned an array of filtered values. In this formula we print only those values which are greater than 100. Syntax,
=FILTER(A4:A12,A4:A12>100)

fig 6. Using filter formula
LOOKUP Formula
The Excel LOOKUP function returns a value from a range (one row or one column) or an array. If you want to search any number from an array then we use this function. Syntax,
=LOOKUP(value, lookup _ range, [result _range])
For Example: when we use the lookup function so =LOOKUP(10502,A4:A9,B4:B9) then we got PETER ENGLAND as a resultant.

fig 7. LOOKUP formula
Similar Reads
Array Formulas in Excel
Excel is among the most powerful and widely used spreadsheet tools which eases organizing numbers and data within the sheets with pre-built formulas and functions. In this article, we are going to study Array Formulas. Arrays are one of them. Using Excel Array Formulas, make it super easy to handle
8 min read
Basic Excel Formulas
Functions in Excel are the predefined formulas that have their specific meaningful work. They make our task easy and quick like finding the sum, count, average, maximum value, and minimum values for a range of cells. For example, the SUM function will calculate the sum of the range passed to it as a
1 min read
How to Create an Array Formula in Excel?
Array formulas in excel are important tools. A single formula can perform multiple calculations and replace thousand of useful formulas. Most of us have never used array functions in our excel sheet just because we don't know how to use these formulas. Array formulas is one of the most confusing exc
10 min read
How to Create a Dynamic Pie Chart in Excel?
In Excel, Pie-chart is a graphical representation of different sections or sectors of a circle based on the proportion, it holds from the complete quantity. Pie-charts are generally categorized into two types: Static Pie-chart: A pie-chart created with static or fixed input values is known to be a s
3 min read
How to Create Dynamic Chart Titles In Excel?
Excel is a tool that is generally used by accounting professionals for financial data analysis but can be used for different purposes. It can be used for data visualization, data analysis, and data management, which uses spreadsheets for managing, storing, and visualizing large volumes of data. Cell
2 min read
How to Create a Dynamic Chart Range in Excel?
A Dynamic chart range is the range of a data set which automatically updates on any modifications in the original data set. It is beneficial because at some point in time we need to add or delete data from the original data set. So, we want a method to automatically update the chart on performing an
5 min read
Dynamic Map with Drop-Down in Excel
The map charts are generally used to compare the data values and show different categories across the geographical region. In excel we use map char to visualize the KPI (Key Performance Indicator) and represent the distribution of KPI across multiple geographical regions for any specific category. I
4 min read
Trapping Dynamic Ranges in Excel VBA
Dynamic Ranges give the flexibility to work with more range of cells as compared to a specific range of cells which usually limits us to work with a particular range of cells. As the size of the data may change in an excel sheet so it is also necessary to change the range in the code dynamically for
3 min read
Generating Dynamic Charts With VBA in Excel
A powerful graph range is an information range that refreshes naturally when you change the information source. This unique reach is then utilized as the source information in an outline. As the information changes, the powerful reach refreshes right away which prompts an update in the outline. The
2 min read
How to Combine Excel Functions in a Formula?
We all use Excel for some small computations in data but excel also provides the functionality to combine these small functions and make a formula for manipulating the data. For example, let's say that in school we need to increment the ID numbers of students by a number but the ID's have some text
2 min read