The CLEANDIGITS() function is designed to clean text from all characters except numbers.
=CLEANDIGITS(Text)
The CLEANDIGITS() function is easy to use. You just need to enter any text and Excel will automatically clean it of all characters except numbers:
=CLEANDIGITS(Text)
We will have the following result:
This example uses the following values:
You can use the CLEANDIGITS() function by installing a free extension YouLibreCalc.xlam .
After that, this function will be available in all files that will be opened in Excel.