15.5 Parse and extract numbers
Below is a table with a column of data that is a mixture of characters and numbers. The numbers appear in multiple places irregularly:
Now we want to extract all the numbers from each row and put them in column B. The expected result is as follows:
Enter in cell B1:
=spl("=?1.words@d().concat()",A1)
Then drag B1 down to every relevant row
Use the words@d to split the string in each row to extract all numbers to form a sequence, and then use the concat to concatenate every number together.
https://c.scudata.com/article/1651916536524
https://c.scudata.com/article/1659061408754
https://c.scudata.com/article/1659154227982
SPL Official Website 👉 https://www.esproc.com
SPL Feedback and Help 👉 https://www.reddit.com/r/esProc_Desktop/
SPL Learning Material 👉 https://c.esproc.com
Discord 👉 https://discord.gg/2bkGwqTj
Youtube 👉 https://www.youtube.com/@esProcDesktop
Linkedin Group 👉 https://www.linkedin.com/groups/14419406/