How to evaluate a excel formula through XSSF event API

白昼怎懂夜的黑 提交于 2019-12-01 07:31:22

Generally the cached value will be written with the cell, so you can just read that (no need to evaluate)

Taking this formula cell as an example:

  <c r="B10">
    <f>SUM(B1:B9)</f>
    <v>4995</v>
  </c>

You read the f value to get the formula itself, or just read the v value to see what the evaluation of the formula was when excel last touched the file. No need to evaluate!

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!