Sum cells that have both alpha and numbers
Assuming the number is *always* preceded by a space character and there is
*always* just a single space character.
Try this array formula** :
=SUM(IF(ISNUMBER(-RIGHT(A1:A4)),--MID(A1:A4,FIND(" ",A1:A4)+1,5)))
** array formulas need to be entered using the key combination of
CTRL,SHIFT,ENTER (not just ENTER). Hold down both the CTRL key and the SHIFT
key then hit ENTER.
--
Biff
Microsoft Excel MVP
"Bluthjen" wrote in message
...
I need to know how to add up the numbers in a cell that has both alpha and
numbers.
example
english 36
PE 44
Math 16
History 65
I need to add the number on the bottom but keep it in the same column
|