0

I have simple yet specific thing i would like to do in Google spreadsheets. Basically it's currency conversion, but instead of usual solution (one way conversion) I need something more complex - both way conversion.

What i have is two cells: http://i.stack.imgur.com/s1eLK.png

What I need is that conversion works in both ways.

  • When I enter dollars (B2), eur (A2) are converted & shown automatically (by my own defined conversation rate)
  • When I enter eur (A2), dollars (B2) are converted & shown automatically (by my own defined conversion rate)

It works similar like this converter https://www.google.lv/?gws_rd=cr,ssl&ei=S3GpVJXKLYHmywOzsIHgDQ#q=dollar+to+eur only. I don't need to choose between multiple currencies, only $ and €.

Is there any script that I can use or am I missing some very easy solution here? Is it even possible to do in Google excel? Thank you guys!

4

1 回答 1

0

克拉夫斯,

你不能这样做。当您有一个公式时,假设在“B1”中,基于一个单元格,假设“A1”,它会添加一个监视单元格“A1”的更改事件。

这是更改单元格 A1 中的值时自动计算的方式。

现在,如果您再次在单元格“A1”中输入一个公式,该公式本身具有单元格“B1”的引用,而该单元格“B1”的引用已经在其公式中引用了单元格“A1” - 它会产生一个循环引用问题,因此会抛出一个错误.

您需要不同的单元格来产生不同的输出而不是相互引用。

希望有帮助!

于 2015-01-04T19:11:58.610 回答