Hi Mehdi, Use this formula in column c=LEFT(B2,FIND("/",B2,1)-1) then do auto fill.
regards Mugundan K 9873152622 Office VBA Trainer http://officevbatrainer.blog.co.in/ ________________________________ From: Mehdi_21 <meh.i...@gmail.com> To: MS EXCEL AND VBA MACROS <excel-macros@googlegroups.com> Sent: Monday, March 2, 2009 7:58:59 PM Subject: $$Excel-Macros$$ problem decomposing cells (urgent) hey guys i have a problem decomposing cells, i'm using a table like this one : A B 1 name1 | S1/S2 2 name2 | M1/M2 . . n namen | D1/D2 i want it to look like this: A B 1 name1 | S1 2 name1| S2 3 name2 | M1 4 name2 |M2 . . n namen | D1 n+1 namen |D2 thanks in advance for ur help regards --~--~---------~--~----~------------~-------~--~----~ ------------------------------------------------------------------------------------- Some important links for excel users: 1. Excel and VBA Tutorials(Video and Text), Free add-ins downloads at http://www.excelitems.com 2. Excel tutorials at http://www.excel-macros.blogspot.com 3. Learn VBA Macros at http://www.vbamacros.blogspot.com 4. Excel Tips and Tricks at http://exceldailytip.blogspot.com To post to this group, send email to excel-macros@googlegroups.com If you find any spam message in the group, please send an email to: Ayush Jain @ jainayus...@gmail.com or Ashish Jain @ 26may.1...@gmail.com ------------------------------------------------------------------------------------- -~----------~----~----~----~------~----~------~--~---