Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何根据另一个单元格的值计算具有 % 的单元格?
例如:假设 A2 = 5000,如果 B2 = yes,我希望 C2 计算 A2 的 1%
下面的工作吗?
SUMIFS(B2,"TRUE",C2*1%)
在 C2 中,尝试类似
=sumproduct(B2="yes", A2*0.01)
或者
=if(B2="yes", A2*0.01,)
看看这是否有效?
您可以使用以下公式作为C2:
C2
=IF(B2="yes", A2*0.01, 0)