ke6zoy
New Member
- Joined
- May 2, 2014
- Messages
- 11
- Office Version
- 365
- Platform
- Windows
Hi All, I've been searching and searching and haven't found anything that quite fits my needs besides some 3rd party software which will be a complete headache to get my IT department to install.
I've simplified my scenario as my data is dynamic and goes on for hundreds/thousands of rows.
Below is an example of 2 columns of data and in my worksheet.
When I import data it puts a seperate row for each piece of information associated with the user. I'd like all of the users information combined into a single cell (so that there is only 1 row associated with each user).
[TABLE="width: 81"]
<colgroup><col style="width: 40pt; mso-width-source: userset; mso-width-alt: 1938;" width="53"> <col style="width: 41pt; mso-width-source: userset; mso-width-alt: 2011;" width="55"> <tbody>[TR]
[TD="class: xl68, width: 53, bgcolor: transparent"]Name[/TD]
[TD="class: xl69, width: 55, bgcolor: transparent"]Info[/TD]
[/TR]
[TR]
[TD="class: xl65, bgcolor: transparent"]Beth[/TD]
[TD="class: xl66, bgcolor: transparent"]A[/TD]
[/TR]
[TR]
[TD="class: xl65, bgcolor: transparent"]Carlos[/TD]
[TD="class: xl66, bgcolor: transparent"]A[/TD]
[/TR]
[TR]
[TD="class: xl65, bgcolor: transparent"]Carlos[/TD]
[TD="class: xl66, bgcolor: transparent"]B[/TD]
[/TR]
[TR]
[TD="class: xl65, bgcolor: transparent"]Carlos[/TD]
[TD="class: xl66, bgcolor: transparent"]C[/TD]
[/TR]
[TR]
[TD="class: xl65, bgcolor: transparent"]David[/TD]
[TD="class: xl66, bgcolor: transparent"]A[/TD]
[/TR]
[TR]
[TD="class: xl65, bgcolor: transparent"]David[/TD]
[TD="class: xl66, bgcolor: transparent"]B[/TD]
[/TR]
[TR]
[TD="class: xl65, bgcolor: transparent"]Edward[/TD]
[TD="class: xl66, bgcolor: transparent"]A[/TD]
[/TR]
[TR]
[TD="class: xl65, bgcolor: transparent"]Frank[/TD]
[TD="class: xl66, bgcolor: transparent"]A[/TD]
[/TR]
[TR]
[TD="class: xl65, bgcolor: transparent"]Mary[/TD]
[TD="class: xl66, bgcolor: transparent"]A[/TD]
[/TR]
[TR]
[TD="class: xl65, bgcolor: transparent"]Mary[/TD]
[TD="class: xl66, bgcolor: transparent"]B[/TD]
[/TR]
[TR]
[TD="class: xl65, bgcolor: transparent"]Mary[/TD]
[TD="class: xl66, bgcolor: transparent"]C[/TD]
[/TR]
[TR]
[TD="class: xl65, bgcolor: transparent"]Mary[/TD]
[TD="class: xl66, bgcolor: transparent"]D[/TD]
[/TR]
[TR]
[TD="class: xl65, bgcolor: transparent"]Mary[/TD]
[TD="class: xl66, bgcolor: transparent"]E[/TD]
[/TR]
</tbody>[/TABLE]
This is an example of the end result i'm trying to get to.
(i do not want to use the merge and center type of function because the final resulting data needs to be processed on in ways that don't like merged cells.)
[TABLE="width: 81"]
<colgroup><col style="width: 40pt; mso-width-source: userset; mso-width-alt: 1938;" width="53"> <col style="width: 41pt; mso-width-source: userset; mso-width-alt: 2011;" width="55"> <tbody>[TR]
[TD="class: xl66, width: 53, bgcolor: transparent"]Name[/TD]
[TD="class: xl67, width: 55, bgcolor: transparent"]Info[/TD]
[/TR]
[TR]
[TD="class: xl68, bgcolor: transparent"]Beth[/TD]
[TD="class: xl69, bgcolor: transparent"]A[/TD]
[/TR]
[TR]
[TD="class: xl68, bgcolor: transparent"]Carlos[/TD]
[TD="class: xl70, width: 55, bgcolor: transparent"]A
B
C[/TD]
[/TR]
[TR]
[TD="class: xl68, bgcolor: transparent"]David[/TD]
[TD="class: xl70, width: 55, bgcolor: transparent"]A
B[/TD]
[/TR]
[TR]
[TD="class: xl68, bgcolor: transparent"]Edward[/TD]
[TD="class: xl69, bgcolor: transparent"]A[/TD]
[/TR]
[TR]
[TD="class: xl68, bgcolor: transparent"]Frank[/TD]
[TD="class: xl69, bgcolor: transparent"]A[/TD]
[/TR]
[TR]
[TD="class: xl68, bgcolor: transparent"]Mary[/TD]
[TD="class: xl70, width: 55, bgcolor: transparent"]A
B
C
D
E[/TD]
[/TR]
</tbody>[/TABLE]
I know i need VBA scripting, however i haven't quite figured out the logic to make it all work correctly as the number of rows per user can change from day to day as data is re-imported.
Any help would be greatly appreciated.
Thanks,
-Brian
I've simplified my scenario as my data is dynamic and goes on for hundreds/thousands of rows.
Below is an example of 2 columns of data and in my worksheet.
When I import data it puts a seperate row for each piece of information associated with the user. I'd like all of the users information combined into a single cell (so that there is only 1 row associated with each user).
[TABLE="width: 81"]
<colgroup><col style="width: 40pt; mso-width-source: userset; mso-width-alt: 1938;" width="53"> <col style="width: 41pt; mso-width-source: userset; mso-width-alt: 2011;" width="55"> <tbody>[TR]
[TD="class: xl68, width: 53, bgcolor: transparent"]Name[/TD]
[TD="class: xl69, width: 55, bgcolor: transparent"]Info[/TD]
[/TR]
[TR]
[TD="class: xl65, bgcolor: transparent"]Beth[/TD]
[TD="class: xl66, bgcolor: transparent"]A[/TD]
[/TR]
[TR]
[TD="class: xl65, bgcolor: transparent"]Carlos[/TD]
[TD="class: xl66, bgcolor: transparent"]A[/TD]
[/TR]
[TR]
[TD="class: xl65, bgcolor: transparent"]Carlos[/TD]
[TD="class: xl66, bgcolor: transparent"]B[/TD]
[/TR]
[TR]
[TD="class: xl65, bgcolor: transparent"]Carlos[/TD]
[TD="class: xl66, bgcolor: transparent"]C[/TD]
[/TR]
[TR]
[TD="class: xl65, bgcolor: transparent"]David[/TD]
[TD="class: xl66, bgcolor: transparent"]A[/TD]
[/TR]
[TR]
[TD="class: xl65, bgcolor: transparent"]David[/TD]
[TD="class: xl66, bgcolor: transparent"]B[/TD]
[/TR]
[TR]
[TD="class: xl65, bgcolor: transparent"]Edward[/TD]
[TD="class: xl66, bgcolor: transparent"]A[/TD]
[/TR]
[TR]
[TD="class: xl65, bgcolor: transparent"]Frank[/TD]
[TD="class: xl66, bgcolor: transparent"]A[/TD]
[/TR]
[TR]
[TD="class: xl65, bgcolor: transparent"]Mary[/TD]
[TD="class: xl66, bgcolor: transparent"]A[/TD]
[/TR]
[TR]
[TD="class: xl65, bgcolor: transparent"]Mary[/TD]
[TD="class: xl66, bgcolor: transparent"]B[/TD]
[/TR]
[TR]
[TD="class: xl65, bgcolor: transparent"]Mary[/TD]
[TD="class: xl66, bgcolor: transparent"]C[/TD]
[/TR]
[TR]
[TD="class: xl65, bgcolor: transparent"]Mary[/TD]
[TD="class: xl66, bgcolor: transparent"]D[/TD]
[/TR]
[TR]
[TD="class: xl65, bgcolor: transparent"]Mary[/TD]
[TD="class: xl66, bgcolor: transparent"]E[/TD]
[/TR]
</tbody>[/TABLE]
This is an example of the end result i'm trying to get to.
(i do not want to use the merge and center type of function because the final resulting data needs to be processed on in ways that don't like merged cells.)
[TABLE="width: 81"]
<colgroup><col style="width: 40pt; mso-width-source: userset; mso-width-alt: 1938;" width="53"> <col style="width: 41pt; mso-width-source: userset; mso-width-alt: 2011;" width="55"> <tbody>[TR]
[TD="class: xl66, width: 53, bgcolor: transparent"]Name[/TD]
[TD="class: xl67, width: 55, bgcolor: transparent"]Info[/TD]
[/TR]
[TR]
[TD="class: xl68, bgcolor: transparent"]Beth[/TD]
[TD="class: xl69, bgcolor: transparent"]A[/TD]
[/TR]
[TR]
[TD="class: xl68, bgcolor: transparent"]Carlos[/TD]
[TD="class: xl70, width: 55, bgcolor: transparent"]A
B
C[/TD]
[/TR]
[TR]
[TD="class: xl68, bgcolor: transparent"]David[/TD]
[TD="class: xl70, width: 55, bgcolor: transparent"]A
B[/TD]
[/TR]
[TR]
[TD="class: xl68, bgcolor: transparent"]Edward[/TD]
[TD="class: xl69, bgcolor: transparent"]A[/TD]
[/TR]
[TR]
[TD="class: xl68, bgcolor: transparent"]Frank[/TD]
[TD="class: xl69, bgcolor: transparent"]A[/TD]
[/TR]
[TR]
[TD="class: xl68, bgcolor: transparent"]Mary[/TD]
[TD="class: xl70, width: 55, bgcolor: transparent"]A
B
C
D
E[/TD]
[/TR]
</tbody>[/TABLE]
I know i need VBA scripting, however i haven't quite figured out the logic to make it all work correctly as the number of rows per user can change from day to day as data is re-imported.
Any help would be greatly appreciated.
Thanks,
-Brian