Sum Cells with Numbers/Numbers & letters

Mattandy55

New Member
Joined
May 27, 2016
Messages
20
I have a range of cells A1: A20, I want to be able to sum that range, but some cells will be blank, some cells will only be a number and some cells will have a letter L at the end. I need to sum that range given all of those conditions. Any help on formula? I have tried multiple iterations that I have found online, but the only results I get are #Value.

Thanks in advance
 

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.
if it's only ever the L then the following should sum
=SUM(IFERROR(SUBSTITUTE(range,"L","")*1,0))
If there are other letters it will zero out the cell, so manually check a couple.
 
Upvote 0
Solution
if it's only ever the L then the following should sum
=SUM(IFERROR(SUBSTITUTE(range,"L","")*1,0))
If there are other letters it will zero out the cell, so manually check a couple.
Thank you so much for your help! This worked like charm, thank you!
 
Upvote 0

Forum statistics

Threads
1,224,828
Messages
6,181,210
Members
453,023
Latest member
alabaz

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