Module 13 · Dynamic Arrays
Count the spill

The book week poster says how many genres and authors Inkwell Books has. The lists in F5 and H5 change when the shop list changes. Nadia wants counts that change with them.
Steps
Count a spill range with #
F5# means the full spill range that starts in F5. When the list gets longer or shorter, F5# changes too.
How to do it
- Click cell K5.
- Type the function and the first cell of the spill range with #.
- Press Enter.
- Change a value in the source list.
- Type Cozy Crime.
- COUNTA counts the values. ROWS counts the rows. For a list in one column, both give the same number.
=COUNTA(F5#)Task: Count the authors in the spill range that starts in H5. Use ROWS. Put the number in cell K6.
Use a spill range in another formula
Any formula can use a spill range. =SORT(F5#) sorts the full list. When the list changes, the sorted list changes too.
How to do it
- Click cell M5.
- Type =SORT(F5#)
- Press Enter.
=SORT(F5#)Task: Sort the authors from A to Z. Put the list in cell N5.