Fixes #402: implement FILTER formula and array-aware comparisons - #403
Open
Sparker0i wants to merge 2 commits into
Open
Fixes #402: implement FILTER formula and array-aware comparisons#403Sparker0i wants to merge 2 commits into
Sparker0i wants to merge 2 commits into
Conversation
…sons FILTER was documented in autocomplete/help text but never implemented, since the underlying formulajs fork doesn't export it - calling it always threw #NAME?. Relational operators also only compared scalars, so a condition like `$B:$B=D$1` (range vs cell) couldn't produce the per-row boolean array FILTER needs. Adds a broadcastCompare helper so =, <>, <, >, <=, >= work element-wise over ranges, a native FILTER(range, condition1, [condition2, ...]) implementation, and spill support so results spread across cells like SORT/XLOOKUP/SEQUENCE already do. Fixes fileverse#402
|
@Sparker0i is attempting to deploy a commit to the fileverse Team on Vercel. A member of the Team first needs to authorize it. |
Author
Author
|
Hi @maitrakhatri @mritunjayz , could one of you please have a look at this PR? |
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.


FILTER was documented in autocomplete/help text but never implemented, since the underlying formulajs fork doesn't export it - calling it always threw #NAME?. Relational operators also only compared scalars, so a condition like
$B:$B=D$1(range vs cell) couldn't produce the per-row boolean array FILTER needs.Adds a broadcastCompare helper so =, <>, <, >, <=, >= work element-wise over ranges, a native FILTER(range, condition1, [condition2, ...]) implementation, and spill support so results spread across cells like SORT/XLOOKUP/SEQUENCE already do.
Fixes #402