sum numbers ignoring percentage

BORUCH

Well-known Member
Joined
Mar 1, 2016
Messages
528
Office Version
  1. 365
Platform
  1. Windows
hi

is there a formula that will calculate a sum of just the numbers and ignore the percentage symbol for ex

i have numbers in cells that looks like this

4%
10.00%
5%
8%

i would like to just sum up all the numbers and ignore the percentage symbol
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
As long as all of the numbers are percentages you just need to sum the range then multiply it by 100 and change the cell format to number.

=SUM(A2:A5)*100

If you have a range of numbers of which some are not percentages then you will not be able to identify which are which.
 
Upvote 0
As long as all of the numbers are percentages you just need to sum the range then multiply it by 100 and change the cell format to number.

=SUM(A2:A5)*100

If you have a range of numbers of which some are not percentages then you will not be able to identify which are which.

yes the problem is i have both types with percentage and without percentage how can i solve this
 
Upvote 0
The CSE formula = SUMPRODUCT(IF(A1:A20<1,100,1)*(A1:A20)) should return what you want (This needs to be entered with Ctrl-Shift-Enter)
 
Upvote 0
=SUM(IF(A1:A8<1,A1:A8*100,A1:A8))

With Ctrl+Shift+Enter
 
Upvote 0
Looking at ways to make it work if there are percentages greater than 100 or other values less than 1, I'm sure that there must be an easier way to pass a range larger than one cell to the CELL function, but this was the only thing that I could get to work.

I'm certainly not calling this a solution, this was more to see if it could be done.

Book5
A
112
24%
35%
435
5125.67%
610%
70.25
865
9256.92
Sheet8
Cell Formulas
RangeFormula
A9A9=SUMPRODUCT(IF(LEFT(CELL("format",INDIRECT("A"&N(IF({1},ROW(A1:A8))))))="P",100,1)*A1:A8)
Press CTRL+SHIFT+ENTER to enter array formulas surrounded with curly braces.
 
Upvote 0

Forum statistics

Threads
1,214,861
Messages
6,121,971
Members
449,059
Latest member
oculus

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