Totaling Heat Types by Towns

mkeohan

New Member
Joined
Jun 14, 2018
Messages
13
Hello Everyone,

I have a large list of addresses that have heat system types associated with them. I want to be able to get it into a format where it is just the town name and a total number of each heat type. I would normally do this manually but there are over 1 million addresses in this file. This forum wont let me post attachments for whatever reason so I have copied it below.

MA023512308745
MA023512308844
MA023512307719
MA023511526267
MA023511526366
MA023511525475
MA023512229374
MA023512229338
MA023512514142
Pond StMA0232202322-16241624431
Pond StMA0232202322-16241624297
Pond StMA0232202322-16241624954
KING STMA0232202322-12051205058
MA0232202322-12441244064
MA0232202322-12441244082

<colgroup><col style="width:48pt" width="64" span="5"> <col style="width:48pt" width="64"> <col style="width:48pt" width="64" span="6"> <col style="width:48pt" width="64"> </colgroup><tbody>
[TD="width: 64"][/TD]
[TD="width: 64"][/TD]
[TD="width: 64"][/TD]
[TD="width: 64"][/TD]
[TD="width: 64"][/TD]
[TD="class: xl63, width: 64"]Town[/TD]
[TD="width: 64"][/TD]
[TD="width: 64"][/TD]
[TD="width: 64"][/TD]
[TD="width: 64"][/TD]
[TD="width: 64"][/TD]
[TD="width: 64"][/TD]
[TD="width: 64"]HEAT SYS[/TD]

[TD="colspan: 2"]CONSTITUTION AVE[/TD]
[TD="class: xl63"]ABINGTON[/TD]

[TD="class: xl63"]ELC[/TD]

[TD="colspan: 2"]CONSTITUTION AVE[/TD]
[TD="class: xl63"]ABINGTON[/TD]

[TD="class: xl63"]ELC[/TD]

[TD="colspan: 2"]CONSTITUTION AVE[/TD]
[TD="class: xl63"]ABINGTON[/TD]

[TD="class: xl63"]ELC[/TD]

[TD="colspan: 2"]Jennings Dr[/TD]
[TD="class: xl63"]Abington[/TD]

[TD="class: xl63"]Gas[/TD]

[TD="colspan: 2"]Jennings Dr[/TD]
[TD="class: xl63"]Abington[/TD]

[TD="class: xl63"]Gas[/TD]

[TD="colspan: 2"]Jennings Dr[/TD]
[TD="class: xl63"]Abington[/TD]

[TD="class: xl63"]Gas[/TD]

[TD="colspan: 2"]CENTRE AVE[/TD]
[TD="class: xl63"]ABINGTON[/TD]

[TD="class: xl63"]Oil[/TD]

[TD="colspan: 2"]CENTRE AVE[/TD]
[TD="class: xl63"]ABINGTON[/TD]

[TD="class: xl63"]Oil[/TD]

[TD="colspan: 2"]CHERRY ST[/TD]
[TD="class: xl63"]ABINGTON[/TD]

[TD="class: xl63"]Oil[/TD]

[TD="class: xl63"]Avon[/TD]

[TD="class: xl63"]Gas[/TD]

[TD="class: xl63"]Avon[/TD]

[TD="class: xl63"]Gas[/TD]

[TD="class: xl63"]Avon[/TD]

[TD="class: xl63"]Gas[/TD]

[TD="class: xl63"]AVON[/TD]

[TD="class: xl63"]Oil[/TD]

[TD="colspan: 2"]BLANCHARD ST[/TD]
[TD="class: xl63"]AVON[/TD]

[TD="class: xl63"]Oil[/TD]

[TD="colspan: 2"]BLANCHARD ST
[/TD]
[TD="class: xl63"]AVON[/TD]

[TD="class: xl63"]Oil
[/TD]

</tbody>

The desired result would be:

Abington
Avon

<colgroup><col style="width:48pt" width="64" span="4"> </colgroup><tbody>
[TD="width: 64"][/TD]
[TD="width: 64"]ELEC[/TD]
[TD="width: 64"]GAS[/TD]
[TD="width: 64"]OIL[/TD]

[TD="align: right"]3[/TD]
[TD="align: right"]3[/TD]
[TD="align: right"]3[/TD]

[TD="align: right"]3[/TD]
[TD="align: right"]3
[/TD]

</tbody>

The two columns in questions are F=Towns and M=Heat Type

Please let me know if any of you can help. Thanks!
 
I was working off the assumption that in your summary table, you have the three heat types across the top (CF1:CH1) , and list of the cities down the left-side column (starting in CE2 and going down).
If you do not have that unique list of cities, one easy way to get is to copy the values from column F over to column CE, and use the "Remove Duplicates" features.
 
Upvote 0

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type

Similar threads

Forum statistics

Threads
1,223,911
Messages
6,175,333
Members
452,636
Latest member
laura12345

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