remove last character in a column of part numbers if a "V"

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

i have a column of different length part numbers and want to remove the last
letter if it is a "v" only..how do i do that?
 
Assuming data is in column A, put this in a helper column and copy
down.........

=IF(RIGHT(A1,1)="v",LEFT(A1,LEN(A1)-1),A1)

then Copy > PasteSpecial > Values on that helper column and then replace
your original column A with it......


Vaya con Dios,
Chuck, CABGx3
 
If the data is in cell A1, enter into B1 the following formula:-

=IF(RIGHT(A1,1)="v",LEFT(A1,LEN(A1)-1),A1)
 

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

Back
Top