-
-
Notifications
You must be signed in to change notification settings - Fork 0
List.Outliers
Rodrigo Celso de Lima Porto edited this page Jan 13, 2026
·
1 revision
Identifies outliers in a list of numerical values using the Interquartile Range (IQR) method.
List.Outliers(
values as list,
optional multiplier as number
) as list-
values: A list of numerical values to analyze for outliers. -
multiplier(optional): A number to adjust the IQR threshold for defining outliers. Default is 1.5.
Returns a list of outlier values identified in the input list based on the IQR method. If no outliers are found, the function returns an empty list.
- The function first removes nulls, empty strings, and whitespace entries, then selects only valid numeric values.
- Outliers are defined as values below
$Q_{1} - 1.5 \cdot IQR$ or above$Q_{3} + 1.5 \cdot IQR$ , where$Q_1$ and$Q_3$ are the first and third quartiles respectively.
Example 1: Returns outliers from a list with extreme values.
List.Outliers({1, 2, 3, 4, 5, 6, 50, 100})Result
{50, 100}Example 2: With a higher multiplier, identifying outliers becomes stricter.
List.Outliers({1, 2, 3, 4, 5, 6, 50, 100}, 3)Result
{100}Example 3: Returns an empty list if there's no outlier.
List.Outliers({10, 12, 14, 15, 16, 18, 20})Result
{}Example 4: Ignores nulls and empty strings.
List.Outliers({1, null, "", 2, 3, 4, 5, null, 6, 50, 100})Result
{50, 100}- Binary.Unzip πβοΈ
- DateTime.ToUnixTime πβοΈ
- Decision.EntropyWeights πβοΈ
- Decision.TOPSIS πβοΈ
- List.Correlation πβοΈ
- List.Intercept πβοΈ
- List.Outliers πβοΈ
- List.PopulationStdDev πβοΈ
- List.Primes πβοΈ
- List.Rank πβοΈ
- List.Slope πβοΈ
- List.Variance πβοΈ
- List.WeightedAverage πβοΈ
- Number.FromRoman πβοΈ
- Number.IsInteger πβοΈ
- Number.IsPrime πβοΈ
- Number.ToRoman πβοΈ
- Statistical.NormDist πβοΈ
- Statistical.NormInv πβοΈ
- Table.AddColumnFromList πβοΈ
- Table.CorrelationMatrix πβοΈ
- Table.NormalizeColumnNames πβοΈ
- Table.NormalizeTextColumns πβοΈ
- Table.RemoveBlankColumns πβοΈ
- Table.TransposeCorrectly πβοΈ
- Text.CountChar πβοΈ
- Text.ExtractNumbers πβοΈ
- Text.HtmlToPlainText πβοΈ
- Text.RegexExtract πβοΈ
- Text.RegexReplace πβοΈ
- Text.RegexSplit πβοΈ
- Text.RegexTest πβοΈ
- Text.RemoveAccents πβοΈ
- Text.RemoveDoubleSpaces πβοΈ
- Text.RemoveLetters πβοΈ
- Text.RemoveNumerals πβοΈ
- Text.RemovePunctuations πβοΈ
- Text.RemoveStopwords πβοΈ
- Text.RemoveWeirdChars πβοΈ
- AreArraysEquals πβοΈ
- AutoFillFormulas πβοΈ
- CleanString πβοΈ
- DisableRefreshAll πβοΈ
- EnableRefreshAll πβοΈ
- FileExists πβοΈ
- FileNameIsValid πβοΈ
- GetAllFileNames πβοΈ
- GetLetters πβοΈ
- GetMonthNumberFromName πβοΈ
- GetStringBetween πβοΈ
- GetStringWithSubstringInArray πβοΈ
- GetTableColumnNames πβοΈ
- IsAllTrue πβοΈ
- IsInArray πβοΈ
- ListObjectExists πβοΈ
- PreviousMonthNumber πβοΈ
- RangeHasAnyFormula πβοΈ
- RangeHasConstantValues πβοΈ
- RangeIsHidden πβοΈ
- RangeToHtml πβοΈ
- SendEmail πβοΈ
- SetQueryFormula πβοΈ
- StringContains πβοΈ
- StringEndsWith πβοΈ
- StringStartsWith πβοΈ
- SubstringIsInArray πβοΈ
- Summation πβοΈ
- TableHasQuery πβοΈ
- WorksheetHasListObject πβοΈ