Removing Text from numer field

D

Dan

I have a text file that I imported into Excel. The length
for the Amount field sometimes ends w/ a character. Is
there a formula to remove text from a cell?

Dan
 
R

Ron Rosenfeld

I have a text file that I imported into Excel. The length
for the Amount field sometimes ends w/ a character. Is
there a formula to remove text from a cell?

Dan

If it only ends with a single text character, then:

=IF(ISERROR(-A1),--LEFT(A1,LEN(A1)-1),A1)

should work.


--ron
 

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