🎯 What You'll Learn

📋 Before You Begin

1. MAP Function — The Column Processor

Perfect for showing how two columns interact. MAP takes two ranges and applies a LAMBDA function to each pair of values.

1. The "Total Price" Map

Multiplies quantities by unit prices to get total cost.

excel
=MAP(B2:B6, C2:C6, LAMBDA(qty, prc, qty * prc))
Arrow 1: B2:B6 (Quantities) → qty
Arrow 2: C2:C6 (Unit Prices) → prc

2. The "Full Name" Map

Combines first and last names into a full name.

excel
=MAP(B2:B6, C2:C6, LAMBDA(first, last, first & " " & last))

3. The "Budget Check" Map

Compares actual spending against budget limits.

excel
=MAP(B2:B6, C2:C6, LAMBDA(spend, budget, spend > budget))

4. The "Growth Rate" Map

Calculates percentage change between two years.

excel
=MAP(B2:B6, C2:C6, LAMBDA(old, new, (new-old)/old))

View More MAP Examples

5. Student Grade: =MAP(B2:B6, C2:C6, LAMBDA(test1, test2, MAX(test1, test2))) — Finds higher of two test scores

6. Shipping Days: =MAP(B2:B6, C2:C6, LAMBDA(start, end, end - start)) — Subtracts dates to find duration

7. Commission: =MAP(B2:B6, C2:C6, LAMBDA(sales, rate, sales * rate)) — Applies commission rate to sales

8. Address Formatter: =MAP(B2:B6, C2:C6, LAMBDA(city, state, city & ", " & state)) — Joins City and State

9. Inventory Status: =MAP(B2:B6, C2:C6, LAMBDA(in_hand, min, IF(in_hand < min, "ORDER", "OK"))) — Checks if restock needed

10. Currency Converter: =MAP(B2:B6, C2:C6, LAMBDA(usd, rate, usd * rate)) — Multiplies by exchange rate

Why the Arrows Matter

Without the arrows, students often ask: "How does the formula know q1 is column B?"

First Range in the list → First Name in the LAMBDA.
Second Range in the list → Second Name in the LAMBDA.

2. UNIQUE & FILTER — The Data Cleaners

These functions look at a messy pile of data and extract exactly what you need.

10 Practical Examples:

3. SORT & SORTBY — The Organizers

These take your "Spill" and put it in order (A-Z, High-Low).

10 Practical Examples:

4. LET & LAMBDA — The Logic Builders

These make formulas cleaner and allow you to create your own "mini-apps."

10 Practical Examples:

5. ROW, COLUMN, TOROW, TOCOL — The Shapers

These change the "shape" of your data.

10 Practical Examples:

6. BYROW, BYCOL — The Loopers

Similar to MAP, but they process an entire row or entire column at once.

10 Practical Examples:

7. SEQUENCE, VSTACK, HSTACK — The Builders

These create data from scratch or glue pieces together.

10 Practical Examples:

Knowledge Check

1. What does MAP function do with two columns?

2. Which function removes duplicate values from a list?

3. What is the main purpose of LET function?

4. What does VSTACK function do?

5. In MAP(B2:B6, C2:C6, LAMBDA(qty, prc, qty * prc)), what does "qty" represent?

Key Takeaways