Is this possible? It seems like there would be an easy way to do this, but everything I find creates a whole sheet of formulas. Let's say A1:A5 have cells with various values with text typed next to those numeric values for description purposes. Can you ignore that text and simply sum the numerals present in the cell?
Getting the "Sum" function to ignore text in the cell
Apache OpenOffice Community Forum - How to ignore text in cell, and cal only numbers - (View topic)
How do I sum cells and ignore text
Getting the "Sum" function to ignore text in the cell
A formula such as =SUM(B2:B50) will automatically ignore text values in the sum range. No need to do anything special.
A formula such as =B2+B3+B4+B5 will return an error if one or more of the cells that the formula refers to contain text values. The same goes for a formula such as =SUM(B2+B3+B4+B5).
Have you tried this?best wishes
If there is always only 1 digit and it is always on the end:
=SUM(IFERROR(--RIGHT(A1:A4,1),0))
Some Older versions will require the use of Ctrl-Shift-Enter instead of Enter when confirming the formula.
Right pulls the right most character and the -- tries to turn it from a string to a number, if it cannot become a number it will error and the IFERROR will capture that and make it 0. Then we sum the whole array.

You need a VBA function for summing up all numbers from a range of cells, even for the case that there are several numbers in the same cell.
The function can look like:
Function SumNumbers(rngS As Range, Optional strDelim As String = " ") As Double
Dim xNums As Variant, lngNum As Long
For Each elem In rngS
xNums = Split(elem, strDelim)
For lngNum = LBound(xNums) To UBound(xNums) Step 1
SumNumbers = SumNumbers + Val(xNums(lngNum))
Next lngNum
Next elem
End Function
And may be called by a formula such as =SumNumbers(A5:B5):

To create the function, save the spreadsheet as an .xlsm file,
type Alt+F11 to open the VBA editor,
right-click "ThisWorkbook" and select Insert > Module, and
copy-paste the above text inside the editor.
Press Ctrl+S to save the spreadsheet, and then
Alt+Q to close the VBA editor and return to Excel.
Enter below formula as an array formula (CTRL+SHIFT+ENTER) in cell B2:
=SUM(--TRIM(IFERROR(LEFT(A2:A10,FIND("d",A2:A10)-1),0)))
Presumed that the alphanumerics in each cell of column A start with a number and are followed by the text "day"/"days" with or without a preceding space (ie. there could be a space or not between the number and text). Note: the formula is to be entered as an array formula by pressing the 3 keys simultaneously (Ctrl, Shift & Enter). Please update the range as required.
Regards,
Amit Tandon
www.globaliconnect.com
Hi,
See the snip below. The ARRAY formula in A3 is this. see below for how to enter an ARRAY formula.
=SUM(--LEFT(A1:D1,FIND(" ",A1:D1)))
This is an array formula which must be entered by pressing CTRL+Shift+Enter
and not just Enter. If you do it correctly then Excel will put curly brackets
around the formula {}. You can't type these yourself. If you edit the formula
you must enter it again with CTRL+Shift+Enter.
Hi, I apologise if this has been asked already but I just can't find a solution..
I am attempting to sum a column of cells containing text and numbers into a running total type format, without the text following into the running total cell as this is the problem I'm running into now with custom formatting, is it possible to do?
e.g. I want cell B1, which contains 'Extended 34ch' to add 34 to cell C1 which contains '103' and produce the result in C2, continuing on back and forth down the sometimes very lengthy list. I don't want the "result" to contain the text, just a number.
The B1 cell itself is selection from a drop down validation list if that impacts the process at all.
Thank you :)
I thought this would be a really simple thing - youtube tutorials show adding the text to a special format window for summation, but my cells are all going to continue unique text, I just want to be able to bypass the text when using =SUM to get the total value for the numbers, what am I missing?
So if my cell is, car wash = $30.
And the next is, groceries = $60, how can I sum that column, bypassing the text?