Skip to content

Fixes #402: implement FILTER formula and array-aware comparisons - #403

Open
Sparker0i wants to merge 2 commits into
fileverse:mainfrom
Sparker0i:fix/filter-formula-not-implemented
Open

Fixes #402: implement FILTER formula and array-aware comparisons#403
Sparker0i wants to merge 2 commits into
fileverse:mainfrom
Sparker0i:fix/filter-formula-not-implemented

Conversation

@Sparker0i

Copy link
Copy Markdown

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

…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
@vercel

vercel Bot commented Jul 3, 2026

Copy link
Copy Markdown

@Sparker0i is attempting to deploy a commit to the fileverse Team on Vercel.

A member of the Team first needs to authorize it.

@Sparker0i

Copy link
Copy Markdown
Author

Before:
image

After:
image

@Sparker0i

Copy link
Copy Markdown
Author

Hi @maitrakhatri @mritunjayz , could one of you please have a look at this PR?
Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Filter function not working properly

1 participant