ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Function Help... (https://www.excelbanter.com/excel-discussion-misc-queries/71380-function-help.html)

RH

Function Help...
 
This hopefully is an easy one...

I have a long list of data in one column; each listing starts with a prefix
that I need to remove. For example 1x4r/NAME -- I need to keep only the
"Name" -- is there a way that I can remove either the first X characters and
keep the remaining, or possibly remove everything after (and including) the
/? The actual names are not fixed in length. Thanks in advance.


Philip Reece-Heal

Function Help...
 
if your data is in column A, then in next column (column B) type
=RIGHT(A1,FIND("/",A1))

Regards
Philip
"RH" wrote in message
...
This hopefully is an easy one...

I have a long list of data in one column; each listing starts with a
prefix
that I need to remove. For example 1x4r/NAME -- I need to keep only the
"Name" -- is there a way that I can remove either the first X characters
and
keep the remaining, or possibly remove everything after (and including)
the
/? The actual names are not fixed in length. Thanks in advance.




JE McGimpsey

Function Help...
 
One way:

In an adjacent column:

=MID(A1,FIND("/",A1)+1,32000)

copy down as far as necessary. Copy the new column, Paste over the
original column using Edit/Paste Special/Values.

In article ,
"RH" wrote:

This hopefully is an easy one...

I have a long list of data in one column; each listing starts with a prefix
that I need to remove. For example 1x4r/NAME -- I need to keep only the
"Name" -- is there a way that I can remove either the first X characters and
keep the remaining, or possibly remove everything after (and including) the
/? The actual names are not fixed in length. Thanks in advance.


pinmaster

Function Help...
 
Try this:

Select your data, next go to Data/Text to columns, select "Delimited" and
hit NEXT, select "Other" and type a / in the box, hit NEXT then select "Do
not import column(Skip)" and hit "Finish"

HTH
Jean-Guy

"RH" wrote:

This hopefully is an easy one...

I have a long list of data in one column; each listing starts with a prefix
that I need to remove. For example 1x4r/NAME -- I need to keep only the
"Name" -- is there a way that I can remove either the first X characters and
keep the remaining, or possibly remove everything after (and including) the
/? The actual names are not fixed in length. Thanks in advance.



All times are GMT +1. The time now is 07:09 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com