如何计算Excel中2个数字之间的差异(比你想象的更难;-)

时间:2012-08-16 21:11:30

标签: excel excel-formula

这可能很容易解决,但我现在已经摆弄了一段时间,似乎无法解决它。

A持有市场回报,列B返回某个股票。我想计算超额市场回报:股票表现好多少多于市场?在C列中,我手动计算了数值:

  .      A       B       C
 ---------------------------
 1   -2.22    0.17    2.39
 2   -2.99    0.57    3.56     both the market as the stock have lost, but the
 3  -11.68   -0.40   11.28 <-- stock has lost 11.28 less than the market has
 4    6.16    0.06   -6.10 <-- compared to the market, the stock underperformed
 5    0.94   -0.22   -1.16      by 6.10
 6    7.45    0.17   -7.28
 7   -1.96   -0.07    1.89

您不能简单地从A1中提取B1,反之亦然。我糊涂了;谁不知道在C1;C7中使用什么公式来获得正确答案?

1 个答案:

答案 0 :(得分:5)

以下内容应该有效:

=B1-A1