-
Notifications
You must be signed in to change notification settings - Fork 270
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
MaxIfs/MinIfs returns #N/A for ">0" criteria #591
Labels
bug
Something isn't working
Comments
Thanks Colby, we'll have a look at this. |
This should be fixed now, and can be tested via our developerment nuget feed: https://github.com/EPPlusSoftware/EPPlus/wiki/Using-our-Develop-Nuget-Feed Thank you for a very detailed description and code to replicate the issue. /Mats |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I believe I'm seeing an issue with Maxifs and Minifs in EPPlus where they mistakenly return #N/A
In terms of the MS documentation (https://support.microsoft.com/en-us/office/minifs-function-6ca1ddaa-079b-4e74-80cc-72eef32e6599)
Excel came up with the expected value. I tried rolling back to EPP 5.8.5 and 5.8.4, but neither behaved any better. I'm not seeing in GetMatches() where the
>
operator is supported, but I could be missing that. Hopefully this is a simple fix!Here are two complete examples by which you can reproduce this:
A) Additional unit test for MinAndMaxIfsTests.cs
Method:
Output: (yes, 93 should be 93d, but that's irrelevant)
![image](https://user-images.githubusercontent.com/2199699/153065601-27a530c5-5212-43a3-aad4-337c74d22748.png)
B) standalone test code
Code:
Input File: Minifs.xlsx
![image](https://user-images.githubusercontent.com/2199699/153066267-62a3a6b6-1f8f-4274-9bdc-a9d9e0675fda.png)
Output:
Thank you.
-Colby
The text was updated successfully, but these errors were encountered: