TGViewer
MS Excel for Data Analysis MS Excel for Data Analysis @excel_analyst ยท 73.2K subscribers
Post #2155 2.41K
Now, let's understand the next web development project:

๐Ÿš€ Excel Formulas Fundamentals โ€” Part 11

โšก Dynamic Array Functions (FILTER, SORT, UNIQUE, SEQUENCE, RANDARRAY)

Dynamic Array functions are available in modern versions of Microsoft Excel (Microsoft 365 and Excel 2021+). They automatically return multiple results and "spill" them into adjacent cells, making formulas simpler and reducing the need for helper columns.

๐Ÿ“Œ These functions are becoming increasingly common in modern Excel interviews and workplace tasks.

๐Ÿง  1. What are Dynamic Arrays?

A Dynamic Array formula can return multiple values from a single formula.

Example

=UNIQUE(A2:A10)

Instead of returning one value, Excel returns all unique values and automatically fills the cells below.

This automatic expansion is called a spill range.

๐Ÿ” 2. FILTER() โ€“ Filter Data Dynamically

FILTER() returns only the rows that meet a condition.

Syntax

=FILTER(array,include,[if_empty])

Example

Employee Department Salary

Rahul Sales 50000

Priya HR 60000

Amit Sales 55000

Neha Finance 65000

Formula:

=FILTER(A2:C5,B2:B5="Sales","No Data")

Result:

Employee Department Salary

Rahul Sales 50000

Amit Sales 55000

๐Ÿ“Œ Use Cases:

โ€ข Interactive dashboards

โ€ข Dynamic reports

โ€ข Filtering records without using AutoFilter

๐Ÿ“Š 3. SORT() โ€“ Sort Data Automatically

SORT() sorts data without changing the original dataset.

Syntax

=SORT(array,[sort_index],[sort_order])

Example

=SORT(A2:C10,3,-1)

Meaning

โ€ข Sort by the 3rd column (Salary)

โ€ข -1 = Descending order

๐Ÿ“Œ Useful for displaying Top Performers dynamically.

๐ŸŽฏ 4. UNIQUE() โ€“ Return Unique Values

UNIQUE() removes duplicate values and returns only distinct entries.

Syntax

=UNIQUE(array)

Example

Department

Sales

HR

Sales

Finance

HR

Formula:

=UNIQUE(A2:A6)

Result:

Sales

HR

Finance

๐Ÿ“Œ Common Uses:

โ€ข Dropdown lists

โ€ข Customer lists

โ€ข Product categories

๐Ÿ”ข 5. SEQUENCE() โ€“ Generate Number Series

SEQUENCE() creates a sequence of numbers automatically.

Syntax

=SEQUENCE(rows,[columns],[start],[step])

Example

=SEQUENCE(10)

Result:

1

2

3

4

5

6

7

8

9

10

Another Example

=SEQUENCE(5,1,100,10)

Result:

100

110

120

130

140

๐Ÿ“Œ Useful for creating serial numbers and sample datasets.

๐ŸŽฒ 6. RANDARRAY() โ€“ Generate Random Numbers

RANDARRAY() creates an array of random numbers.

Syntax

=RANDARRAY(rows,[columns],[min],[max],[whole_number])

Example

=RANDARRAY(5,1,1,100,TRUE)

Result (changes every recalculation):

15

87

42

63

91

๐Ÿ“Œ Use Cases:

โ€ข Sample data

โ€ข Testing dashboards

โ€ข Random selections

๐Ÿ”„ 7. Combining Dynamic Array Functions

Dynamic Array functions can be combined for powerful analysis.

Example

Display unique departments in alphabetical order:

=SORT(UNIQUE(B2:B20))

Result:

Finance

HR

Sales

Example

Display only Sales employees sorted by salary:

=SORT(FILTER(A2:C20,B2:B20="Sales"),3,-1)

This filters Sales employees and sorts them by Salary in descending order.

๐Ÿ’ผ 8. Real-World Business Scenario

Sales Dashboard

Region Product Sales

East Laptop 50000

West Mobile 30000

East Tablet 40000

South Laptop 35000

Show Only East Region

=FILTER(A2:C5,A2:A5="East")

Show Unique Products

=UNIQUE(B2:B5)
  • โค 5
  • ๐Ÿ‘ 1
More from @excel_analyst
  1. Oct 13, 2026๐—ง๐—ข๐—ฃ ๐—™๐—ฅ๐—˜๐—˜ ๐—–๐—ข๐—จ๐—ฅ๐—ฆ๐—˜๐—ฆ ๐—ง๐—ข ๐—•๐—ข๐—ข๐—ฆ๐—ง ๐—ฌ๐—ข๐—จ๐—ฅ ๐—ฆ๐—ž๐—œ๐—Ÿ๐—Ÿ๐—ฆ ๐—œ๐—ก ๐Ÿฎ๐Ÿฌ๐Ÿฎ๐Ÿฒ! Explorโ€ฆ
  2. Oct 12, 2026๐Ÿ“Š Excel Shortcuts โ€” Part 7 This part focuses on Paste Special, Go To Special & Advanced Pโ€ฆ
  3. Oct 12, 2026๐Ÿš€ ๐—ช๐—ต๐—ถ๐—ฐ๐—ต ๐—ง๐—ฒ๐—ฐ๐—ต ๐—ฆ๐—ธ๐—ถ๐—น๐—น ๐—ช๐—ถ๐—น๐—น ๐—ฌ๐—ผ๐˜‚ ๐— ๐—ฎ๐˜€๐˜๐—ฒ๐—ฟ ๐—ถ๐—ป ๐Ÿฎ๐Ÿฌ๐Ÿฎ๐Ÿฒ? Want to builโ€ฆ
  4. Oct 10, 2026๐Ÿ“Š Excel Shortcuts โ€” Part 6 This part focuses on Worksheet & Sheet Management shortcuts โ€”โ€ฆ
  5. Oct 9, 2026Hey guys, Today, Iโ€™m covering some Excel interview questions that often pop up in data anaโ€ฆ
  6. Oct 9, 2026๐Ÿ‡ฎ๐Ÿ‡ณ ๐—š๐—ข๐—ฉ๐—˜๐—ฅ๐—ก๐— ๐—˜๐—ก๐—ง ๐—ข๐—™ ๐—œ๐—ก๐——๐—œ๐—” โ€” ๐—”๐—œ๐—–๐—ง๐—˜ ๐—œ๐—ก๐—ง๐—˜๐—ฅ๐—ก๐—ฆ๐—›๐—œ๐—ฃ๐—ฆ ๐Ÿฎ๐Ÿฌ๐Ÿฎ๐Ÿฒ ๐Ÿš€โ€ฆ
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook โ†’Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 โ†’