Multicell Array Formulas

You might also like

Download as xlsx, pdf, or txt
Download as xlsx, pdf, or txt
You are on page 1of 8

Multicell array formula examples

Note: All of the names in this workbook are sheet-level names.


Return only positive values from a range

Data Positive Vals Positive Vals Positive Vals


33 #REF!
-33 #REF!
44 #REF!
4 #REF!
-5 #REF!
0.5 #REF!
43 #REF!
-1 #REF!
-2 #REF!
-3 #REF!
-44 #REF!
99 #REF!
5 #REF!
6 #REF!
-14 #REF!
8 #REF!
9 #REF!
10 #REF!
11 #REF!
12 #REF!
Return only non-blank cells from a range

Data Non-Blanks Non-Blanks


33
-33
44

-5
0
43

-2
-3
-33

11
12
Reversing the order of cells in a range

Data Entry Range Reversed


first #REF!
second #REF!
third #REF!
fourth #REF!
5th #REF!
6th #REF!
7th #REF!
8 #REF!
9 #REF!
10th #REF!
Sorting a range of values dynamically

Data Entry SORTED SORTED


Range (with #NUM!) (no #NUM!)
44 #REF!
25 #REF!
89 #REF!
43 #REF!
31 #REF!
105 #REF!
#REF!
55 #REF!
#REF!
233 #REF!
#REF!
#REF!
#REF!
#REF!
#REF!
#REF!
#REF!
#REF!
#REF!
#REF!
#REF!
#REF!
#REF!
#REF!
#REF!
#REF!
#REF!
#REF!
#REF!
#REF!
#REF!
SORTED
(no #NUM!)
Sorting a range of text dynamically

SORTED SORTED
Data Entry Range
(with #NA!) (no #NA!)
horse #REF!
dog #REF!
monkey #REF!
camel #REF!
kitty #REF!
tortoise #REF!
ape #REF!
pig #REF!
sparrow #REF!
#REF!
#REF!
#REF!
#REF!
#REF!
#REF!
#REF!
#REF!
#REF!
#REF!
#REF!
#REF!
#REF!
Returning a list of unique items in a range

Data Unique Items Unique Items


Dog #REF!
Dog #REF!
Dog #REF!
Dog #REF!
Cat #REF!
Cat #REF!
Cat #REF!
Cat #REF!
Monkey #REF!
Cat #REF!
Elephant #REF!
Elephant #REF!
Elephant #REF!
Pigeon #REF!
Pigeon #REF!
Pigeon #REF!
Donkey #REF!
Dog #REF!
Monkey #REF!

You might also like