Removes empty strings and null values from an array. 【item】Represents array values, such as cell values of multi-select, attachment, magic link, and magic reference field types. This function will retain "false" values and strings with blank characters.
Input formula
Select a formula
Number
Sum
Average
Max
Min
Round
Round Up
Round Down
Ceiling
Floor
Even
Odd
Int
Abs
Sqrt
Mod
Power
Exp
Log
Value
Text
Concatenate
Find
Search
Mid
Replace
Substitute
Len
Left
Right
Lower
Upper
Rept
T
Trim
Encode URL Component
Logic
If
Switch
True
False
And
Or
Xor
Blank
Error
Is Error
Not
Date
Today
Now
To Now
From Now
Date Add
Datetime Diff
Workday
Workday Diff
Is After
Is Before
Is Same
Datetime Format
Datetime Parse
Datestr
Timestr
Year
Month
Weekday
Weeknum
Day
Hour
Minute
Second
Set Locale
Set Timezone
Created Time
Last Modified Time
Array
Array Compact
Array Unique
Array Join
Array Flatten
Count
CountA
CountIf
CountAll
Object
Record ID
Removes empty strings and null values from an array. 【item】Represents array values, such as cell values of multi-select, attachment, magic link, and magic reference field types. This function will retain "false" values and strings with blank characters.
Usage
ARRAYCOMPACT(array)
Example
ARRAYCOMPACT([1,2,"",3,false," ", null])
=> [1,2,3,false," "]