Excel MAKEARRAY Function
Chala mitrano — today we learn MAKEARRAY. Read Why → What → How, then try the practice list.
चला मित्रांनो — आज MAKEARRAY शिकू. Why → What → How वाचा, मग practice करा.
चलो दोस्तों — आज MAKEARRAY सीखते हैं। Why → What → How पढ़ो, फिर practice करो।
Purpose
Build a new array from row and column index numbers using a LAMBDA.
Return value
A rows×cols array computed by your LAMBDA(r, c).
Syntax
Arguments
| Argument | Required? | Description |
|---|---|---|
rows | Required | Number of rows to create. |
cols | Required | Number of columns to create. |
lambda | Required | LAMBDA(r, c) using 1-based indexes. |
Version
Microsoft 365 with LAMBDA.
How to use — Why → What → How
Why: You need a grid that is calculated (times table, seats, random layout) without typing each cell.
What: Excel calls your LAMBDA once per cell with that cell’s row and column index.
How — numbered steps:
- Try =MAKEARRAY(5, 5, LAMBDA(r,c, r*c)) for a times table.
- Indexes start at 1.
- Use IF inside to draw patterns.
- Keep rows*cols reasonable — huge arrays are slow.
- Name the LAMBDA if reused.
Ravindra Bagale's Tip
Friends, mAKEARRAY is powerful but easy to overbuild. Start 3×3.
Ravindra Bagale's Tip – मराठी
MAKEARRAY शक्तिशाली आहे — 3×3 पासून सुरू करा.
Ravindra Bagale's Tip – हिंदी
MAKEARRAY ताकतवर है — 3×3 से शुरू करो।
Ravindra Bagale's Tip
r and c are indexes, not values from another sheet (unless you INDEX inside).
Ravindra Bagale's Tip – मराठी
r आणि c indexes आहेत — दुसऱ्या शीटचे values नाहीत.
Ravindra Bagale's Tip – हिंदी
r और c indexes हैं — दूसरी शीट के मान नहीं।
Worked examples
1) 5×5 times table
Teaching aid.
Result: Multiplication grid
What it means: r*c at each cell.
2) Serial numbers
1 column.
Result: 1..10
What it means: Like SEQUENCE.
3) Seat labels
Rows A–C feel: "R"&r&"C"&c.
Result: R1C1…
What it means: Text grid.
4) Checker pattern
1/0.
Result: 0/1 pattern
What it means: MOD pattern.
5) Price matrix ₹
Base 100 + 10*r + c.
Result: Price grid
What it means: Simple pricing toy.
Common errors
Practice tasks (10+)
- Task 1. Build a 10×10 times table.Hint: try on a tiny range first
- Task 2. MAKEARRAY of SEQUENCE-like numbers.Hint: try on a tiny range first
- Task 3. Text labels for seats.Hint: try on a tiny range first
- Task 4. Random integers with RANDBETWEEN inside (volatile!).Hint: try on a tiny range first
- Task 5. Explain vs SEQUENCE/RANDARRAY.Hint: try on a tiny range first
- Task 6. Pattern with MOD.Hint: try on a tiny range first
- Task 7. Interview: when MAKEARRAY beats typing.Hint: try on a tiny range first
- Task 8. Cap size to avoid freezes.Hint: try on a tiny range first
- Task 9. Combine with ROUND.Hint: try on a tiny range first
- Task 10. Bonus: MAKEARRAY that INDEX-es another table.Hint: try on a tiny range first
Quick quiz
Answers: Q1=True, Q2=True, Q3=False, Q4=True
Related: LAMBDA · LET · GROUPBY · Function hub · Learning path