View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.misc
Ron Coderre
 
Posts: n/a
Default read characters starting from the right until a space is reached

And....another way for when there may be more than 1 space:

A1: (some text)
B1: =RIGHT(A1,MATCH("
",MID(A1,LEN(A1)+1-ROW(INDIRECT("1:"&(LEN(A1)))),1),0)-1)

Note: Commit that array formula by holding down [Ctrl]+[Shift] when you
press [enter]


Does that help?

***********
Regards,
Ron

XL2002, WinXP-Pro


"wolfpack95" wrote:


Is there a function to read values starting from the right of a cell and
pulling characters until I reach a space?

Two examples:
SGA3220R_IAOAKTREE (BTL-3) 1177 64089 - would return "64089"
SGA3321R_IAREDROAD (BTL-3) 1177 975 - would return "975"

I know I could do a Text to Columns with a space delimiter but was
hoping to find something easier. Thanks in advance for any help.


--
wolfpack95
------------------------------------------------------------------------
wolfpack95's Profile: http://www.excelforum.com/member.php...info&userid=93
View this thread: http://www.excelforum.com/showthread...hreadid=497953