Adding cells with numbers and text

E

EddieZ

I have a series of cells with mileage such as "1.02 mi".
I'd like to add the mileages without having to delete
the "mi". Is that possible?

Thank You!

EZ
 
T

tjtjjtjt

This seems to do what you are asking, provided there is a space between the
end of the number and the beginning of the text.
=SUM(LEFT(A1,FIND(" ",A1,1)))

tj
 
E

EddieZ

Perfect. Thank You!

EZ
-----Original Message-----
This seems to do what you are asking, provided there is a space between the
end of the number and the beginning of the text.
=SUM(LEFT(A1,FIND(" ",A1,1)))

tj


.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top