From “LibreOffice 7.4 Help,” module “Calc” subsection “Number Format Codes,” item 4 states “4. Fourth section applies if the content is not a value, but some text. Content is represented by an at sign (@).” It is to be noted that “Content,” not “Formula” is referred.
From a subsection of “Number Format Codes” titled “Text and Text,” it is stated “To include text in a number format that is applied to a cell that might contain text, enclose the text by double quotation marks (” "), and then add an at sign (@). For example, enter "Total for “@ to display “Total for December”.”
There is nothing in subsection “Text and Text,” or the whole section “Number Format Codes,” discussion that states to the effect that using the @ format will cause formulas to be displayed as text instead of results. The whole section “Number Format Codes” refers only to number and text result formats. It does not discuss FORMULA formats. There is no warning that preformatted a cell with @ will cause the display of the FORMULA instead of RESULTS of the FORMULA! Thus, according to LibreOffice, using the @ sign is a valid formatting code.
I begin my spreadsheets with a template in which all cells are formatted “General.” Subsequently, and as needed, I use many number (-#0.0) and text (@) formats in cells. I work in my spreadsheets according to LibreOffice 7.4 Help “Number Format Codes” information.
Attached is “Example.ods.” It was created in LibreOffice Calc with all cells being preformatted “General.” Then, after entering the formulas, I changed formatting as desired and in accord with the “LibreOffice 7.4 Help” instruction files.
To replicate my problem, select the equal sign at the beginning of the formula in cell F16 and type an equal sign. If, as in my versions of LibreOffice Calc, the cell will immediately display the formula instead of the result. There is no way, short of retyping the formula, that will restore the result instead of formula display.
Notes:
I really do not understand how Ask LibreOffice forum web page works. I am attempting now to determine how to login. If I have posted this reply in an incorrect manner, I apologize.
LeroyG & schiavinatto: Experience indicates it does not matter whether the file was created in LibreOffice or in Excel.
EarnestAl: There is no connection to macros involved!
Last, is there a way I can prevent responses to this post being sent to my email. I receive html or other coding symbols mixed in with the message. It’s garbled, and for all practical purposes, unreadable text.
Version information:
Version: 7.4.7.2 / LibreOffice Community
Build ID: 40(Build:2)
CPU threads: 2; OS: Linux 6.1; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Debian package version: 4:7.4.7-1+deb12u10
Calc: threaded
Example.xls (10.5 KB)