Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.
Last reviewed:
=MAKEARRAY(5, 5, LAMBDA(r, c, r * c))Edit the grid or formula, then run it through a real spreadsheet engine — no signup.
Sample data — click any cell to edit
Working on a sheet you inherited? Run the Auditor on the whole file first — it flags every #REF!, #N/A, broken column pattern, and inconsistent formula in seconds, free, no signup.
Use =MAKEARRAY(5, 7, LAMBDA(r, c, DATE(2024,1,1) + (r-1)*7 + (c-1))) to produce a 5-week × 7-day grid of dates starting on a given date.
Yes. Inside the LAMBDA body use INDEX(Sheet2!A1:Z50, r, c) to pull from an existing range. The LAMBDA has full access to any in-workbook reference.
There is no documented hard limit beyond the sheet grid itself (1,048,576 rows × 16,384 columns in Excel). Practically, very large grids will slow calculation significantly.
Defines a reusable custom function using named parameters and a formula body, letting you call it like any built-in function — no VBA or scripts needed.
How-toBuild self-referencing recursive functions using LAMBDA with the Excel Name Manager or Google Sheets named functions — for tasks like factorial, Fibonacci, or tree traversal.
How-toUse MAP with a LAMBDA to apply a custom formula to every cell in a range in Excel 365 and Google Sheets, returning a transformed array without helper columns.
How-toUse REDUCE with a LAMBDA to fold a range into a single accumulated value in Excel 365 and Google Sheets — perfect for running totals, products, or custom aggregations.
How-toUse SCAN with a LAMBDA to compute a running balance or cumulative total in Excel 365 and Google Sheets, returning one result per row without helper columns.
How-toBYROW and BYCOL apply a LAMBDA to each row or column of a range in Excel 365 and Google Sheets, returning a per-row or per-column result without helper rows or columns.
Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.
Last reviewed: