Repository navigation
Add PERCENTRANK.INC, MODE.MULT, FREQUENCY and PROB functions (HF-421, HF-424, HF-425, HF-428) - #1818
Open
marcin-kordas-hoc wants to merge 3 commits into
Open
marcin-kordas-hoc wants to merge 3 commits into
marcin-kordas-hoc wants to merge 3 commits into
Conversation
…ions Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
hyperformula-docs | d102bd3 | Commit Preview URL Branch Preview URL |
Oct 15 2026, 07:29 AM |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #1818 +/- ##
===========================================
+ Coverage 97.28% 97.30% +0.02%
===========================================
Files 207 207
Lines 16218 16318 +100
Branches 3588 3609 +21
===========================================
+ Hits 15777 15879 +102
+ Misses 433 431 -2
Partials 8 8
🚀 New features to boost your workflow:
|
Performance comparison of head (d102bd3) vs base (05c1a29) |
This branch has not been deployed
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds four statistical functions:
PERCENTRANK.INC(with itsPERCENTRANKalias),MODE.MULT,FREQUENCYandPROB(HF-421, HF-424, HF-425, HF-428).PERCENTRANK.INC(array, x, [significance])returns the rank ofxas a fraction from 0 to 1, interpolating between neighbours.xoutside the data is#N/A, andsignificanceis truncated to an integer and must be at least 1 (otherwise#NUM!).MODE.MULT(number1, ...)returns a column with every most frequent value, in order of first occurrence, and#N/Awhen no value repeats.FREQUENCY(data_array, bins_array)returns a column with the count of values up to each bin and one more row for the values above the last bin. Text and blank cells are ignored.PROB(x_range, prob_range, lower_limit, [upper_limit])returns the probability that a value lies between the limits. The probabilities must be positive and sum to 1.PercentilePluginandStatisticalAggregationPlugin, with metadata, translations, the license capability table entries and a CHANGELOG entry.Behaviour check against Excel
122 formulas were evaluated in Excel Online (MS Graph live session) and in HyperFormula: 118 identical, 0 different, 4 not evaluable (calls with a wrong number of arguments, which Excel rejects when the formula is entered). They cover typed numbers (percentage, date and currency cells), booleans, text and numeric text, blank cells, errors, ranges and scalars, ties, bin ordering, limit ordering and the
significanceargument. Array results are read throughINDEX,ROWS,COLUMNSandSUM, because they spill.Translations
Names come from the Excel function translation table named in DEV_DOCS.md (Excel 2013), for 15 languages (for example de
QUANTILSRANG.INKL,MODUS.VIELF,HÄUFIGKEIT,WAHRSCHBEREICH). The individual function pages were not checked one by one. Where a name would duplicate another function in the same language (nlFREQUENCY), and forenGB,enUSandidID, the English name is kept.Tests
Paired tests branch:
feat/hf-stats2-percentrank-inc-modemult-frequency-probin the tests repository (159 tests). Full local run on this head: 524 suites, 6901 passed, 3 skipped.🤖 Generated with Claude Code