Macro code to transpose specific cells in each row depending on text in that rows "Address" column

Ljwilli24

New Member
Joined
Jul 6, 2017
Messages
5
Hi all,

I am trying to transpose data in column B and column V of my spreadsheet. I need the cells to basically transpose each row of a spreadsheet in those columns (I need column B to transpose to the cells in columns C,D,E,F,G, and I need column V to transpose to the cells in columns W,X,Y,Z,AA). I need to transpose these cells in each row depending on the text that is in column AG (home address column)...if it is a duplicate address I need the cells in columns C,D,E,F,G that have the same address in column AG to be transposed into the first row with that address. I need the same to happen with the data in column V. I have column headers, but no row headers. The first chart is what I have currently (the column letters are indicated), the second chart is what I would like the macro to do. If anyone can help me with this I would really appreciate it. Thank you so much!

Lindsey

[TABLE="width: 1053"]
<colgroup><col width="74" style="width: 56pt; mso-width-source: userset; mso-width-alt: 2706;"> <col width="73" style="width: 55pt; mso-width-source: userset; mso-width-alt: 2669;"> <col width="75" style="width: 56pt; mso-width-source: userset; mso-width-alt: 2742;"> <col width="74" style="width: 56pt; mso-width-source: userset; mso-width-alt: 2706;"> <col width="81" style="width: 61pt; mso-width-source: userset; mso-width-alt: 2962;"> <col width="83" style="width: 62pt; mso-width-source: userset; mso-width-alt: 3035;" span="2"> <col width="116" style="width: 87pt; mso-width-source: userset; mso-width-alt: 4242;"> <col width="89" style="width: 67pt; mso-width-source: userset; mso-width-alt: 3254;"> <col width="116" style="width: 87pt; mso-width-source: userset; mso-width-alt: 4242;"> <col width="119" style="width: 89pt; mso-width-source: userset; mso-width-alt: 4352;"> <col width="89" style="width: 67pt; mso-width-source: userset; mso-width-alt: 3254;" span="2"> <col width="116" style="width: 87pt; mso-width-source: userset; mso-width-alt: 4242;"> <col width="125" style="width: 94pt; mso-width-source: userset; mso-width-alt: 4571;"> <tbody>[TR]
[TD="class: xl68, width: 74, bgcolor: black"]Column B[/TD]
[TD="class: xl68, width: 73, bgcolor: black"]Column C[/TD]
[TD="class: xl68, width: 75, bgcolor: black"]Column D[/TD]
[TD="class: xl68, width: 74, bgcolor: black"]Column E[/TD]
[TD="class: xl68, width: 81, bgcolor: black"]Column F[/TD]
[TD="class: xl68, width: 83, bgcolor: black"]Column G[/TD]
[TD="class: xl68, width: 83, bgcolor: black"]Column H[/TD]
[TD="class: xl68, width: 116, bgcolor: black"]Column U[/TD]
[TD="class: xl68, width: 89, bgcolor: black"]Column V[/TD]
[TD="class: xl68, width: 116, bgcolor: black"]Column W[/TD]
[TD="class: xl68, width: 119, bgcolor: black"]Column X[/TD]
[TD="class: xl68, width: 89, bgcolor: black"]Column Y[/TD]
[TD="class: xl68, width: 89, bgcolor: black"]Column Z[/TD]
[TD="class: xl68, width: 116, bgcolor: black"]Column AA[/TD]
[TD="class: xl68, width: 125, bgcolor: black"]Column AG[/TD]
[/TR]
[TR]
[TD="class: xl65, bgcolor: #FFC000"]Account[/TD]
[TD="class: xl65, bgcolor: #FFC000"]Account 1[/TD]
[TD="class: xl65, bgcolor: #FFC000"]Account 2[/TD]
[TD="class: xl65, bgcolor: #FFC000"]Account 3[/TD]
[TD="class: xl65, bgcolor: #FFC000"]Account 4[/TD]
[TD="class: xl65, bgcolor: #FFC000"]Account 5[/TD]
[TD="class: xl65, bgcolor: #FFC000"]Account 6[/TD]
[TD="class: xl65, bgcolor: #FFC000"]Name[/TD]
[TD="class: xl65, bgcolor: #FFC000"]Name 1[/TD]
[TD="class: xl65, bgcolor: #FFC000"]Name 2[/TD]
[TD="class: xl65, bgcolor: #FFC000"]Name 3[/TD]
[TD="class: xl65, bgcolor: #FFC000"]Name 4[/TD]
[TD="class: xl65, bgcolor: #FFC000"]Name 5[/TD]
[TD="class: xl65, bgcolor: #FFC000"]Name 6[/TD]
[TD="class: xl65, bgcolor: #FFC000"]Address[/TD]
[/TR]
[TR]
[TD="class: xl66, bgcolor: transparent, align: right"]123456[/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl66, bgcolor: transparent"]higgins[/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl66, bgcolor: transparent"]1234 barcleigh st[/TD]
[/TR]
[TR]
[TD="class: xl66, bgcolor: transparent, align: right"]78967[/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl66, bgcolor: transparent"]higgins[/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl66, bgcolor: transparent"]1235 barcleigh st[/TD]
[/TR]
[TR]
[TD="class: xl66, bgcolor: transparent, align: right"]98765[/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl66, bgcolor: transparent"]higgins[/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl66, bgcolor: transparent"]1236 barcleigh st[/TD]
[/TR]
[TR]
[TD="class: xl66, bgcolor: transparent, align: right"]334657[/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl66, bgcolor: transparent"]higgins[/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl66, bgcolor: transparent"]1237 barcleigh st[/TD]
[/TR]
[TR]
[TD="class: xl66, bgcolor: transparent, align: right"]765467[/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl66, bgcolor: transparent"]higgins[/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl66, bgcolor: transparent"]1238 barcleigh st[/TD]
[/TR]
[TR]
[TD="class: xl66, bgcolor: transparent, align: right"]333333[/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl66, bgcolor: transparent"]higgins and smith[/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl66, bgcolor: transparent"]1239 barcleigh st[/TD]
[/TR]
[TR]
[TD="class: xl66, bgcolor: transparent, align: right"]65435[/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl66, bgcolor: transparent"]clark[/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl66, bgcolor: transparent"]6754 french ave[/TD]
[/TR]
[TR]
[TD="class: xl66, bgcolor: transparent, align: right"]88888[/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl66, bgcolor: transparent"]clark[/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl66, bgcolor: transparent"]6755 french ave[/TD]
[/TR]
[TR]
[TD="class: xl66, bgcolor: transparent, align: right"]76546[/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl66, bgcolor: transparent"]goldstein[/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl66, bgcolor: transparent"]2967 fort lee dr.[/TD]
[/TR]
[TR]
[TD="class: xl66, bgcolor: transparent, align: right"]82263[/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl66, bgcolor: transparent"]goldstein[/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl66, bgcolor: transparent"]2968 fort lee dr.[/TD]
[/TR]
[TR]
[TD="class: xl66, bgcolor: transparent, align: right"]91236[/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl66, bgcolor: transparent"]stills[/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl66, bgcolor: transparent"]1 drake st.[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="class: xl68, bgcolor: black"]Column B[/TD]
[TD="class: xl68, bgcolor: black"]Column C[/TD]
[TD="class: xl68, bgcolor: black"]Column D[/TD]
[TD="class: xl68, bgcolor: black"]Column E[/TD]
[TD="class: xl68, bgcolor: black"]Column F[/TD]
[TD="class: xl68, bgcolor: black"]Column G[/TD]
[TD="class: xl68, bgcolor: black"]Column H[/TD]
[TD="class: xl68, bgcolor: black"]Column U[/TD]
[TD="class: xl68, bgcolor: black"]Column V[/TD]
[TD="class: xl68, bgcolor: black"]Column W[/TD]
[TD="class: xl68, bgcolor: black"]Column X[/TD]
[TD="class: xl68, bgcolor: black"]Column Y[/TD]
[TD="class: xl68, bgcolor: black"]Column Z[/TD]
[TD="class: xl68, bgcolor: black"]Column AA[/TD]
[TD="class: xl68, bgcolor: black"]Column AG[/TD]
[/TR]
[TR]
[TD="class: xl65, bgcolor: #FFC000"]Account[/TD]
[TD="class: xl65, bgcolor: #FFC000"]Account 1[/TD]
[TD="class: xl65, bgcolor: #FFC000"]Account 2[/TD]
[TD="class: xl65, bgcolor: #FFC000"]Account 3[/TD]
[TD="class: xl65, bgcolor: #FFC000"]Account 4[/TD]
[TD="class: xl65, bgcolor: #FFC000"]Account 5[/TD]
[TD="class: xl65, bgcolor: #FFC000"]Account 6[/TD]
[TD="class: xl65, bgcolor: #FFC000"]Name[/TD]
[TD="class: xl65, bgcolor: #FFC000"]Name 1[/TD]
[TD="class: xl65, bgcolor: #FFC000"]Name 2[/TD]
[TD="class: xl65, bgcolor: #FFC000"]Name 3[/TD]
[TD="class: xl65, bgcolor: #FFC000"]Name 4[/TD]
[TD="class: xl65, bgcolor: #FFC000"]Name 5[/TD]
[TD="class: xl65, bgcolor: #FFC000"]Name 6[/TD]
[TD="class: xl65, bgcolor: #FFC000"]Address[/TD]
[/TR]
[TR]
[TD="class: xl66, bgcolor: transparent, align: right"]123456[/TD]
[TD="class: xl67, bgcolor: #E2EFDA, align: right"]123456[/TD]
[TD="class: xl67, bgcolor: #E2EFDA, align: right"]78967[/TD]
[TD="class: xl67, bgcolor: #E2EFDA, align: right"]98765[/TD]
[TD="class: xl67, bgcolor: #E2EFDA, align: right"]334657[/TD]
[TD="class: xl67, bgcolor: #E2EFDA, align: right"]765467[/TD]
[TD="class: xl67, bgcolor: #E2EFDA, align: right"]333333[/TD]
[TD="class: xl66, bgcolor: transparent"]higgins[/TD]
[TD="class: xl67, bgcolor: #E2EFDA"]higgins[/TD]
[TD="class: xl67, bgcolor: #E2EFDA"]higgins and smith[/TD]
[TD="class: xl67, bgcolor: #E2EFDA"]higgins and franks[/TD]
[TD="class: xl67, bgcolor: #E2EFDA"]higgins[/TD]
[TD="class: xl67, bgcolor: #E2EFDA"]higgins[/TD]
[TD="class: xl67, bgcolor: #E2EFDA"]higgins and smith[/TD]
[TD="class: xl66, bgcolor: transparent"]1234 barcleigh st[/TD]
[/TR]
[TR]
[TD="class: xl66, bgcolor: transparent, align: right"]78967[/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl66, bgcolor: transparent"]higgins and smith[/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl66, bgcolor: transparent"]1235 barcleigh st[/TD]
[/TR]
[TR]
[TD="class: xl66, bgcolor: transparent, align: right"]98765[/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl66, bgcolor: transparent"]higgins and franks[/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl66, bgcolor: transparent"]1236 barcleigh st[/TD]
[/TR]
[TR]
[TD="class: xl66, bgcolor: transparent, align: right"]334657[/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl66, bgcolor: transparent"]higgins[/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl66, bgcolor: transparent"]1237 barcleigh st[/TD]
[/TR]
[TR]
[TD="class: xl66, bgcolor: transparent, align: right"]765467[/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl66, bgcolor: transparent"]higgins[/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl66, bgcolor: transparent"]1238 barcleigh st[/TD]
[/TR]
[TR]
[TD="class: xl66, bgcolor: transparent, align: right"]333333[/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl66, bgcolor: transparent"]higgins and smith[/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl66, bgcolor: transparent"]1239 barcleigh st[/TD]
[/TR]
[TR]
[TD="class: xl66, bgcolor: transparent, align: right"]65435[/TD]
[TD="class: xl67, bgcolor: #E2EFDA, align: right"]65435[/TD]
[TD="class: xl67, bgcolor: #E2EFDA, align: right"]88888[/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl66, bgcolor: transparent"]clark[/TD]
[TD="class: xl67, bgcolor: #E2EFDA"]clark[/TD]
[TD="class: xl67, bgcolor: #E2EFDA"]clark and bell[/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl66, bgcolor: transparent"]6754 french ave[/TD]
[/TR]
[TR]
[TD="class: xl66, bgcolor: transparent, align: right"]88888[/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl66, bgcolor: transparent"]clark and bell[/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl66, bgcolor: transparent"]6755 french ave[/TD]
[/TR]
[TR]
[TD="class: xl66, bgcolor: transparent, align: right"]76546[/TD]
[TD="class: xl67, bgcolor: #E2EFDA, align: right"]76546[/TD]
[TD="class: xl67, bgcolor: #E2EFDA, align: right"]82263[/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl66, bgcolor: transparent"]goldstein[/TD]
[TD="class: xl67, bgcolor: #E2EFDA"]goldstein[/TD]
[TD="class: xl67, bgcolor: #E2EFDA"]goldstein[/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl66, bgcolor: transparent"]2967 fort lee dr.[/TD]
[/TR]
[TR]
[TD="class: xl66, bgcolor: transparent, align: right"]82263[/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl66, bgcolor: transparent"]goldstein[/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl66, bgcolor: transparent"]2968 fort lee dr.[/TD]
[/TR]
[TR]
[TD="class: xl66, bgcolor: transparent, align: right"]91236[/TD]
[TD="class: xl67, bgcolor: #E2EFDA, align: right"]91236[/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl66, bgcolor: transparent"]stills[/TD]
[TD="class: xl67, bgcolor: #E2EFDA"]stills[/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl67, bgcolor: #E2EFDA"] [/TD]
[TD="class: xl66, bgcolor: transparent"]1 drake st.[/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple
Also I just realized that when I dragged the addresses down it pasted them in a series. The addresses that are almost the same should be exactly the same. Sorry about that!
 
Upvote 0
Oh gosh...I really put the wrong info in my explanation too...if anyone is still with me and reading this please refer to this instead of the main posting. Basically when I said "Column V" it should have been "Column U".

I am trying to transpose data in column B and column U of my spreadsheet. I need the cells to basically transpose each row of a spreadsheet in those columns (I need column B to transpose to the cells in columns C,D,E,F,G,H and I need column U to transpose to the cells in columns V,W,X,Y,Z,AA). I need to transpose these cells in each row depending on the text that is in column AG (home address column)...if it is a duplicate address I need the cells in columns C,D,E,F,G,H that have the same address in column AG to be transposed into the first row with that address. I need the same to happen with the data in column U. I have column headers, but no row headers. The first chart is what I have currently (the column letters are indicated), the second chart is what I would like the macro to do. If anyone can help me with this I would really appreciate it. Thank you so much!
 
Upvote 0

Forum statistics

Threads
1,224,818
Messages
6,181,152
Members
453,021
Latest member
Justyna P

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