Loading topic
=SUM(A1:A10), and read ranges such as A2:D100. It also assumes your data already sits in one table with a single header row, as described in the previous chapter. Here you will learn the built-in sort 7 min readSORT function.6 min readSORT function leaves the source alone and returns a sorted copy that updates when the source changes. This chapter covers the syntax, the common patterns, and the errors you are most likely to hit.5 min readA2:D100, and have used the Data menu filter. The FILTER function does the same job with a formula. It returns the rows that meet your conditions and leaves the source data alone. The result is live: when the source data change5 min readSORT and a basic FILTER formula. It also assumes you know that array formulas spill their results into neighboring cells. Here you nest the two functions so that one formula returns only the rows you want, already in the order you want. The result updat5 min readSORT and FILTER formulas from the previous chapters and combine them in one formula. You also need to know how a formula result "spills" into neighboring cells. Here you will learn what happens when FILTER finds nothing, what happens when the cells it nee7 min readSORTN keeps the first N rows of a sorted result, and UNIQUE removes repeated values. It assumes you can write SORT and FILTER formulas, know that array formulas spill into neighboring cells, and can read range6 min readQUERY runs a small SQL-like statement against a range and returns the result as a live table. One formula can filter rows, pick columns, group and total them, sort the output, and relabel the headers. The earlier chapters did this with FILTER, SORT, SORTN and UNIQUE. This chapter shows whe5 min read