Hello,
I'm looking for help in creating a macro to summarize a member database by Address. This is to get our mailing address list from our member database.
Any help on how I can accomplish this would be greatly appreciated!
Example Data (Sheet 1):
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]First Name[/TD]
[TD]Last Name[/TD]
[TD]Address[/TD]
[TD]City[/TD]
[TD]State[/TD]
[TD]ZIP[/TD]
[/TR]
[TR]
[TD]Alex[/TD]
[TD]Johnson[/TD]
[TD]123 Broadway St[/TD]
[TD]Santa Clara[/TD]
[TD]IL[/TD]
[TD]54687[/TD]
[/TR]
[TR]
[TD]Leah[/TD]
[TD]Johnson[/TD]
[TD]123 Broadway St[/TD]
[TD]Santa Clara[/TD]
[TD]IL[/TD]
[TD]54687[/TD]
[/TR]
[TR]
[TD]Jason[/TD]
[TD]Mendoza[/TD]
[TD]765 State St[/TD]
[TD]Dorson[/TD]
[TD]MS[/TD]
[TD]87456[/TD]
[/TR]
</tbody>[/TABLE]
Desired Result (Sheet 2):
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Names[/TD]
[TD]Address[/TD]
[TD]City[/TD]
[TD]State[/TD]
[TD]ZIP[/TD]
[/TR]
[TR]
[TD]Alex & Leah Johnson[/TD]
[TD]123 Broadway St[/TD]
[TD]Santa Clara[/TD]
[TD]IL[/TD]
[TD]54687[/TD]
[/TR]
[TR]
[TD]Jason Mendoza[/TD]
[TD]765 State St[/TD]
[TD]Dorson[/TD]
[TD]MS[/TD]
[TD]87456[/TD]
[/TR]
</tbody>[/TABLE]
Basically, I want the names concatenated, and duplicates removed on unique combination of Address+City+State+ZIP
Anyone have any ideas on how I might be able to achieve this?
Thanks!
Alex
(Office 365 Version 1902, Windows 10)
I'm looking for help in creating a macro to summarize a member database by Address. This is to get our mailing address list from our member database.
Any help on how I can accomplish this would be greatly appreciated!
Example Data (Sheet 1):
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]First Name[/TD]
[TD]Last Name[/TD]
[TD]Address[/TD]
[TD]City[/TD]
[TD]State[/TD]
[TD]ZIP[/TD]
[/TR]
[TR]
[TD]Alex[/TD]
[TD]Johnson[/TD]
[TD]123 Broadway St[/TD]
[TD]Santa Clara[/TD]
[TD]IL[/TD]
[TD]54687[/TD]
[/TR]
[TR]
[TD]Leah[/TD]
[TD]Johnson[/TD]
[TD]123 Broadway St[/TD]
[TD]Santa Clara[/TD]
[TD]IL[/TD]
[TD]54687[/TD]
[/TR]
[TR]
[TD]Jason[/TD]
[TD]Mendoza[/TD]
[TD]765 State St[/TD]
[TD]Dorson[/TD]
[TD]MS[/TD]
[TD]87456[/TD]
[/TR]
</tbody>[/TABLE]
Desired Result (Sheet 2):
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Names[/TD]
[TD]Address[/TD]
[TD]City[/TD]
[TD]State[/TD]
[TD]ZIP[/TD]
[/TR]
[TR]
[TD]Alex & Leah Johnson[/TD]
[TD]123 Broadway St[/TD]
[TD]Santa Clara[/TD]
[TD]IL[/TD]
[TD]54687[/TD]
[/TR]
[TR]
[TD]Jason Mendoza[/TD]
[TD]765 State St[/TD]
[TD]Dorson[/TD]
[TD]MS[/TD]
[TD]87456[/TD]
[/TR]
</tbody>[/TABLE]
Basically, I want the names concatenated, and duplicates removed on unique combination of Address+City+State+ZIP
Anyone have any ideas on how I might be able to achieve this?
Thanks!
Alex
(Office 365 Version 1902, Windows 10)