一次用整列中的计算值替换 LibreOffice 公式

use*_*478 7 excel libreoffice libreoffice-calc

我可以通过选择单元格,点击F2thenF9和,用计算值替换一个单元格中的公式Enter

当我想对列中的每个单元格执行此操作时,并且该列的高度 == N,那么重复此工作 N 次对我来说并不快乐。

这是一次对整个列执行此操作的方法吗?

示例输入:

    1
A   =CONCATENATE("something1","something2";)
B   =CONCATENATE("something3","something4";)
...
n   =CONCATENATE("somethingN","somethingN+1";)
Run Code Online (Sandbox Code Playgroud)

期望的输出:

    1
A   something1something2
B   something3something4
...
n   somethingNsomethingN+1
Run Code Online (Sandbox Code Playgroud)

run*_*el0 9

我知道它很旧,但仅供任何寻找正确答案的人使用:

Data > Calculate > Formula to Value 
Run Code Online (Sandbox Code Playgroud)

不需要剪贴板伏都教;)


PJT*_*ill 6

这个问题听起来似乎更适合 SuperUser.com。

根据https://forum.openoffice.org/en/forum/viewtopic.php?f=9&t=28242,您可以Copy将该列添加到clibboard,然后在选中和选中的情况下使用Edit/ 。然而,这个答案是从 2010 年 3 月开始的,我现在(2017 年 6 月,Libre Office 5.2)在对话中看不到。Paste SpecialFormulas ValuesValues

根据https://forum.openoffice.org/en/forum/viewtopic.php?f=9&t=44313(从 2011 年开始),您应该继续Numbers检查。

我在 LibreOffice 5.2 中使用Formulas uncheckedNumbers,Text Date/Time检查了它(毕竟,如果结果不是数字怎么办?)并且它在我的特定情况下工作。