View Single Post
  #13   Report Post  
Posted to microsoft.public.excel.worksheet.functions
confused!! confused!! is offline
external usenet poster
 
Posts: 20
Default formula for separating parts of cells

that worked wonderfully.

One more time how do I extract the first and second word only?

"Ron Rosenfeld" wrote:

On Wed, 9 Sep 2009 05:42:22 -0700, confused!!
wrote:

currently in cell E5 = MACPAC VER 10 PGMR *Keep Profile* Clarksville

how do i extract the last word in this cell?


Try this:

=TRIM(RIGHT(SUBSTITUTE(E5," ",REPT(" ",99)),99))

--ron