Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
leo
 
Posts: n/a
Default remove last character in a column of part numbers if a "V"

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?
  #2   Report Post  
Posted to microsoft.public.excel.misc
CLR
 
Posts: n/a
Default remove last character in a column of part numbers if a "V"

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


"leo" wrote:

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?

  #3   Report Post  
Posted to microsoft.public.excel.misc
SteveG
 
Posts: n/a
Default remove last character in a column of part numbers if a "V"


Leo,

Try this.

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

HTH

Steve


--
SteveG
------------------------------------------------------------------------
SteveG's Profile: http://www.excelforum.com/member.php...fo&userid=7571
View this thread: http://www.excelforum.com/showthread...hreadid=502521

  #4   Report Post  
Posted to microsoft.public.excel.misc
Gary Brown
 
Posts: n/a
Default remove last character in a column of part numbers if a "V"


If the data is in cell A1, enter into B1 the following formula:-

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


--
Gary Brown
------------------------------------------------------------------------
Gary Brown's Profile: http://www.excelforum.com/member.php...o&userid=17084
View this thread: http://www.excelforum.com/showthread...hreadid=502521

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Need to Improve Code Copying/Pasting Between Workbooks David Excel Discussion (Misc queries) 1 January 6th 06 03:56 AM
Sort Excel Column on Fifth Character Dolores Excel Worksheet Functions 2 December 27th 05 10:59 PM
Counting Unique Part Numbers In A Range BigH Excel Worksheet Functions 2 December 9th 05 07:09 PM
Return Count for LAST NonBlank Cell in each Row Sam via OfficeKB.com Excel Worksheet Functions 12 April 17th 05 10:36 PM
Copy a column in worksheet with a character change photowiz Excel Worksheet Functions 1 February 5th 05 03:35 PM


All times are GMT +1. The time now is 04:17 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"