Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 57
Default Exclude all but last text to the right

Hello,

I have a column that lists project, sub-project, sub-project, area and would
like the cells in this column to display only the area for a report I am
creating.

For example, cells in the column contain:
/XYZ/ABCD/New Requests
/XYZ/ABCD/Problems
/XYZ/ABCD/Features

But I only want the information beyond the last slash, for example:
New Requests
Problems
Features

Is there a function that will do this?

Thank you,
Tom
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,886
Default Exclude all but last text to the right

Hi Tommy

Try
=MID(A1,FIND(" ",SUBSTITUTE(A1,"/"," ",3))+1,255)
and copy down
--
Regards

Roger Govier


"tommcbrny" wrote in message
...
Hello,

I have a column that lists project, sub-project, sub-project, area and
would
like the cells in this column to display only the area for a report I
am
creating.

For example, cells in the column contain:
/XYZ/ABCD/New Requests
/XYZ/ABCD/Problems
/XYZ/ABCD/Features

But I only want the information beyond the last slash, for example:
New Requests
Problems
Features

Is there a function that will do this?

Thank you,
Tom



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 57
Default Exclude all but last text to the right

Hi Roger,

That almost worked. My examples didn't include spaces, however, and my real
data does. When I enter the function you provided, it eliminates only the
text befoe the first space. I tried playing with the function to account for
the spaces, but I'm only making it worse. Here is a more accurate
representation of the actual text in the column:
/XY - Z/AB - CD/New Requests
/XY - Z/AB - CD/Problems
/XY - Z/AB - CD/Features

So, space dash space between the "Y" and "Z", space dash space again between
the "B" and "C".

Can the function be adjusted to account for them?

Thank you again,
Tom
"Roger Govier" wrote:

Hi Tommy

Try
=MID(A1,FIND(" ",SUBSTITUTE(A1,"/"," ",3))+1,255)
and copy down
--
Regards

Roger Govier


"tommcbrny" wrote in message
...
Hello,

I have a column that lists project, sub-project, sub-project, area and
would
like the cells in this column to display only the area for a report I
am
creating.

For example, cells in the column contain:
/XYZ/ABCD/New Requests
/XYZ/ABCD/Problems
/XYZ/ABCD/Features

But I only want the information beyond the last slash, for example:
New Requests
Problems
Features

Is there a function that will do this?

Thank you,
Tom




  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,886
Default Exclude all but last text to the right

Hi Tommy

AS your data didn't have spaces, I substitutes the third slash with a
space then searched for the space - hence the results you got.

Let's use the caret character " ^ " instead of space, then you should be
OK
=MID(A1,FIND(" ",SUBSTITUTE(A1,"/","^",3))+1,255)


--
Regards

Roger Govier


"tommcbrny" wrote in message
...
Hi Roger,

That almost worked. My examples didn't include spaces, however, and
my real
data does. When I enter the function you provided, it eliminates only
the
text befoe the first space. I tried playing with the function to
account for
the spaces, but I'm only making it worse. Here is a more accurate
representation of the actual text in the column:
/XY - Z/AB - CD/New Requests
/XY - Z/AB - CD/Problems
/XY - Z/AB - CD/Features

So, space dash space between the "Y" and "Z", space dash space again
between
the "B" and "C".

Can the function be adjusted to account for them?

Thank you again,
Tom
"Roger Govier" wrote:

Hi Tommy

Try
=MID(A1,FIND(" ",SUBSTITUTE(A1,"/"," ",3))+1,255)
and copy down
--
Regards

Roger Govier


"tommcbrny" wrote in message
...
Hello,

I have a column that lists project, sub-project, sub-project, area
and
would
like the cells in this column to display only the area for a report
I
am
creating.

For example, cells in the column contain:
/XYZ/ABCD/New Requests
/XYZ/ABCD/Problems
/XYZ/ABCD/Features

But I only want the information beyond the last slash, for example:
New Requests
Problems
Features

Is there a function that will do this?

Thank you,
Tom






  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22,906
Default Exclude all but last text to the right

I would copy the column then DataText to ColumnsDelimited by "/"

Then in third step pick the items to skip(do not import) and you would be left
with what you want.


Gord Dibben MS Excel MVP

On Fri, 15 Dec 2006 08:23:00 -0800, tommcbrny
wrote:

Hello,

I have a column that lists project, sub-project, sub-project, area and would
like the cells in this column to display only the area for a report I am
creating.

For example, cells in the column contain:
/XYZ/ABCD/New Requests
/XYZ/ABCD/Problems
/XYZ/ABCD/Features

But I only want the information beyond the last slash, for example:
New Requests
Problems
Features

Is there a function that will do this?

Thank you,
Tom


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
Text entries behaving like numbers jkiser Excel Discussion (Misc queries) 12 August 30th 06 09:29 PM
Aligning Wraped Text to the bottom of a cell Viking Excel Discussion (Misc queries) 2 July 7th 06 09:33 PM
Conversion to Text file format error Rob Excel Discussion (Misc queries) 1 June 26th 06 10:33 AM
How change dimensions of data label text box in pie chart? Gouden Willem Charts and Charting in Excel 3 March 7th 06 12:11 PM
Read Text File into Excel Using VBA Willie T Excel Discussion (Misc queries) 13 January 8th 05 12:37 AM


All times are GMT +1. The time now is 06:38 AM.

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"