davidplowman
New Member
- Joined
- Oct 31, 2013
- Messages
- 10
Hello:
I have an issue and I'm hoping someone can help me with.
I have a spreadsheet that's has 28 columns and more than 3,000 rows.
One of the columns is a year range (i.e. 2010-2013, 1988-1999, 1996-1998 or whatever).
The file has to be submitted to another department for an upload to a website, and each year has to be listed on a separate row, with all of the information remaining the same.
So in other words, a portion of my spreadsheet that looks like this:</SPAN>
[TABLE="width: 537"]
<TBODY>[TR]
[TD]Source</SPAN></SPAN>
[/TD]
[TD]New PN (Main # to Search By)</SPAN></SPAN>
[/TD]
[TD]Make</SPAN></SPAN>
[/TD]
[TD]Vehicle Type</SPAN></SPAN>
[/TD]
[TD]Year (From - To)</SPAN></SPAN>
[/TD]
[TD]Model</SPAN></SPAN>
[/TD]
[TD]Engine</SPAN></SPAN>
[/TD]
[/TR]
[TR]
[TD]Lester</SPAN></SPAN>
[/TD]
[TD]A7T03277A</SPAN></SPAN>
[/TD]
[TD]Hyster</SPAN></SPAN>
[/TD]
[TD]Lift Truck</SPAN></SPAN>
[/TD]
[TD]2010-2013</SPAN></SPAN>
[/TD]
[TD]DB</SPAN></SPAN>
[/TD]
[TD]FE</SPAN></SPAN>
[/TD]
[/TR]
[TR]
[TD]Lester</SPAN></SPAN>
[/TD]
[TD]A7T03277A</SPAN></SPAN>
[/TD]
[TD]Hyster</SPAN></SPAN>
[/TD]
[TD]Lift Truck</SPAN></SPAN>
[/TD]
[TD]2012-2013</SPAN></SPAN>
[/TD]
[TD]DB</SPAN></SPAN>
[/TD]
[TD]HA</SPAN></SPAN>
[/TD]
[/TR]
[TR]
[TD]Lester</SPAN></SPAN>
[/TD]
[TD]A7T03277A</SPAN></SPAN>
[/TD]
[TD]Hyster</SPAN></SPAN>
[/TD]
[TD]Lift Truck</SPAN></SPAN>
[/TD]
[TD]1999-2003</SPAN></SPAN>
[/TD]
[TD]Various Models</SPAN></SPAN>
[/TD]
[TD]FE</SPAN></SPAN>
[/TD]
[/TR]
</TBODY>[/TABLE]
Would ultimately look like this:</SPAN>
[TABLE="width: 537"]
<TBODY>[TR]
[TD]Source</SPAN></SPAN>
[/TD]
[TD]New PN (Main # to Search By)</SPAN></SPAN>
[/TD]
[TD]Make</SPAN></SPAN>
[/TD]
[TD]Vehicle Type</SPAN></SPAN>
[/TD]
[TD]Year (From - To)</SPAN></SPAN>
[/TD]
[TD]Model</SPAN></SPAN>
[/TD]
[TD]Engine</SPAN></SPAN>
[/TD]
[/TR]
[TR]
[TD]Lester</SPAN></SPAN>
[/TD]
[TD]A7T03277A</SPAN></SPAN>
[/TD]
[TD]Hyster</SPAN></SPAN>
[/TD]
[TD]Lift Truck</SPAN></SPAN>
[/TD]
[TD]2010</SPAN></SPAN>
[/TD]
[TD]DB</SPAN></SPAN>
[/TD]
[TD]FE</SPAN></SPAN>
[/TD]
[/TR]
[TR]
[TD]Lester</SPAN></SPAN>
[/TD]
[TD]A7T03277A</SPAN></SPAN>
[/TD]
[TD]Hyster</SPAN></SPAN>
[/TD]
[TD]Lift Truck</SPAN></SPAN>
[/TD]
[TD]2011</SPAN></SPAN>
[/TD]
[TD]DB</SPAN></SPAN>
[/TD]
[TD]FE</SPAN></SPAN>
[/TD]
[/TR]
[TR]
[TD]Lester</SPAN></SPAN>
[/TD]
[TD]A7T03277A</SPAN></SPAN>
[/TD]
[TD]Hyster</SPAN></SPAN>
[/TD]
[TD]Lift Truck</SPAN></SPAN>
[/TD]
[TD]2013</SPAN></SPAN>
[/TD]
[TD]DB</SPAN></SPAN>
[/TD]
[TD]FE</SPAN></SPAN>
[/TD]
[/TR]
[TR]
[TD]Lester</SPAN></SPAN>
[/TD]
[TD]A7T03277A</SPAN></SPAN>
[/TD]
[TD]Hyster</SPAN></SPAN>
[/TD]
[TD]Lift Truck</SPAN></SPAN>
[/TD]
[TD]2012</SPAN></SPAN>
[/TD]
[TD]DB</SPAN></SPAN>
[/TD]
[TD]HA</SPAN></SPAN>
[/TD]
[/TR]
[TR]
[TD]Lester</SPAN></SPAN>
[/TD]
[TD]A7T03277A</SPAN></SPAN>
[/TD]
[TD]Hyster</SPAN></SPAN>
[/TD]
[TD]Lift Truck</SPAN></SPAN>
[/TD]
[TD]2013</SPAN></SPAN>
[/TD]
[TD]DB</SPAN></SPAN>
[/TD]
[TD]HA</SPAN></SPAN>
[/TD]
[/TR]
[TR]
[TD]Lester</SPAN></SPAN>
[/TD]
[TD]A7T03277A</SPAN></SPAN>
[/TD]
[TD]Hyster</SPAN></SPAN>
[/TD]
[TD]Lift Truck</SPAN></SPAN>
[/TD]
[TD]1999</SPAN></SPAN>
[/TD]
[TD]Various Models</SPAN></SPAN>
[/TD]
[TD]FE</SPAN></SPAN>
[/TD]
[/TR]
[TR]
[TD]Lester</SPAN></SPAN>
[/TD]
[TD]A7T03277A</SPAN></SPAN>
[/TD]
[TD]Hyster</SPAN></SPAN>
[/TD]
[TD]Lift Truck</SPAN></SPAN>
[/TD]
[TD]2000</SPAN></SPAN>
[/TD]
[TD]Various Models</SPAN></SPAN>
[/TD]
[TD]FE</SPAN></SPAN>
[/TD]
[/TR]
[TR]
[TD]Lester</SPAN></SPAN>
[/TD]
[TD]A7T03277A</SPAN></SPAN>
[/TD]
[TD]Hyster</SPAN></SPAN>
[/TD]
[TD]Lift Truck</SPAN></SPAN>
[/TD]
[TD]2001</SPAN></SPAN>
[/TD]
[TD]Various Models</SPAN></SPAN>
[/TD]
[TD]FE</SPAN></SPAN>
[/TD]
[/TR]
[TR]
[TD]Lester</SPAN></SPAN>
[/TD]
[TD]A7T03277A</SPAN></SPAN>
[/TD]
[TD]Hyster</SPAN></SPAN>
[/TD]
[TD]Lift Truck</SPAN></SPAN>
[/TD]
[TD]2002</SPAN></SPAN>
[/TD]
[TD]Various Models</SPAN></SPAN>
[/TD]
[TD]FE</SPAN></SPAN>
[/TD]
[/TR]
[TR]
[TD]Lester</SPAN></SPAN>
[/TD]
[TD]A7T03277A</SPAN></SPAN>
[/TD]
[TD]Hyster</SPAN></SPAN>
[/TD]
[TD]Lift Truck</SPAN></SPAN>
[/TD]
[TD]2003</SPAN></SPAN>
[/TD]
[TD]Various Models</SPAN></SPAN>
[/TD]
[TD]FE</SPAN></SPAN>
[/TD]
[/TR]
</TBODY>[/TABLE]
The problem is I’m not sure of the best way to get from Point A to Point B. I would image in would involve splitting the beginning and end year into end rows, then calculating the year range (3 years, 1 year and 4 years.)</SPAN>
But I’m unsure of what to do from there? Is it just a process of manually inserting the rows and copying in the information from the other columns, or is there a quicker, more efficient way of doing this?</SPAN>
As a side note, I’m familiar with many of the “advanced” functions of Excel, but haven’t done any VBA program yet. But if there is a program that would help, I’m willing to take the plunge into learning about it.</SPAN>
Thanks,</SPAN>
David</SPAN>
I have an issue and I'm hoping someone can help me with.
I have a spreadsheet that's has 28 columns and more than 3,000 rows.
One of the columns is a year range (i.e. 2010-2013, 1988-1999, 1996-1998 or whatever).
The file has to be submitted to another department for an upload to a website, and each year has to be listed on a separate row, with all of the information remaining the same.
So in other words, a portion of my spreadsheet that looks like this:</SPAN>
[TABLE="width: 537"]
<TBODY>[TR]
[TD]Source</SPAN></SPAN>
[/TD]
[TD]New PN (Main # to Search By)</SPAN></SPAN>
[/TD]
[TD]Make</SPAN></SPAN>
[/TD]
[TD]Vehicle Type</SPAN></SPAN>
[/TD]
[TD]Year (From - To)</SPAN></SPAN>
[/TD]
[TD]Model</SPAN></SPAN>
[/TD]
[TD]Engine</SPAN></SPAN>
[/TD]
[/TR]
[TR]
[TD]Lester</SPAN></SPAN>
[/TD]
[TD]A7T03277A</SPAN></SPAN>
[/TD]
[TD]Hyster</SPAN></SPAN>
[/TD]
[TD]Lift Truck</SPAN></SPAN>
[/TD]
[TD]2010-2013</SPAN></SPAN>
[/TD]
[TD]DB</SPAN></SPAN>
[/TD]
[TD]FE</SPAN></SPAN>
[/TD]
[/TR]
[TR]
[TD]Lester</SPAN></SPAN>
[/TD]
[TD]A7T03277A</SPAN></SPAN>
[/TD]
[TD]Hyster</SPAN></SPAN>
[/TD]
[TD]Lift Truck</SPAN></SPAN>
[/TD]
[TD]2012-2013</SPAN></SPAN>
[/TD]
[TD]DB</SPAN></SPAN>
[/TD]
[TD]HA</SPAN></SPAN>
[/TD]
[/TR]
[TR]
[TD]Lester</SPAN></SPAN>
[/TD]
[TD]A7T03277A</SPAN></SPAN>
[/TD]
[TD]Hyster</SPAN></SPAN>
[/TD]
[TD]Lift Truck</SPAN></SPAN>
[/TD]
[TD]1999-2003</SPAN></SPAN>
[/TD]
[TD]Various Models</SPAN></SPAN>
[/TD]
[TD]FE</SPAN></SPAN>
[/TD]
[/TR]
</TBODY>[/TABLE]
Would ultimately look like this:</SPAN>
[TABLE="width: 537"]
<TBODY>[TR]
[TD]Source</SPAN></SPAN>
[/TD]
[TD]New PN (Main # to Search By)</SPAN></SPAN>
[/TD]
[TD]Make</SPAN></SPAN>
[/TD]
[TD]Vehicle Type</SPAN></SPAN>
[/TD]
[TD]Year (From - To)</SPAN></SPAN>
[/TD]
[TD]Model</SPAN></SPAN>
[/TD]
[TD]Engine</SPAN></SPAN>
[/TD]
[/TR]
[TR]
[TD]Lester</SPAN></SPAN>
[/TD]
[TD]A7T03277A</SPAN></SPAN>
[/TD]
[TD]Hyster</SPAN></SPAN>
[/TD]
[TD]Lift Truck</SPAN></SPAN>
[/TD]
[TD]2010</SPAN></SPAN>
[/TD]
[TD]DB</SPAN></SPAN>
[/TD]
[TD]FE</SPAN></SPAN>
[/TD]
[/TR]
[TR]
[TD]Lester</SPAN></SPAN>
[/TD]
[TD]A7T03277A</SPAN></SPAN>
[/TD]
[TD]Hyster</SPAN></SPAN>
[/TD]
[TD]Lift Truck</SPAN></SPAN>
[/TD]
[TD]2011</SPAN></SPAN>
[/TD]
[TD]DB</SPAN></SPAN>
[/TD]
[TD]FE</SPAN></SPAN>
[/TD]
[/TR]
[TR]
[TD]Lester</SPAN></SPAN>
[/TD]
[TD]A7T03277A</SPAN></SPAN>
[/TD]
[TD]Hyster</SPAN></SPAN>
[/TD]
[TD]Lift Truck</SPAN></SPAN>
[/TD]
[TD]2013</SPAN></SPAN>
[/TD]
[TD]DB</SPAN></SPAN>
[/TD]
[TD]FE</SPAN></SPAN>
[/TD]
[/TR]
[TR]
[TD]Lester</SPAN></SPAN>
[/TD]
[TD]A7T03277A</SPAN></SPAN>
[/TD]
[TD]Hyster</SPAN></SPAN>
[/TD]
[TD]Lift Truck</SPAN></SPAN>
[/TD]
[TD]2012</SPAN></SPAN>
[/TD]
[TD]DB</SPAN></SPAN>
[/TD]
[TD]HA</SPAN></SPAN>
[/TD]
[/TR]
[TR]
[TD]Lester</SPAN></SPAN>
[/TD]
[TD]A7T03277A</SPAN></SPAN>
[/TD]
[TD]Hyster</SPAN></SPAN>
[/TD]
[TD]Lift Truck</SPAN></SPAN>
[/TD]
[TD]2013</SPAN></SPAN>
[/TD]
[TD]DB</SPAN></SPAN>
[/TD]
[TD]HA</SPAN></SPAN>
[/TD]
[/TR]
[TR]
[TD]Lester</SPAN></SPAN>
[/TD]
[TD]A7T03277A</SPAN></SPAN>
[/TD]
[TD]Hyster</SPAN></SPAN>
[/TD]
[TD]Lift Truck</SPAN></SPAN>
[/TD]
[TD]1999</SPAN></SPAN>
[/TD]
[TD]Various Models</SPAN></SPAN>
[/TD]
[TD]FE</SPAN></SPAN>
[/TD]
[/TR]
[TR]
[TD]Lester</SPAN></SPAN>
[/TD]
[TD]A7T03277A</SPAN></SPAN>
[/TD]
[TD]Hyster</SPAN></SPAN>
[/TD]
[TD]Lift Truck</SPAN></SPAN>
[/TD]
[TD]2000</SPAN></SPAN>
[/TD]
[TD]Various Models</SPAN></SPAN>
[/TD]
[TD]FE</SPAN></SPAN>
[/TD]
[/TR]
[TR]
[TD]Lester</SPAN></SPAN>
[/TD]
[TD]A7T03277A</SPAN></SPAN>
[/TD]
[TD]Hyster</SPAN></SPAN>
[/TD]
[TD]Lift Truck</SPAN></SPAN>
[/TD]
[TD]2001</SPAN></SPAN>
[/TD]
[TD]Various Models</SPAN></SPAN>
[/TD]
[TD]FE</SPAN></SPAN>
[/TD]
[/TR]
[TR]
[TD]Lester</SPAN></SPAN>
[/TD]
[TD]A7T03277A</SPAN></SPAN>
[/TD]
[TD]Hyster</SPAN></SPAN>
[/TD]
[TD]Lift Truck</SPAN></SPAN>
[/TD]
[TD]2002</SPAN></SPAN>
[/TD]
[TD]Various Models</SPAN></SPAN>
[/TD]
[TD]FE</SPAN></SPAN>
[/TD]
[/TR]
[TR]
[TD]Lester</SPAN></SPAN>
[/TD]
[TD]A7T03277A</SPAN></SPAN>
[/TD]
[TD]Hyster</SPAN></SPAN>
[/TD]
[TD]Lift Truck</SPAN></SPAN>
[/TD]
[TD]2003</SPAN></SPAN>
[/TD]
[TD]Various Models</SPAN></SPAN>
[/TD]
[TD]FE</SPAN></SPAN>
[/TD]
[/TR]
</TBODY>[/TABLE]
The problem is I’m not sure of the best way to get from Point A to Point B. I would image in would involve splitting the beginning and end year into end rows, then calculating the year range (3 years, 1 year and 4 years.)</SPAN>
But I’m unsure of what to do from there? Is it just a process of manually inserting the rows and copying in the information from the other columns, or is there a quicker, more efficient way of doing this?</SPAN>
As a side note, I’m familiar with many of the “advanced” functions of Excel, but haven’t done any VBA program yet. But if there is a program that would help, I’m willing to take the plunge into learning about it.</SPAN>
Thanks,</SPAN>
David</SPAN>