Skip to content
PremiumIntermediate

Dynamic Arrays: FILTER, SORT, UNIQUE, LET and LAMBDA

Write one formula that fills a whole list with FILTER, SORT, SORTBY, UNIQUE and SEQUENCE, then name a formula's steps with LET and turn a calculation into your own function with LAMBDA.

8 lessons · 32 exercises · 1 h 5 min

Start the course

Next: Fill a range with one formula, and fix #SPILL!

About this course

In Microsoft 365 and Excel 2021 or later, one formula can return a whole list and spill it into the cells below. The course starts with how a spill works, how # refers to all of it, and what to do about #SPILL!. Then FILTER pulls out the rows that match, SORT and SORTBY put them in order, UNIQUE lists each value once with its total beside it, and SEQUENCE numbers rows and lists dates.

The second chapter makes long formulas easier to read and to reuse. LET names each step and works it out once, and LAMBDA turns a calculation you repeat into a function with a name of its own. A case study then builds a sales report that keeps itself up to date. The sheets come from real jobs, with money in dollars and euros, and every exercise is checked straight away.

Lessons

1. Formulas that spill

  1. Not started

    Fill a range with one formula, and fix #SPILL!

    Write one formula whose results spill into the cells below it, refer to all of them with #, and clear the way when Excel shows #SPILL!.

  2. Premium

    Pull the matching rows with FILTER

    List the rows that pass a test in a range that updates itself, with one condition or two, and a message when nothing matches.

  3. Premium

    Sort a list with SORT and SORTBY

    Show a list in order without changing the original, by any of its columns or by several, smallest or largest first.

  4. Premium

    List each value once with UNIQUE

    Turn a column full of repeats into a list of each value once, total each one beside it, and find the values that appear only once.

  5. Premium

    Number rows and list dates with SEQUENCE

    Write a run of numbers or dates with one formula, such as a batch of invoice numbers, paydays or monthly payment dates.

2. LET and LAMBDA

  1. Premium

    Name the steps of a formula with LET

    Give each part of a long formula a name, work it out once and use it again, so the formula is shorter and easier to check.

  2. Premium

    Make your own function with LAMBDA

    Turn a calculation you repeat into a function with a name, test it in a cell first, and call it like any Excel function.

3. Case study

  1. Premium

    Case study: a sales report that updates itself

    Build a month's sales report from one order list with formulas that spill, from the regions and their totals to a rep leaderboard and a list of the big orders.

ProExcel seal: =PROEXCEL() with a check, every formula checked

Certificate of completion

Finish all 8 lessons and solve all 32 exercises to earn it, then add it to LinkedIn.