RosettaCodeData/Task/Multiplication-tables/Excel/multiplication-tables-1.excel
2023-07-01 13:44:08 -04:00

17 lines
319 B
Text

FNOVERHALFCARTESIANPRODUCT
=LAMBDA(f,
LAMBDA(n,
LET(
ixs, SEQUENCE(n, n, 1, 1),
REM, "1-based indices.",
x, 1 + MOD(ixs - 1, n),
y, 1 + QUOTIENT(ixs - 1, n),
IF(x >= y,
f(x)(y),
""
)
)
)
)