#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 162
Default Trim characters

I have looked and tried different formulas on the web site but I am not
getting what I am looking for. All I need is all characters after "- ".
It's got to be simple but I am not finding it.

Any help is appreciated.

Ronbo
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,651
Default Trim characters

You didn't tell us what formulae you had tried and in what way they didn't
work.

Did you try =RIGHT(A1,LEN(A1)-FIND("-",A1)) ?
--
David Biddulph

"Ronbo" wrote in message
...
I have looked and tried different formulas on the web site but I am not
getting what I am looking for. All I need is all characters after "- ".
It's got to be simple but I am not finding it.

Any help is appreciated.

Ronbo



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 193
Default Trim characters

Thank you so much!! This worked great for me!! :) Terry

"David Biddulph" wrote:

You didn't tell us what formulae you had tried and in what way they didn't
work.

Did you try =RIGHT(A1,LEN(A1)-FIND("-",A1)) ?
--
David Biddulph

"Ronbo" wrote in message
...
I have looked and tried different formulas on the web site but I am not
getting what I am looking for. All I need is all characters after "- ".
It's got to be simple but I am not finding it.

Any help is appreciated.

Ronbo




  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 162
Default Trim characters

Never mind. I had it all the time but the cell format was only showing 4
characters.

Ronbo

"Ronbo" wrote:

I have looked and tried different formulas on the web site but I am not
getting what I am looking for. All I need is all characters after "- ".
It's got to be simple but I am not finding it.

Any help is appreciated.

Ronbo

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,510
Default Trim characters

Hi Ronbo,

Do I interpret your question correctly then assuming the string is in A1 try
the following:-

=MID(A1,FIND("- ",A1,1)+2,255)

--
Regards,

OssieMac


"Ronbo" wrote:

I have looked and tried different formulas on the web site but I am not
getting what I am looking for. All I need is all characters after "- ".
It's got to be simple but I am not finding it.

Any help is appreciated.

Ronbo



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 162
Default Trim characters

Thanks a lot. I did not get it to work as I stated, and your formula was
perfect. David's seemed to leave an initial space.

Thanks to all for the help.

Ronbo

"OssieMac" wrote:

Hi Ronbo,

Do I interpret your question correctly then assuming the string is in A1 try
the following:-

=MID(A1,FIND("- ",A1,1)+2,255)

--
Regards,

OssieMac


"Ronbo" wrote:

I have looked and tried different formulas on the web site but I am not
getting what I am looking for. All I need is all characters after "- ".
It's got to be simple but I am not finding it.

Any help is appreciated.

Ronbo

  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,651
Default Trim characters

Yes, sorry. I didn't spot the space in " ".
My formula would change to =RIGHT(A1,LEN(A1)-FIND("- ",A1)-1)
--
David Biddulph

"Ronbo" wrote in message
...
Thanks a lot. I did not get it to work as I stated, and your formula was
perfect. David's seemed to leave an initial space.

Thanks to all for the help.

Ronbo

"OssieMac" wrote:

Hi Ronbo,

Do I interpret your question correctly then assuming the string is in A1
try
the following:-

=MID(A1,FIND("- ",A1,1)+2,255)

--
Regards,

OssieMac


"Ronbo" wrote:

I have looked and tried different formulas on the web site but I am not
getting what I am looking for. All I need is all characters after "-
".
It's got to be simple but I am not finding it.

Any help is appreciated.

Ronbo



  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,934
Default Trim characters

Is there always a dash in the cell? If there is a dash in the cell, is it
always the only one? If there are more than one dash in the cell, which one
do you want the text after... the first or last one?

--
Rick (MVP - Excel)


"Ronbo" wrote in message
...
I have looked and tried different formulas on the web site but I am not
getting what I am looking for. All I need is all characters after "- ".
It's got to be simple but I am not finding it.

Any help is appreciated.

Ronbo


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
Trim Characters Other Than An Empty Space At The End Of A Cell K8_Dog Excel Worksheet Functions 5 April 19th 08 01:29 AM
Trim hidden characters? robotman Excel Worksheet Functions 3 October 20th 07 12:00 AM
How do you trim characters? Tommi Excel Worksheet Functions 6 January 29th 06 01:38 PM
In Excel find characters when multiple characters exist w/i a cel teacher-deburg Excel Worksheet Functions 1 December 5th 05 10:22 PM
trim a string by specific number of characters windyoldman Excel Discussion (Misc queries) 2 July 13th 05 01:53 PM


All times are GMT +1. The time now is 03:55 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"