I have an Excel file that has the following columns. I need to have each Fitment Year listed as a single row. 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.
THIS IS WHAT I HAVE:
<tbody>
</tbody>
<tbody>
</tbody>
THIS IS WHAT I NEED IT TO BE:
<tbody>
</tbody>
THIS IS WHAT I HAVE:
P/N | Make | Mfg | Model | Year Span | Fitment Years |
<tbody>
</tbody>
881612 | Aprilia | 881965 | 1000 RSV4 - (SACHS) | 10-12 | 2010, 2011, 2012 |
<tbody>
</tbody>
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 |
<tbody>
</tbody>