Koeiegeloei wrote:
Nevertheless, I have the impression that my (actual) equation will never have the form of 1000.4-1000. So in this case my proposed formula seems to suit my needs best. Please let me know if you are sure that I shouldn't use my proposed formula.
It is impossible to tell. You keep changing your story, so it is difficult for me to know what we are talking about.
Your first response in this thread seemed to be directed to Jennie. Nearly 3 years after Jennie wrote, "I now understand what is causing the problem, and what I need to do to fix it in my worksheet", you wrote: "I have another one, which you might like: =IF(MOD((15*(1,4-1));6)=6;0;MOD((15*(1,4-1));6))".
That is what I have been discussing: the conceptual errors in that response and your subsequent responses, which I assumed were intended to fine-tune your comments about Jennie's problem.
Now it appears that you have "needs" of your own, and your more recent comments are intended to justify a solution that meets your needs best.
Since you never described your needs, I cannot tell if your simplification of the "more complex" situation is truly representative of your needs.
If whatever you are doing works for you, so be it. "Don't fix what ain't broke".
If and when it does not work for you, I suggest you start a new discussion about your needs instead of piggybacking a 3-year-old discussion of someone else's different needs by your own admission, especially a discussion that was already resolved adequately, according to the original poster.
If and when you start a new discussion about your needs, be sure to include examples that truly represent the "more complex" situation, not your simplification. With arithmetic problems of this sort, the devil is in the details.
Even better: upload an example Excel file to a file-sharing website, and post the URL of the "shared" file. But I reiterate: that is for another discussion, not this one.