1031exchanged
New Member
- Joined
- Aug 2, 2017
- Messages
- 1
Hello all,
Hoping someone can help or tell me this isn't possible. I'm working on implementing a new forecast process at work and each budget owner will be submitting their forecast in a standardize template. In order for the budget owners to adopt this new process, it needs to be as easy as possible. To that point, they will enter all expense on a sub budget by month across a year (as seen in the first table below). I want to take their deliverable and modify it programmatically so that each month is on its own row (please see second table) to make a flat file that I can slice and dice. Can anyone provide a macro that will perform such a task?
[TABLE="width: 500"]
<tbody>[TR]
[TD][TABLE="width: 700"]
<tbody>[TR]
[TD]Number[/TD]
[TD]Street[/TD]
[TD]Budget[/TD]
[TD]Sub Budget[/TD]
[TD]Total[/TD]
[TD]Mar[/TD]
[TD]Apr[/TD]
[TD]May[/TD]
[/TR]
[TR]
[TD]222[/TD]
[TD]Montreal[/TD]
[TD]Interior[/TD]
[TD]Bathroom 1[/TD]
[TD]5000[/TD]
[TD]2000[/TD]
[TD]2000[/TD]
[TD]1000[/TD]
[/TR]
[TR]
[TD]222[/TD]
[TD]Montreal[/TD]
[TD]Interior[/TD]
[TD]*******[/TD]
[TD]12000[/TD]
[TD]4000[/TD]
[TD]4000[/TD]
[TD]4000[/TD]
[/TR]
[TR]
[TD]234[/TD]
[TD]Seattle[/TD]
[TD]Exterior[/TD]
[TD]Landscaping[/TD]
[TD]10000[/TD]
[TD][/TD]
[TD]10000[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]234[/TD]
[TD]Seattle[/TD]
[TD]Interior[/TD]
[TD]*******[/TD]
[TD]8000[/TD]
[TD]4000[/TD]
[TD]4000[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="class: outer_border, width: 700"]
<tbody>[TR]
[TD]Number[/TD]
[TD]Street[/TD]
[TD]Budget[/TD]
[TD]Sub Budget[/TD]
[TD]Amount[/TD]
[TD]Month[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]222[/TD]
[TD]Montreal[/TD]
[TD]Interior[/TD]
[TD]Bathroom 1[/TD]
[TD]2000[/TD]
[TD]Mar
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]222[/TD]
[TD]Montreal[/TD]
[TD]Interior[/TD]
[TD]Bathroom 1[/TD]
[TD]2000[/TD]
[TD]Apr[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]222[/TD]
[TD]Montreal[/TD]
[TD]Interior[/TD]
[TD]Bathroom 1[/TD]
[TD]1000[/TD]
[TD]May[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]222[/TD]
[TD]Montreal[/TD]
[TD]Interior[/TD]
[TD]*******[/TD]
[TD]4000[/TD]
[TD]Mar[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]222[/TD]
[TD]Montreal[/TD]
[TD]Interior[/TD]
[TD]*******[/TD]
[TD]4000[/TD]
[TD]Apr[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]222[/TD]
[TD]Montreal[/TD]
[TD]Interior[/TD]
[TD]*******[/TD]
[TD]4000[/TD]
[TD]May[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]234[/TD]
[TD]Seattle[/TD]
[TD]Exterior[/TD]
[TD]Landscaping[/TD]
[TD]10000[/TD]
[TD]Apr[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]234[/TD]
[TD]Seattle[/TD]
[TD]Interior[/TD]
[TD]*******[/TD]
[TD]4000[/TD]
[TD]Mar[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]234[/TD]
[TD]Seattle[/TD]
[TD]Interior[/TD]
[TD]*******[/TD]
[TD]4000[/TD]
[TD]Apr[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Hoping someone can help or tell me this isn't possible. I'm working on implementing a new forecast process at work and each budget owner will be submitting their forecast in a standardize template. In order for the budget owners to adopt this new process, it needs to be as easy as possible. To that point, they will enter all expense on a sub budget by month across a year (as seen in the first table below). I want to take their deliverable and modify it programmatically so that each month is on its own row (please see second table) to make a flat file that I can slice and dice. Can anyone provide a macro that will perform such a task?
[TABLE="width: 500"]
<tbody>[TR]
[TD][TABLE="width: 700"]
<tbody>[TR]
[TD]Number[/TD]
[TD]Street[/TD]
[TD]Budget[/TD]
[TD]Sub Budget[/TD]
[TD]Total[/TD]
[TD]Mar[/TD]
[TD]Apr[/TD]
[TD]May[/TD]
[/TR]
[TR]
[TD]222[/TD]
[TD]Montreal[/TD]
[TD]Interior[/TD]
[TD]Bathroom 1[/TD]
[TD]5000[/TD]
[TD]2000[/TD]
[TD]2000[/TD]
[TD]1000[/TD]
[/TR]
[TR]
[TD]222[/TD]
[TD]Montreal[/TD]
[TD]Interior[/TD]
[TD]*******[/TD]
[TD]12000[/TD]
[TD]4000[/TD]
[TD]4000[/TD]
[TD]4000[/TD]
[/TR]
[TR]
[TD]234[/TD]
[TD]Seattle[/TD]
[TD]Exterior[/TD]
[TD]Landscaping[/TD]
[TD]10000[/TD]
[TD][/TD]
[TD]10000[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]234[/TD]
[TD]Seattle[/TD]
[TD]Interior[/TD]
[TD]*******[/TD]
[TD]8000[/TD]
[TD]4000[/TD]
[TD]4000[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="class: outer_border, width: 700"]
<tbody>[TR]
[TD]Number[/TD]
[TD]Street[/TD]
[TD]Budget[/TD]
[TD]Sub Budget[/TD]
[TD]Amount[/TD]
[TD]Month[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]222[/TD]
[TD]Montreal[/TD]
[TD]Interior[/TD]
[TD]Bathroom 1[/TD]
[TD]2000[/TD]
[TD]Mar
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]222[/TD]
[TD]Montreal[/TD]
[TD]Interior[/TD]
[TD]Bathroom 1[/TD]
[TD]2000[/TD]
[TD]Apr[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]222[/TD]
[TD]Montreal[/TD]
[TD]Interior[/TD]
[TD]Bathroom 1[/TD]
[TD]1000[/TD]
[TD]May[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]222[/TD]
[TD]Montreal[/TD]
[TD]Interior[/TD]
[TD]*******[/TD]
[TD]4000[/TD]
[TD]Mar[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]222[/TD]
[TD]Montreal[/TD]
[TD]Interior[/TD]
[TD]*******[/TD]
[TD]4000[/TD]
[TD]Apr[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]222[/TD]
[TD]Montreal[/TD]
[TD]Interior[/TD]
[TD]*******[/TD]
[TD]4000[/TD]
[TD]May[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]234[/TD]
[TD]Seattle[/TD]
[TD]Exterior[/TD]
[TD]Landscaping[/TD]
[TD]10000[/TD]
[TD]Apr[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]234[/TD]
[TD]Seattle[/TD]
[TD]Interior[/TD]
[TD]*******[/TD]
[TD]4000[/TD]
[TD]Mar[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]234[/TD]
[TD]Seattle[/TD]
[TD]Interior[/TD]
[TD]*******[/TD]
[TD]4000[/TD]
[TD]Apr[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]