Increasing a number based on a decimal less than 100?

耗尽温柔 提交于 2020-05-14 03:44:10

问题


I'm currently working on some SUMIF formulae which will calculate certain values against specific conditions. All of the values to be calculated are decimalised but are based on 0.80 = 1.00.

As an example if I have 1.25 and 1.60 to add together I would want the outcome to read 3.05 but currently, I would get an outcome of 2.85.

Is it possible to amend the highest number a decimal can read before it converts to 1?

Hope this makes sense.


回答1:


try:

=ARRAYFORMULA(SUM(QUOTIENT(D1:D3, 1))+
          QUOTIENT(SUM(MOD(D1:D3, 1)), 0.8)+
               MOD(SUM(MOD(D1:D3, 1)), 0.8))



来源:https://stackoverflow.com/questions/58799625/increasing-a-number-based-on-a-decimal-less-than-100

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!