I have an error with the MOD function when calculated using Aspose.Cells. This was fixed in the previouse version of the library, but seems to be broken in the current version.
MOD on it's own seem to be working, however, when used in an IF as follows:
=IF(MOD(B1,2)=0,1,0)
Excel returns the correct value, the Aspose.Excel does not.
I tried the version you suggested. The problem is still in this version.
I have a test spreadsheet that applies the formula and puts the results into a Form. When tried through Aspose.Cells the result is always zero. When using the same formula through Excel, the result varies from 0 to 1 as expected.
My dialog juts allows you to input a value to be applied in the If..MOD formula in my post. The result is displayed in another textbox in the dialog.
I don't think I have any errors in my small bit of code, but will check again. I would appreciate it if you could also check this formula.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.