Welcome to Software Development on Codidact!
Will you help us build our independent community of developers helping developers? We're small and trying to grow. We welcome questions about all aspects of software development, from design to code to QA and more. Got questions? Got answers? Got code you'd like someone to review? Please join us.
Post History
LEFT returns a text value, so it's working as expected. You might put the LEFT function inside VALUE function to convert the value returned by LEFT into a number. This applies to other spreadsheet ...
Answer
#3: Post edited
LEFT returns a text value, so it's working as expected. You might put the LEFT function inside VALUE function to convert the value returned by LEFT into a number. This applies to other spreadsheet like Google Sheets.- #### References
- - [Documentation/How Tos/Calc: LEFT function](https://wiki.openoffice.org/wiki/Documentation/How_Tos/Calc:_LEFT_function)
- - [Documentation/How Tos/Calc: VALUE function](https://wiki.openoffice.org/wiki/Documentation/How_Tos/Calc:_VALUE_function)
- #### Notes
Originally posted in Super User as an answer to the question that inspired this question, [few moments ago](https://superuser.com/a/1790444/152004).
- `LEFT` returns a text value, so it's working as expected. You might put the `LEFT` function inside `VALUE` function to convert the value returned by `LEFT` into a number. This applies to other spreadsheet apps like Google Sheets.
- NOTES:
- 1. Countries that use Euros as their local currency use a dot as a thousand separator and commas as a decimal separator. The above assumes that the spreadsheet is set to a country that uses Euros as currency.
- 2. If your spreadsheet is set to use separators the other way, then use `SUBSTITUTE` to replace the comma with a dot.
- #### References
- - [Documentation/How Tos/Calc: LEFT function](https://wiki.openoffice.org/wiki/Documentation/How_Tos/Calc:_LEFT_function)
- - [Documentation/How Tos/Calc: SUBSTITUTE function](https://wiki.openoffice.org/wiki/Documentation/How_Tos/Calc:_SUBSTITUTE_function)
- - [Documentation/How Tos/Calc: VALUE function](https://wiki.openoffice.org/wiki/Documentation/How_Tos/Calc:_VALUE_function)
- #### Notes
- Based on my answer posted in Super User to the question that inspired this question [a few moments ago](https://superuser.com/a/1790444/152004).
#2: Post edited
- LEFT returns a text value, so it's working as expected. You might put the LEFT function inside VALUE function to convert the value returned by LEFT into a number. This applies to other spreadsheet like Google Sheets.
- #### References
- - [Documentation/How Tos/Calc: LEFT function](https://wiki.openoffice.org/wiki/Documentation/How_Tos/Calc:_LEFT_function)
- - [Documentation/How Tos/Calc: VALUE function](https://wiki.openoffice.org/wiki/Documentation/How_Tos/Calc:_VALUE_function)
- #### Notes
Originally posted in Super User, [few moments ago](https://superuser.com/a/1790444/152004).
- LEFT returns a text value, so it's working as expected. You might put the LEFT function inside VALUE function to convert the value returned by LEFT into a number. This applies to other spreadsheet like Google Sheets.
- #### References
- - [Documentation/How Tos/Calc: LEFT function](https://wiki.openoffice.org/wiki/Documentation/How_Tos/Calc:_LEFT_function)
- - [Documentation/How Tos/Calc: VALUE function](https://wiki.openoffice.org/wiki/Documentation/How_Tos/Calc:_VALUE_function)
- #### Notes
- Originally posted in Super User as an answer to the question that inspired this question, [few moments ago](https://superuser.com/a/1790444/152004).
#1: Initial revision
LEFT returns a text value, so it's working as expected. You might put the LEFT function inside VALUE function to convert the value returned by LEFT into a number. This applies to other spreadsheet like Google Sheets. #### References - [Documentation/How Tos/Calc: LEFT function](https://wiki.openoffice.org/wiki/Documentation/How_Tos/Calc:_LEFT_function) - [Documentation/How Tos/Calc: VALUE function](https://wiki.openoffice.org/wiki/Documentation/How_Tos/Calc:_VALUE_function) #### Notes Originally posted in Super User, [few moments ago](https://superuser.com/a/1790444/152004).