I want to sum only the numbers in a column of cells that has numbers and text

abdulwahedism

New Member
Joined
Jun 10, 2020
Messages
3
Office Version
  1. 2016
Platform
  1. Windows
I have a column that I want to sum only the numbers and ignore the texts, I tried alot of formulas but doesn't work. The column looks like below:

189.01Naira
001.20Naira
021.01Naira
Etc
Kindly help me out please
 

Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney
Welcome to the MrExcel forums!

Is the number always 6 digits? This seems likely since you have preceding zeros. If so, try:

Book5
ABC
1189.01NairaSum
2001.20Naira211.22
3021.01Naira
Sheet5
Cell Formulas
RangeFormula
C2C2=SUMPRODUCT(LEFT(A1:A3,6)+0)


If not, we need a bit more info. Is the text on the end always "Naira"? Always 5 digits?
 
Upvote 0
The text always end with "Naira" while the number is always 3 or 4 digits such as:
0.00Naira
8.71Naira
6.66Naira
15.36Naira
27.87Naira
1.02Naira
28.93Naira
And so on

I really your quick reply
 
Upvote 0
In that case, try:

Book5
ABC
10.00NairaSum
28.71Naira88.55
36.66Naira
415.36Naira
527.87Naira
61.02Naira
728.93Naira
Sheet5
Cell Formulas
RangeFormula
C2C2=SUMPRODUCT(SUBSTITUTE("0"&A1:A10,"Naira","")+0)
 
Upvote 0

Forum statistics

Threads
1,214,833
Messages
6,121,862
Members
449,052
Latest member
Fuddy_Duddy

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