Crosstab Issue with multiple columns

tmcrouse

Board Regular
Joined
Apr 10, 2012
Messages
121
I thought I had posted this question yesterday but don't think I hit the submit button. I am having issues with a crosstab using multple columns and retaining all the other attached data. I have a large number of people that have distinct rows but there are lots of peope in my file.

Example of what I have and need:

DATA HAVE
MIDCONTRACTFNAMELNAMEGENDERDOBADDRESS1ADDRESS2CITYSTZIPtb1tb2tb3tb4tb5tb6
1a1a1a01H0564-056wandamillerF1/1/2015111 baker str#4BAKERSFIELDCA93305eyea1cbcscolawcflu

<COLGROUP><COL style="WIDTH: 56pt; mso-width-source: userset; mso-width-alt: 2673" width=75><COL style="WIDTH: 57pt; mso-width-source: userset; mso-width-alt: 2702" width=76><COL style="WIDTH: 38pt; mso-width-source: userset; mso-width-alt: 1792" span=2 width=50><COL style="WIDTH: 43pt; mso-width-source: userset; mso-width-alt: 2019" width=57><COL style="WIDTH: 46pt; mso-width-source: userset; mso-width-alt: 2190" width=62><COL style="WIDTH: 62pt; mso-width-source: userset; mso-width-alt: 2958" width=83><COL style="WIDTH: 51pt; mso-width-source: userset; mso-width-alt: 2417" width=68><COL style="WIDTH: 64pt; mso-width-source: userset; mso-width-alt: 3015" width=85><COL style="WIDTH: 17pt; mso-width-source: userset; mso-width-alt: 824" width=23><COL style="WIDTH: 32pt; mso-width-source: userset; mso-width-alt: 1536" width=43><COL style="WIDTH: 27pt; mso-width-source: userset; mso-width-alt: 1280" width=36><COL style="WIDTH: 21pt; mso-width-source: userset; mso-width-alt: 995" width=28><COL style="WIDTH: 20pt; mso-width-source: userset; mso-width-alt: 938" span=2 width=26><COL style="WIDTH: 23pt; mso-width-source: userset; mso-width-alt: 1109" width=31><COL style="WIDTH: 20pt; mso-width-source: userset; mso-width-alt: 938" width=26><TBODY>
</TBODY>



DATA NEED
MIDCONTRACT FNAMELNAMEGENDERDOBADDRESS1ADDRESS2CITYSTZIPTB
1a1a1a01H0564-056wandamillerF1/1/2015111 baker str#4BAKERSFIELDCA93305EYE
1a1a1a01H0564-056wandamillerF1/1/2015111 baker str#4BAKERSFIELDCA93305A1C
1a1a1a01H0564-056wandamillerF1/1/2015111 baker str#4BAKERSFIELDCA93305BCS
1a1a1a01H0564-056wandamillerF1/1/2015111 baker str#4BAKERSFIELDCA93305COL
1a1a1a01H0564-056wandamillerF1/1/2015111 baker str#4BAKERSFIELDCA93305AWC
1a1a1a01H0564-056wandamillerF1/1/2015111 baker str#4BAKERSFIELDCA93305FLU

<COLGROUP><COL style="WIDTH: 56pt; mso-width-source: userset; mso-width-alt: 2673" width=75><COL style="WIDTH: 57pt; mso-width-source: userset; mso-width-alt: 2702" width=76><COL style="WIDTH: 38pt; mso-width-source: userset; mso-width-alt: 1792" span=2 width=50><COL style="WIDTH: 43pt; mso-width-source: userset; mso-width-alt: 2019" width=57><COL style="WIDTH: 46pt; mso-width-source: userset; mso-width-alt: 2190" width=62><COL style="WIDTH: 62pt; mso-width-source: userset; mso-width-alt: 2958" width=83><COL style="WIDTH: 51pt; mso-width-source: userset; mso-width-alt: 2417" width=68><COL style="WIDTH: 64pt; mso-width-source: userset; mso-width-alt: 3015" width=85><COL style="WIDTH: 17pt; mso-width-source: userset; mso-width-alt: 824" width=23><COL style="WIDTH: 32pt; mso-width-source: userset; mso-width-alt: 1536" width=43><COL style="WIDTH: 27pt; mso-width-source: userset; mso-width-alt: 1280" width=36><TBODY>
</TBODY>
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.

Forum statistics

Threads
1,215,372
Messages
6,124,541
Members
449,169
Latest member
mm424

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top