Split cell content

  • Thread starter Thread starter PK
  • Start date Start date
P

PK

I have a large spreadsheet which contains a list of equipment, the equipment
format is K-XX-ABCD-12, I want to remove the prefix K- from the cell, the
issue I have is within the 2nd part of the equipment ID there are some that
have XK-, so I can't just do a find & replace K-

Has anyone got any suggestions?
 
If the part id ALWAYS starts with K-, then:

=MID(A1,3,256) will remove the first two characters.
 
To avoid the use of VBA Macro - try this:
Assuming the P/N is in Column "A" from cell A1,
in B1 type: =REPLACE(A1,1,2,"") and copy down.
Micky
 
....and if the P/N format is the same along the range - you may try this:
=RIGHT(A1,10)
Micky
 
Back
Top