Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add sumif function #1301

Open
wants to merge 5 commits into
base: dev
Choose a base branch
from
Open

Add sumif function #1301

wants to merge 5 commits into from

Conversation

aarondr77
Copy link
Member

Description

Adds the SUMIF function as the first Pro spreadsheet function. It does not support the full SUMIF Excel-implementation, but it does support the most common use cases that we have seen: =SUMIF(df2!Key:Key, 'A1', df2!Value:Value), =SUMIF(df2!Key:Key, 'Apple', df2!Value:Value)

Using the function in the open source version throws the following error:
Screenshot 2024-04-07 at 10 18 04 PM

Testing

See the tests and add one

Documentation

We should add this to the docs as a pro function.

Copy link

vercel bot commented Apr 8, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
monorepo ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 8, 2024 2:37am

@aarondr77
Copy link
Member Author

It would be nice if the pro spreadsheet functions were greyed out for non-pro users with a CTA.. but we can do that later

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.

1 participant