corruptedlogic
New Member
- Joined
- Mar 8, 2018
- Messages
- 12
Hey there, i need to do what seems easy, but i cannot wrap my head around it. I have a set of data that looks like this:
[TABLE="width: 500"]
<tbody>[TR]
[TD]HH[/TD]
[TD]Name[/TD]
[TD] Account[/TD]
[TD]Fee[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Jones[/TD]
[TD]IRA[/TD]
[TD]0.5%[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Jones[/TD]
[TD]Individual[/TD]
[TD]0.8%[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]Smith[/TD]
[TD]Joint[/TD]
[TD]1.0%[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]Smith[/TD]
[TD]IRA[/TD]
[TD]0.5%[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]2
[/TD]
[TD]Smith[/TD]
[TD]Trust[/TD]
[TD]0.9%[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
I need to have some sort of function that will lookup every instance of HH then iterate through and pull every row and enter the data in column format like this:
[TABLE="width: 500"]
<tbody>[TR]
[TD]HH[/TD]
[TD]Name[/TD]
[TD]Account1[/TD]
[TD]Fee1[/TD]
[TD]Account2[/TD]
[TD]Fee2[/TD]
[TD]Account3[/TD]
[TD]Fee3[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Jones[/TD]
[TD]IRA[/TD]
[TD]0.5%[/TD]
[TD]Individual[/TD]
[TD]0.8%[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]Smith[/TD]
[TD]Joint[/TD]
[TD]1.0%[/TD]
[TD]IRA[/TD]
[TD]0.5%[/TD]
[TD]Trust[/TD]
[TD]0.9%[/TD]
[/TR]
</tbody>[/TABLE]
I have tried index/match to no avail so ended up scrapping that idea. Perhaps VBA is the answer but i have no clue where to start.
The end data set will have 1000+ entries that need to be examined and transposed. Any pointers or ideas greatly appreciated!
Thanks.
[TABLE="width: 500"]
<tbody>[TR]
[TD]HH[/TD]
[TD]Name[/TD]
[TD] Account[/TD]
[TD]Fee[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Jones[/TD]
[TD]IRA[/TD]
[TD]0.5%[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Jones[/TD]
[TD]Individual[/TD]
[TD]0.8%[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]Smith[/TD]
[TD]Joint[/TD]
[TD]1.0%[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]Smith[/TD]
[TD]IRA[/TD]
[TD]0.5%[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]2
[/TD]
[TD]Smith[/TD]
[TD]Trust[/TD]
[TD]0.9%[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
I need to have some sort of function that will lookup every instance of HH then iterate through and pull every row and enter the data in column format like this:
[TABLE="width: 500"]
<tbody>[TR]
[TD]HH[/TD]
[TD]Name[/TD]
[TD]Account1[/TD]
[TD]Fee1[/TD]
[TD]Account2[/TD]
[TD]Fee2[/TD]
[TD]Account3[/TD]
[TD]Fee3[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Jones[/TD]
[TD]IRA[/TD]
[TD]0.5%[/TD]
[TD]Individual[/TD]
[TD]0.8%[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]Smith[/TD]
[TD]Joint[/TD]
[TD]1.0%[/TD]
[TD]IRA[/TD]
[TD]0.5%[/TD]
[TD]Trust[/TD]
[TD]0.9%[/TD]
[/TR]
</tbody>[/TABLE]
I have tried index/match to no avail so ended up scrapping that idea. Perhaps VBA is the answer but i have no clue where to start.
The end data set will have 1000+ entries that need to be examined and transposed. Any pointers or ideas greatly appreciated!
Thanks.