Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
Split cell content
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? |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
Split cell content
If the part id ALWAYS starts with K-, then:
=MID(A1,3,256) will remove the first two characters. -- Gary''s Student - gsnu201001 "PK" wrote: 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? |
#3
Posted to microsoft.public.excel.misc
|
|||
|
|||
Split cell content
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 "PK" wrote: 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? |
#4
Posted to microsoft.public.excel.misc
|
|||
|
|||
Split cell content
....and if the P/N format is the same along the range - you may try this:
=RIGHT(A1,10) Micky "PK" wrote: 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? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Excel 2003 - Split Content of Cell w/Text Separator (Return) | Excel Worksheet Functions | |||
copy comment content to cell content as data not as comment | Excel Discussion (Misc queries) | |||
How to split Cell content into two resulting cells | Excel Worksheet Functions | |||
Split One Work book into several based on content | Excel Worksheet Functions | |||
Split cell values based on content | Excel Worksheet Functions |