יום שבת, 12 בנובמבר 2022

Excel 365 - Four Methods to extract only Digits from a String

 Excel 365 - Four Methods to extract only Digits from a String

 

There are, of course, numerous ways to extract only digits from a string of characters.
Today I’m going to show only four and only in Excel 365.

All methods use the SEQUENCE function, an indispensable function when “breaking” a string into its “atoms”.

The third one is using LAMBDA with the brand new REDUCE function.

 

Method 1 – using CONCAT



Method 2 – using TEXTJOIN





Method 3 – REDUCE with a LAMBDA




Method 4 – CONCAT with ISNUMBER


אין תגובות:

הוסף רשומת תגובה