

Let me break this formula and try and explain how it works:

In case there are no numbers in the text string, this formula would return a blank (empty string). This is an array formula, so you need to use ‘ Control + Shift + Enter‘ instead of using Enter. Suppose you have the dataset as shown below and you want to extract the numbers from the strings in each cell:īelow is the formula that will give you numeric part from a string in Excel. For example, if the text is “The price of 10 tickets is USD 200”, it will give you 10200 as the result. Note that the TEXTJOIN formula covered in this section would give you all the numeric characters together.
