Sum Cells picking only numeric values and ignoring text

queckey

New Member
Joined
Jun 27, 2019
Messages
4
i need help how i can sum up this cell

Type
SP: 90
DC: 20
PC: 22
(TOTALSUM)

<colgroup><col width="64" style="width:48pt"> </colgroup><tbody>
</tbody>


Thanks.
 

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop
Re: sum number with text in same cell

Try this:

=SUMPRODUCT(--(MID(A2:A4,FIND(":",A2:A4)+1,99)))
 
Upvote 0
Re: sum number with text in same cell

@queckey
Please do not post the same question multiple times. All clarifications, follow-ups, and bumps should be posted back to the original thread. (rule 12 here: Forum Rules).
I have merged both threads
 
Upvote 0
Re: sum number with text in same cell

hi steve,
thanks for your help, i tried with this formula, it came out as #value error.
I need to sum out all the numbers and ignore the text: 90+20+22

Thanks
 
Upvote 0
Re: sum number with text in same cell

It works, but i found out the error is caused by the some of the cells have 0 as for the value

for example :



Type
SP: 90
DC: 20
0
(TOTALSUM)

<tbody>
</tbody>

Thank you.
****** id="cke_pastebin" style="position: absolute; top: 0px; width: 1px; height: 1px; overflow: hidden; left: -1000px;">
Type
SP: 90
DC: 20
PC: 22
(TOTALSUM)

<tbody>
</tbody>
</body>
 
Upvote 0

Forum statistics

Threads
1,214,832
Messages
6,121,849
Members
449,051
Latest member
excelquestion515

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