Access Beginner
Active Member
- Joined
- Nov 8, 2010
- Messages
- 311
- Office Version
- 2016
- Platform
- Windows
Hi
Sample data
[TABLE="width: 332"]
<colgroup><col width="243" style="width: 182pt; mso-width-source: userset; mso-width-alt: 6220;"><colgroup><col width="200" style="width: 150pt; mso-width-source: userset; mso-width-alt: 5120;"><tbody>[TR]
[TD="width: 243, bgcolor: transparent"]Column A
[/TD]
[TD="width: 200, bgcolor: transparent"]Column B[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]Item1[/TD]
[TD="bgcolor: transparent"]aaa,bbb,ccc[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]Item2[/TD]
[TD="bgcolor: transparent"]ddd,eee,fff,%7y
[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]Item3[/TD]
[TD="bgcolor: transparent"]ggg,hhh,iii,jjj,lll,mmm,nnn,123
[/TD]
[/TR]
</tbody>[/TABLE]
I have in column A a list of items (39 items in total) after each item there is a blank row, in column B is 3 letter codes, which can be made up of alpha, numeric and characters. There can be 2 codes or up to 20 codes. Desired outcome below:
[TABLE="width: 332"]
<colgroup><col width="243" style="width: 182pt; mso-width-source: userset; mso-width-alt: 6220;"> <col width="200" style="width: 150pt; mso-width-source: userset; mso-width-alt: 5120;"> <tbody>[TR]
[TD="width: 243, bgcolor: transparent"]Column A[/TD]
[TD="width: 200, bgcolor: transparent"]Column B[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]Item1[/TD]
[TD="bgcolor: transparent"]aaa[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]Item1[/TD]
[TD="bgcolor: transparent"]bbb[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]Item1[/TD]
[TD="bgcolor: transparent"]ccc[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]Item2[/TD]
[TD="bgcolor: transparent"]ddd[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]Item2[/TD]
[TD="bgcolor: transparent"]eee[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]Item2[/TD]
[TD="bgcolor: transparent"]fff[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]Item2[/TD]
[TD="bgcolor: transparent"]%7y[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]Item3[/TD]
[TD="bgcolor: transparent"]ggg[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]Item3[/TD]
[TD="bgcolor: transparent"]hhh[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]Item3[/TD]
[TD="bgcolor: transparent"]iii[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]Item3[/TD]
[TD="bgcolor: transparent"]jjj[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]Item3[/TD]
[TD="bgcolor: transparent"]lll[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]Item3[/TD]
[TD="bgcolor: transparent"]mmm
[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]Item3[/TD]
[TD="bgcolor: transparent"]nnn[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]Item3[/TD]
[TD="bgcolor: transparent, align: right"]123[/TD]
[/TR]
</tbody>[/TABLE]
Sample data
[TABLE="width: 332"]
<colgroup><col width="243" style="width: 182pt; mso-width-source: userset; mso-width-alt: 6220;"><colgroup><col width="200" style="width: 150pt; mso-width-source: userset; mso-width-alt: 5120;"><tbody>[TR]
[TD="width: 243, bgcolor: transparent"]Column A
[/TD]
[TD="width: 200, bgcolor: transparent"]Column B[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]Item1[/TD]
[TD="bgcolor: transparent"]aaa,bbb,ccc[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]Item2[/TD]
[TD="bgcolor: transparent"]ddd,eee,fff,%7y
[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]Item3[/TD]
[TD="bgcolor: transparent"]ggg,hhh,iii,jjj,lll,mmm,nnn,123
[/TD]
[/TR]
</tbody>[/TABLE]
I have in column A a list of items (39 items in total) after each item there is a blank row, in column B is 3 letter codes, which can be made up of alpha, numeric and characters. There can be 2 codes or up to 20 codes. Desired outcome below:
[TABLE="width: 332"]
<colgroup><col width="243" style="width: 182pt; mso-width-source: userset; mso-width-alt: 6220;"> <col width="200" style="width: 150pt; mso-width-source: userset; mso-width-alt: 5120;"> <tbody>[TR]
[TD="width: 243, bgcolor: transparent"]Column A[/TD]
[TD="width: 200, bgcolor: transparent"]Column B[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]Item1[/TD]
[TD="bgcolor: transparent"]aaa[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]Item1[/TD]
[TD="bgcolor: transparent"]bbb[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]Item1[/TD]
[TD="bgcolor: transparent"]ccc[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]Item2[/TD]
[TD="bgcolor: transparent"]ddd[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]Item2[/TD]
[TD="bgcolor: transparent"]eee[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]Item2[/TD]
[TD="bgcolor: transparent"]fff[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]Item2[/TD]
[TD="bgcolor: transparent"]%7y[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]Item3[/TD]
[TD="bgcolor: transparent"]ggg[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]Item3[/TD]
[TD="bgcolor: transparent"]hhh[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]Item3[/TD]
[TD="bgcolor: transparent"]iii[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]Item3[/TD]
[TD="bgcolor: transparent"]jjj[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]Item3[/TD]
[TD="bgcolor: transparent"]lll[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]Item3[/TD]
[TD="bgcolor: transparent"]mmm
[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]Item3[/TD]
[TD="bgcolor: transparent"]nnn[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]Item3[/TD]
[TD="bgcolor: transparent, align: right"]123[/TD]
[/TR]
</tbody>[/TABLE]