Module: Dynamic Ranges

LAMBDAs and Modules

"Module" is a name Microsoft uses to refer to a package of LAMBDAs. I package related LAMBDAs into modules so we can download several LAMBDAs at once. If a module includes LAMBDAs we don't need, we can delete them for Name Manager or ignore them. Each module resides in a "gist" and each gist resides on GitHub.com. 

We can download modules from GitHub directly into Excel using Advanced Formula Environment (AFE). When we AFE to download modules, AFE requests a name for the module. AFE applies the module name as a prefix to each of the module's LAMBDAs. Thus, if we provide AFE the module name BDR, we would find the LAMBDA DynamicRowsλ in Excel's Name Manager as BDR.DynamicRowsλ. Module names do two things for us. The first is we can make sure LAMBDAs download from other modules will not have the same name so long as we keep module names unique within a workbook. The second is we can use AFE to delete all of a module's LAMBDAs with one click.

Module: Dynamic Ranges

This LAMBDA module is available at: https://gist.github.com/CHatmaker/d14b6fcba6acf55d30b56e554e7d6c48. It includes four LAMBDAs: 

Aboutλ

Presents information about the module

DynamicRowsλ

Create a Dynamic array of X columns from a contiguous range of non-blank cells in the first column. At bottom is an example of these function's outputs. This function's output is in cell H9. The formula's text is in cell H8,

DynamicColumnsλ

Create a Dynamic array of X rows from a contiguous range of non-blank cells in the first row. At bottom is an example of these function's outputs. This function's output is in cell H2. The formula's text is in cell H1.

DynamicArrayλ

Create a dynamic array over a range determined by the number of contiguous non-blank cells in the first row and first column. At bottom is an example of these function's outputs. This function's output is in cell A13. The formula's text is in cell a12.