SUM without text

ml1990ml

New Member
Joined
Jan 14, 2014
Messages
9
Hello,

I would like to sum numbers from each column for example B18:B28 in cell at the bottom. I have a problem with number 240, otherwise i would use RIGHT;2. I use excel 2010, windows 7. Please for suggestions.

Example:
tmpp-60igra-240
igra-240thpi-30
ths-60thpa-60
dpa-30thpar-30
ths-60
=?=?

<tbody>
</tbody>
 

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.
1. Enter following in A6, then press SHIFT+CTRL+ENTER (array formula)

=SUM(IF(A1:A5<>"",MID(A1:A5,FIND("-",A1:A5)+1,999))-0)
2. then drag it to B6(copy)



Hello,

I would like to sum numbers from each column for example B18:B28 in cell at the bottom. I have a problem with number 240, otherwise i would use RIGHT;2. I use excel 2010, windows 7. Please for suggestions.

Example:
tmpp-60
igra-240
igra-240
thpi-30
ths-60
thpa-60
dpa-30
thpar-30
ths-60
=?
=?

<tbody>
</tbody>
 
Upvote 0
Hi and welcome to the forum,

Perhaps try something like this (you need to press CTRL-SHIFT-ENTER rather than just ENTER as it is an array formula):

Code:
=SUM(
    IFERROR(
      --REPLACE(B18:B28, 1, FIND("-", B18:B28), ""),
      0))
 
Upvote 0

Forum statistics

Threads
1,214,819
Messages
6,121,727
Members
449,049
Latest member
MiguekHeka

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top