Group Data by geographical Area

danturv

New Member
Joined
Sep 11, 2013
Messages
23
Hi,

I have some data with column of town names (40k rows with around 500 unique towns). Is it possible to group the data by a geographical area i.e Northern or Southern area?

Thanks for any help offered
 

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.
Show us a small sample of what your workbook looks like
 
Upvote 0

<colgroup><col style="width:62pt" width="83" span="9"> </colgroup><tbody>
[TD="class: xl63, width: 83"]AB24 5[/TD]
[TD="class: xl63, width: 83"]Aberdeen[/TD]
[TD="class: xl64, width: 83, align: right"]21.8[/TD]
[TD="class: xl63, width: 83, align: right"]2.1[/TD]
[TD="class: xl63, width: 83, align: right"]0[/TD]
[TD="class: xl63, width: 83, align: right"]0[/TD]
[TD="class: xl63, width: 83, align: right"]0[/TD]
[TD="class: xl63, width: 83, align: right"]0[/TD]
[TD="class: xl63, width: 83"]LOW[/TD]

[TD="class: xl63, width: 83"]AB24 5[/TD]
[TD="class: xl63, width: 83"]Aberdeen[/TD]
[TD="class: xl64, width: 83, align: right"]22.1[/TD]
[TD="class: xl64, width: 83, align: right"]10.2[/TD]
[TD="class: xl63, width: 83, align: right"]0[/TD]
[TD="class: xl63, width: 83, align: right"]2[/TD]
[TD="class: xl63, width: 83, align: right"]0[/TD]
[TD="class: xl63, width: 83, align: right"]2[/TD]
[TD="class: xl63, width: 83"]HIGH[/TD]

[TD="class: xl63, width: 83"]AB24 5[/TD]
[TD="class: xl63, width: 83"]Aberdeen[/TD]
[TD="class: xl64, width: 83, align: right"]22.2[/TD]
[TD="class: xl64, width: 83, align: right"]5.1[/TD]
[TD="class: xl63, width: 83, align: right"]0[/TD]
[TD="class: xl63, width: 83, align: right"]1[/TD]
[TD="class: xl63, width: 83, align: right"]0[/TD]
[TD="class: xl63, width: 83, align: right"]1[/TD]
[TD="class: xl63, width: 83"]MEDIUM[/TD]

[TD="class: xl63, width: 83"]AB24 5[/TD]
[TD="class: xl63, width: 83"]Aberdeen[/TD]
[TD="class: xl64, width: 83, align: right"]22.2[/TD]
[TD="class: xl63, width: 83, align: right"]10.1[/TD]
[TD="class: xl63, width: 83, align: right"]0[/TD]
[TD="class: xl63, width: 83, align: right"]2[/TD]
[TD="class: xl63, width: 83, align: right"]0[/TD]
[TD="class: xl63, width: 83, align: right"]2[/TD]
[TD="class: xl63, width: 83"]HIGH[/TD]

[TD="class: xl63, width: 83"]B1 1[/TD]
[TD="class: xl63, width: 83"]Birmingham[/TD]
[TD="class: xl64, width: 83, align: right"]28.9[/TD]
[TD="class: xl63, width: 83, align: right"]5.5[/TD]
[TD="class: xl63, width: 83, align: right"]0[/TD]
[TD="class: xl63, width: 83, align: right"]1[/TD]
[TD="class: xl63, width: 83, align: right"]0[/TD]
[TD="class: xl63, width: 83, align: right"]1[/TD]
[TD="class: xl63, width: 83"]MEDIUM[/TD]

[TD="class: xl63, width: 83"]B1 1[/TD]
[TD="class: xl63, width: 83"]Birmingham[/TD]
[TD="class: xl64, width: 83, align: right"]28.9[/TD]
[TD="class: xl63, width: 83, align: right"]0[/TD]
[TD="class: xl63, width: 83, align: right"]0[/TD]
[TD="class: xl63, width: 83, align: right"]0[/TD]
[TD="class: xl63, width: 83, align: right"]0[/TD]
[TD="class: xl63, width: 83, align: right"]0[/TD]
[TD="class: xl63, width: 83"]LOW[/TD]

[TD="class: xl63, width: 83"]B1 1[/TD]
[TD="class: xl63, width: 83"]Birmingham[/TD]
[TD="class: xl64, width: 83, align: right"]28.9[/TD]
[TD="class: xl63, width: 83, align: right"]12.9[/TD]
[TD="class: xl63, width: 83, align: right"]0[/TD]
[TD="class: xl63, width: 83, align: right"]2[/TD]
[TD="class: xl63, width: 83, align: right"]0[/TD]
[TD="class: xl63, width: 83, align: right"]2[/TD]
[TD="class: xl63, width: 83"]HIGH[/TD]

[TD="class: xl63, width: 83"]CB1 0[/TD]
[TD="class: xl65"]Cambridge[/TD]
[TD="class: xl66, align: right"]45.2[/TD]
[TD="class: xl66, align: right"]0.0[/TD]
[TD="class: xl65, align: right"]0[/TD]
[TD="class: xl65, align: right"]0[/TD]
[TD="class: xl65, align: right"]2[/TD]
[TD="class: xl65, align: right"]2[/TD]
[TD="class: xl65"]HIGH[/TD]

[TD="class: xl63, width: 83"]CB1 0[/TD]
[TD="class: xl65"]Cambridge[/TD]
[TD="class: xl66, align: right"]45.4[/TD]
[TD="class: xl66, align: right"]0.0[/TD]
[TD="class: xl65, align: right"]0[/TD]
[TD="class: xl65, align: right"]0[/TD]
[TD="class: xl65, align: right"]0[/TD]
[TD="class: xl65, align: right"]0[/TD]
[TD="class: xl65"]LOW[/TD]

[TD="class: xl63, width: 83"]CB1 0[/TD]
[TD="class: xl65"]Cambridge[/TD]
[TD="class: xl66, align: right"]45.4[/TD]
[TD="class: xl65, align: right"]0[/TD]
[TD="class: xl65, align: right"]0[/TD]
[TD="class: xl65, align: right"]0[/TD]
[TD="class: xl65, align: right"]0[/TD]
[TD="class: xl65, align: right"]0[/TD]
[TD="class: xl65"]LOW[/TD]

[TD="class: xl63, width: 83"]CB1 0[/TD]
[TD="class: xl65"]Cambridge[/TD]
[TD="class: xl66, align: right"]45.5[/TD]
[TD="class: xl66, align: right"]0.0[/TD]
[TD="class: xl65, align: right"]0[/TD]
[TD="class: xl65, align: right"]0[/TD]
[TD="class: xl65, align: right"]0[/TD]
[TD="class: xl65, align: right"]0[/TD]
[TD="class: xl65"]LOW[/TD]

[TD="class: xl63, width: 83"]CB1 0[/TD]
[TD="class: xl65"]Cambridge[/TD]
[TD="class: xl66, align: right"]45.5[/TD]
[TD="class: xl66, align: right"]7.5[/TD]
[TD="class: xl65, align: right"]0[/TD]
[TD="class: xl65, align: right"]1[/TD]
[TD="class: xl65, align: right"]0[/TD]
[TD="class: xl65, align: right"]1[/TD]
[TD="class: xl65"]MEDIUM[/TD]

[TD="class: xl63, width: 83"]BH15 1[/TD]
[TD="class: xl65"]Poole[/TD]
[TD="class: xl66, align: right"]23.1[/TD]
[TD="class: xl65, align: right"]10.2[/TD]
[TD="class: xl65, align: right"]0[/TD]
[TD="class: xl65, align: right"]2[/TD]
[TD="class: xl65, align: right"]0[/TD]
[TD="class: xl65, align: right"]2[/TD]
[TD="class: xl65"]HIGH[/TD]

[TD="class: xl63, width: 83"]BH15 1[/TD]
[TD="class: xl65"]Poole[/TD]
[TD="class: xl66, align: right"]23.1[/TD]
[TD="class: xl65, align: right"]0[/TD]
[TD="class: xl65, align: right"]0[/TD]
[TD="class: xl65, align: right"]0[/TD]
[TD="class: xl65, align: right"]0[/TD]
[TD="class: xl65, align: right"]0[/TD]
[TD="class: xl65"]LOW[/TD]

[TD="class: xl63, width: 83"]BH15 1[/TD]
[TD="class: xl65"]Poole[/TD]
[TD="class: xl66, align: right"]23.1[/TD]
[TD="class: xl65, align: right"]3[/TD]
[TD="class: xl65, align: right"]0[/TD]
[TD="class: xl65, align: right"]0[/TD]
[TD="class: xl65, align: right"]0[/TD]
[TD="class: xl65, align: right"]0[/TD]
[TD="class: xl65"]LOW[/TD]

[TD="class: xl63, width: 83"]BH15 1[/TD]
[TD="class: xl65"]Poole[/TD]
[TD="class: xl66, align: right"]23.2[/TD]
[TD="class: xl66, align: right"]5.5[/TD]
[TD="class: xl65, align: right"]0[/TD]
[TD="class: xl65, align: right"]1[/TD]
[TD="class: xl65, align: right"]0[/TD]
[TD="class: xl65, align: right"]1[/TD]
[TD="class: xl65"]MEDIUM[/TD]

</tbody>
 
Upvote 0
Which field distinguishes the geographic area? What is the criteria for grouping? If you were to do this manually, what would it look like?
 
Last edited:
Upvote 0
The geographical area can be distiguished by column 1 (UK Postcode) or column 2 (UK Town). Ideally I would like to be able to see the percentage of High, Medium or Low risk (column 9) by area (possibly user defined) such as Scotland, North England, Middle England and South England though I am guessing that this would need to be done with some kind of mapping link?

Thanks
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,169
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