Reputation: 1616
How is it possible to display a formula in Libreoffice by a simple change of the formatting or the cell settings of the desired cells?
I'd like to have a table which displays the results and another which displays the formulas next to each other. (at the same time)
The solution Options->LibreofficeCalc->View->Formula doesn't work as the whole document is affected. Also in the print-preview it falls back to the results. (I wish to print it later)
The plugin Display Formula and Result (Value) simultaneously does display them both at the same time but I'm not happy as it seems to work under limited conditions only (Some working formulas are just displayed as ### and if I use it on the whole table it formats cell by cell without the ability to undo it. Having a 5x5 table will cause 25 Ctrl+Z if it's not working as supposed)
Upvotes: 2
Views: 992
Reputation: 13790
If you specifically require formatting, then the Display Formula and Result (Value) simultaneously
add-on seems to work as desired.
Formulas are displayed as ### if the cells are too small. When this occurs, resize the columns and the full formula will appear.
As to undoing quickly, there are a number of methods:
CFClear
macro from https://forum.openoffice.org/en/forum/viewtopic.php?f=20&t=62169.To me, the biggest downside of the add-on is that it can potentially double the file size, and it clutters up conditional formatting and cell styles. But if formatting some cells as a formula is a priority, then it seems like a good solution.
Upvotes: 2