Created
April 30, 2024 17:14
-
-
Save ncalm/f6ce93ed9825ce6a330cb0ae3d34eec1 to your computer and use it in GitHub Desktop.
This Excel LAMBDA functions mimics SUMPRODUCT but allows a single 2D array as its only argument
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
IFOMITTED = LAMBDA(arg,then,IF(ISOMITTED(arg),then,arg)); | |
SUMPRODUCT2 = LAMBDA(array, [axis], | |
SUM(IF(IFOMITTED(axis,0)=0, BYROW, BYCOL)(array, PRODUCT)) | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Explanation:
https://www.flexyourdata.com/excel/free-lambda-sumproduct-for-2d-arrays/