[英]Excel: Use value of cell instead of formula in another formula
I am getting incorrect results in excel when cross-referencing formulas. 交叉引用公式时,我在excel中得到不正确的结果。
I firstly created a cell D4 = AVERAGE(D1:D3)
formatted in a percent 2.70%
. 我首先创建了一个单元格D4 = AVERAGE(D1:D3)
格式为2.70%
。
Now I am trying to use this percent in D4
to multiply a number in cell A1
, 176522.5
which should give me the answer 4766.1075
however Excel is returning the value 4758.19902
which is incorrect. 现在,我尝试在D4
使用此百分比乘以单元格A1
一个数字176522.5
,这应该给我答案4766.1075
但是Excel返回的值4758.19902
不正确。
I think the problem is coming from Excel using the AVERAGE(D1:D3
instead of the actual value in the cell. 我认为问题来自使用AVERAGE(D1:D3
而不是单元格中的实际值的Excel)。
Apologies is this may seem trivial. 抱歉,这似乎微不足道。
How can I force Excel to use the actual value and not the formula? 如何强制Excel使用实际值而不是公式?
=ROUND(your formula , 2)
2 represents the number or decimal points you want to use. 2代表您要使用的数字或小数点。 a negative number will round to the left of the decimal. 负数将四舍五入到小数点左边。 set 2 to be a number that matches however many decimal points you are using. 将2设置为与您正在使用的许多小数点匹配的数字。 in the case of a percentage, you may need to add 2 to the number of decimal places. 对于百分比,可能需要在小数位数后加2。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.