SUM分割两个单元格的结果(SUMPRODUCT但是除以相反) [英] SUM the result of dividing two cells (SUMPRODUCT but division instead)

查看:421
本文介绍了SUM分割两个单元格的结果(SUMPRODUCT但是除以相反)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找相当于 SUMPRODUCT 而是与部门。有没有办法添加分割两个数组的结果?

I'm looking to do the equivalent of SUMPRODUCT but with division. Is there a way to add the results from dividing two arrays?

示例:列A具有资产的生命年份(10 ,20,10)。 B列具有资产价值(10,000,20,000,20,000)。我想添加(10,000 / 10)+(20,000 / 20)+(20,000 / 10)= 4,000 的结果,但是当我添加时,公式是动态的

Example: Column A has the "life" of an asset in years (10, 20, 10). Column B has the Value of the asset (10,000, 20,000, 20,000). I want to add the result of (10,000/10) + (20,000/20) + (20,000/10) = 4,000, but for the formula to be dynamic as I add rows with life and value.

提前感谢

推荐答案

由于除法是乘法的倒数,您可以使用以下值:

Since the division is the inverse of the multiplication, you can use this:

= SUMPRODUCT(1 / A1:A3,B1:B3)

=SUMPRODUCT(1/A1:A3, B1:B3)

这篇关于SUM分割两个单元格的结果(SUMPRODUCT但是除以相反)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆