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

Pr0*_*0no 0 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
Run Code Online (Sandbox Code Playgroud)

你不能只是单纯地提取A1B1,反之亦然.我糊涂了; 谁不是,知道用什么公式C1;C7来得到正确的答案?

Mic*_*rny 5

以下应该有效:

=B1-A1
Run Code Online (Sandbox Code Playgroud)

  • 正如预期的那样,这很痛苦.我要睡觉了...这简直令人尴尬. (2认同)