Hi, You can’t do it with a formula (a formula only changes the value of the cell which contains it). Either you use the replace command (Ctrl+H) or you have to use a macro.
Regards. Daniel De : excel-macros@googlegroups.com [mailto:excel-macros@googlegroups.com] De la part de Prabhu Envoyé : jeudi 21 juillet 2011 19:24 À : excel-macros@googlegroups.com Objet : $$Excel-Macros$$ Excel formula help Hi Friends, In the attached sheet wherever we find "Opt. "(Opt dart and a space) is replace with # and add with the previous cell which does not contain "Opt."originally. As per the attached sheet A9,10,11,12 we have to remove "Opt. " and add # with A8 as prefix. Similarly in A3 "Opt. 0D1"- Remove "Opt. "and insert # in front of A2 text i.e "AH401A" IF there is no Opt. in a particular cell it will remain as it is. Plz help me with formula. Regards, Prabhu -- ---------------------------------------------------------------------------- ------ 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