Logical Excel 365 ◉ 25 views Dynamic Array

=MAKEARRAY()

Returns a calculated array of a specified row and column size, by applying a LAMBDA function

Applies To: Excel for Microsoft 365Excel for Microsoft 365 for Mac
=MAKEARRAY(rows, cols, lambda(row, col))
Hover argument names in the table for details.
Output typeArray
Popularity12 / 100
VolatileNo
Dynamic ArrayYes
📥 Download sample .xlsx — Coming soon ▦ Try in Playground Dedicated file for this function — safe & lightweight · sample data + live formulas
Share:

⬇ Download Sample Workbook

A dedicated .xlsx for =MAKEARRAY() with Persian sample data & live formulas — open in Excel and practice.

  • Sheet “Sample” — data table + formula in place
  • Sheet “Guide” — syntax, arguments & tips from this page
  • Instant & secure (token + rate limit)
📥 Download MAKEARRAY.xlsx — Coming soon ~ 8–12 KB · No macros

⇪ Share

Send this function to friends

🧠 🧠 Quiz this function

%d questions — syntax, example & errors — test yourself!

◧ Arguments

ArgumentTypeRequiredDescription
rows Number Optional The number of rows in the array. Must be greater than zero.
cols Number Optional The number of columns in the array. Must be greater than zero.
lambda Any type Optional A LAMBDA that is called to create the array. The LAMBDA takes two parameters: row The row index of the array. col The column index of the array.

▣ Examples

Example 1 =MAKEARRAY(3,3,LAMBDA(r,c,r*c))

⚠ Common Errors

#VALUE! Providing an invalid LAMBDA function or an incorrect number of parameters returns a #VALUE! error called "Incorrect Parameters". Setting a row or col argument to a value < 1 or to a non-number returns a #VALUE! error.
Fix: Check the number of LAMBDA parameters

💬 Comments & Q&A 0 approved

🔒 Your comment will be published after review.

Share your thoughts — visible after admin approval

No comments yet — be the first!

✍️ Add comment / question

captcha
🔒 Your comment will be published after review.