I would take each town and for every other town commute
SUM(ABS(diff_in_parm)) for all parms. Then for find which other town has the
lowest value for this statistic.
Unfortunately you would have 100! pairs to look at. This is about 10^158
which is possibly more than all the grains of sand on earth. If you compared
1 million in a second it would take about 8 universe-life-times.
Happy hunting and best wishes
--
Bernard V Liengme
www.stfx.ca/people/bliengme
remove caps from email
"HotRod" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>I have a really intersting request here and I'm wondering if there is an
>excel answer before I go for a VBA one. I have a list of 100+ locations and
>12 data variables that define demographic information. Is there a way to
>sort the towns or query them so that I can find a town that most closely
>resembles town #1 or has the closest maching variables?
>
> e.g.
> 35320085 0.80 0.00 0.00 12.00 0.02 0.02 9.00 0.02 0.02 9.00 -0.15
> 0.15 8.00
> 35320087 0.82 -0.02 0.02 10.00 0.00 0.00 12.00 0.00 0.00 11.00 -0.17
> 0.17 6.00
> 35320088 0.82 -0.02 0.02 11.00 0.00 0.00 11.00 0.00 0.00 12.00 -0.17
> 0.17 7.00
> 35320090 0.65 0.15 0.15 5.00 0.17 0.17 5.00 0.17 0.17 5.00 0.00 0.00
> 12.00
>
>