Created
May 5, 2022 01:15
-
-
Save RecalcOrDie/a0e2402cc94ac2aad28c945a3079ad6e to your computer and use it in GitHub Desktop.
LAMBDA used to find the median for the cells specified by a given condition or criteria
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
/* | |
Name: MEDIANIF | |
Description: LAMBDA used to find the median for the cells specified by a given condition or criteria | |
Author: Mike Girvin from ExcelisFun | |
Category: Dynamic Arrays | |
*/ | |
MEDIANIF = LAMBDA( | |
CriteriaRange, | |
CriteriaValue, | |
ValuesRange, | |
BYROW( CriteriaValue, | |
LAMBDA( CriteriaValue, | |
MEDIAN( | |
FILTER( ValuesRange, | |
CriteriaRange = CriteriaValue ) | |
) | |
) | |
) | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment