Repository navigation
Return #VALUE! for text and the error itself for an error in FILTER's conditions (HF-591) #1891
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
Merged
Merged
Changes from 5 commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
c025fa1
Return #VALUE! for text and the error itself for an error in FILTER's…
Tobiadefami 6c8117d
Link the FILTER changelog entry to its pull request
Tobiadefami 9e81f52
Merge remote-tracking branch 'origin/develop' into fix/hf-591-filter-…
Tobiadefami 031aa29
Merge remote-tracking branch 'origin/develop' into fix/hf-591-filter-…
Tobiadefami 5ec67d2
Check only FILTER's include for text and errors, and list it as breaking
Tobiadefami fbc8162
Merge remote-tracking branch 'origin/develop' into fix/hf-591-filter-…
Tobiadefami File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,26 @@ | ||
| --- | ||
| title: "Migrating from 3.x to 4.0" | ||
| tags: | ||
| - migration | ||
| - migrate | ||
| - upgrade | ||
| - breaking changes | ||
| - v4.0 | ||
| - FILTER | ||
| --- | ||
|
|
||
| To upgrade your HyperFormula version from 3.x.x to 4.0.0, follow this guide. | ||
|
|
||
| ## The `FILTER` function | ||
|
|
||
| HyperFormula 4.0 reads the `include` argument of `FILTER`, its second argument, as Microsoft Excel does. Text in it returns `#VALUE!`, and an error in it is returned: | ||
|
|
||
| | Value in `include` | 3.x | 4.0 | | ||
| |:-------------------|:----|:----| | ||
| | `TRUE`, a non-zero number | The row is kept | The row is kept | | ||
| | `FALSE`, `0`, a blank cell | The row is dropped | The row is dropped | | ||
| | Text, such as `"x"` or the empty text `""` | The row is dropped | `#VALUE!` | | ||
| | The text `"TRUE"` | The row is kept | `#VALUE!` | | ||
| | An error, such as `#DIV/0!` | The row is dropped | The error | | ||
|
|
||
| If a condition column can hold text, for example `=IF(B1>0, TRUE(), "")`, return `FALSE()` instead of `""`. Conditions after `include`, which HyperFormula accepts in addition to Excel, still drop such rows. | ||
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.