1. Average list price of all listings
| Address | Beds | Baths | List Price | Days on Market |
| 123 Maple St | 3 | 2 | 300000 | 45 |
| 456 Oak Ave | 4 | 3 | 450000 | 30 |
| 789 Pine Rd | 2 | 1 | 250000 | 60 |
| 321 Birch Blvd | 5 | 4 | 600000 | 15 |
=LAMBDA(tbl, AVERAGE(INDEX(tbl,,4)))(A2:E6)
Result: 400000
The LAMBDA receives the whole table (A2:E6) as its single parameter tbl. Inside the calculation, INDEX(tbl,,4) extracts the fourth column – the list prices – and AVERAGE computes their mean. The four prices sum to 1,600,000, so the average is 400,000, which the formula returns.
2. Address of the property that has lingered longest on the market
| Address | Beds | Baths | List Price | Days on Market |
| 123 Maple St | 3 | 2 | 300000 | 45 |
| 456 Oak Ave | 4 | 3 | 450000 | 30 |
| 789 Pine Rd | 2 | 1 | 250000 | 60 |
| 321 Birch Blvd | 5 | 4 | 600000 | 15 |
=LAMBDA(tbl, INDEX(tbl, MATCH(MAX(INDEX(tbl,,5)), INDEX(tbl,,5),0),1))(A2:E6)
Result: 789 Pine Rd
The calculation first pulls the fifth column (days on market) with INDEX(tbl,,5) and finds its maximum (60). MATCH then locates the row where 60 appears. Finally INDEX returns the value from column one of that row – the address "789 Pine Rd" – which is the result.
3. Price per bed for each listing using MAP and LAMBDA
| Address | Beds | Baths | List Price | Days on Market |
| 123 Maple St | 3 | 2 | 300000 | 45 |
| 456 Oak Ave | 4 | 3 | 450000 | 30 |
| 789 Pine Rd | 2 | 1 | 250000 | 60 |
| 321 Birch Blvd | 5 | 4 | 600000 | 15 |
=MAP(A2:E6, LAMBDA(row, INDEX(row,4)/INDEX(row,2)))
Result: 100000112500125000120000
MAP iterates over each row of the table. The embedded LAMBDA receives a single row, extracts the list price (column 4) and the bed count (column 2), divides price by beds, and returns the per-bed price. The four calculations yield 100,000; 112,500; 125,000; and 120,000, returned as a vertical array.