The CLEANDIGITS() function is designed to clean text from all characters except digits.
=CLEANDIGITS(Text)
The CLEANDIGITS() function is simple to use. You just need to enter any text and Excel (Calc) will automatically clean it from all characters except digits:
=CLEANDIGITS(Text)
We will get the following result:
The following values are used in this example:
You can use the CLEANDIGITS() function by installing the YLC Utilities extension.
After this, this function will be available in all files that will be opened in Excel (LibreOffice Calc).