ARRAYFORMULA
ARRAYFORMULA tells Sheets to run the inner expression over a range and spill the results. A blank test such as A2:A10="" is case-insensitive, and a blank cell matches an empty string.
The practice grid calculates ARRAYFORMULA for arithmetic, concatenation, IF, TRIM, and the regex functions used in these drills.
These drills are graded by calculating the formula in the practice grid.
Drills
- PremiumARRAYFORMULA line totalsPractice Google Sheets ARRAYFORMULA by multiplying quantity by price so three line totals spill down the column.
- PremiumARRAYFORMULA labels, skipping blanksPractice Google Sheets ARRAYFORMULA with IF so blank product rows stay blank and the other rows spill a label.
- PremiumREGEXMATCH product codesPractice Google Sheets REGEXMATCH inside ARRAYFORMULA to test codes shaped like two letters, a hyphen, and four digits.
- PremiumClean a name columnPractice a Google Sheets cleanup column that uses ARRAYFORMULA, TRIM, and REGEXREPLACE to fix spaced names.