I have an Excel file that has the following columns. I need to have each Fitment Year listed as a single row. This cell contains a lising of years separated with ",". These may not always be consecutive years. I need a way to look at how many are listed and duplicate the row of data replacing the info in the Fitment years to be a single unique year for that row of text. Is there a way to create a Macro that would look at the fitment years cell and then duplicate the row for each year? This is an ongoing macro that I will have to run each month against an Excel file that has several hundred lines that will expand exponentially once it is expanded for each year. I really need your help! I'm desperate. Below is a sample of what a row of my data looks like and what I need it to look like.
THIS IS WHAT I HAVE:
P/N Make Mfg Model Year Span Fitment Years
881612 Aprilia 881965 1000 RSV4 - (SACHS) 10-12 2010, 2011, 2012
THIS IS WHAT I NEED IT TO BE:
P/N Make Mfg Model YearSpan Fitment Years
881612 Aprilia 881965 1000 RSV4 - (SACHS) 10-12 2010
881612 Aprilia 881965 1000 RSV4 - (SACHS) 10-12 2011
881612 Aprilia 881965 1000 RSV4 - (SACHS) 10-12 2012
Bookmarks