How to save xls{,x} as csv file so that formulas show as text?
I just tested it and it's a lot easier than I thought to get output like the 2nd case you specified.
Do the following:
- Input all your data/formulas
- Select the
Show Formulas
button (viaFormulas
>Formula Auditing
in Excel 2007) - Save As filetype
CSV(MS-DOS)
- Open resultant file in Notepad to verify.
I'll play around with it for a bit more to see if I can get it to pare down the formulas like you mentioned in case 3.
The same applies for LibreOffice Calc (Version: 6.0.6.2):
- Show formulas (
Ctrl+`
), - Select "Save as" (
Shift+Ctrl+S
), - Select "Text CSV (.csv)" from the list
- Tick "Save cell formulas instead of calculated values"