Both ways worked perfectly, but in =MID(B2,2,SEARCH(" ",B2)-2) i had to put =MID(B2,1,SEARCH(" ",B2)-1) in order to give me full word.
Thank you both, very much for your help. :), excel-lent as always! 2011/3/24 Ms-Exl-Learner . <ms.exl.lear...@gmail.com> > Try this… > > > =IF(ISNUMBER(FIND(" ",TRIM(B2))),LEFT(TRIM(B2),FIND(" > ",TRIM(B2))),IF(LEN(TRIM(B2))<>0,B2,"")) > > ----------------------- > Ms.Exl.Learner > ----------------------- > > > On Thu, Mar 24, 2011 at 4:20 AM, Jorge Marques <leote.w...@gmail.com>wrote: > >> Hi guys, is there any way i can do to for example if a cell B2 has the >> following text "phillips LCD 32"" it returns philips to cell B1 but without >> extracting the character on the left, because if it gives me a OEM brand, i >> have to put the information corresponding by vendor and not brand. thx >> >> -- >> >> ---------------------------------------------------------------------------------- >> Some important links for excel users: >> 1. Follow us on TWITTER for tips tricks and links : >> http://twitter.com/exceldailytip >> 2. Join our LinkedIN group @ http://www.linkedin.com/groups?gid=1871310 >> 3. Excel tutorials at http://www.excel-macros.blogspot.com >> 4. Learn VBA Macros at http://www.quickvba.blogspot.com >> 5. Excel Tips and Tricks at http://exceldailytip.blogspot.com >> >> To post to this group, send email to excel-macros@googlegroups.com >> >> <><><><><><><><><><><><><><><><><><><><><><> >> Like our page on facebook , Just follow below link >> http://www.facebook.com/discussexcel >> > > > > -- > > -- > > ---------------------------------------------------------------------------------- > Some important links for excel users: > 1. Follow us on TWITTER for tips tricks and links : > http://twitter.com/exceldailytip > 2. Join our LinkedIN group @ http://www.linkedin.com/groups?gid=1871310 > 3. Excel tutorials at http://www.excel-macros.blogspot.com > 4. Learn VBA Macros at http://www.quickvba.blogspot.com > 5. Excel Tips and Tricks at http://exceldailytip.blogspot.com > > To post to this group, send email to excel-macros@googlegroups.com > > <><><><><><><><><><><><><><><><><><><><><><> > Like our page on facebook , Just follow below link > http://www.facebook.com/discussexcel > -- ---------------------------------------------------------------------------------- Some important links for excel users: 1. Follow us on TWITTER for tips tricks and links : http://twitter.com/exceldailytip 2. Join our LinkedIN group @ http://www.linkedin.com/groups?gid=1871310 3. Excel tutorials at http://www.excel-macros.blogspot.com 4. Learn VBA Macros at http://www.quickvba.blogspot.com 5. Excel Tips and Tricks at http://exceldailytip.blogspot.com To post to this group, send email to excel-macros@googlegroups.com <><><><><><><><><><><><><><><><><><><><><><> Like our page on facebook , Just follow below link http://www.facebook.com/discussexcel