Thanks for the reply:
Main Tab
[TABLE="width: 500, align: center"]
<tbody>[TR]
[TD][TABLE="width: 70"]
<tbody>[TR]
[TD="width: 70"]Column L (Lat)
[/TD]
[/TR]
[TR]
[TD="width: 70"]31.6639[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]Column M (Long)
[TABLE="width: 82"]
<tbody>[TR]
[TD="width: 82"]-93.7729[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]Column O (Company)
Delta[/TD]
[/TR]
[TR]
[TD][TABLE="width: 70"]
<tbody>[TR]
[TD="width: 70"]31.7509[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 82"]
<tbody>[TR]
[TD="width: 82"]-93.5517[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]Delta[/TD]
[/TR]
[TR]
[TD][TABLE="width: 70"]
<tbody>[TR]
[TD="width: 70"]31.7219[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 82"]
<tbody>[TR]
[TD="width: 82"]-93.6876[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]Beta[/TD]
[/TR]
[TR]
[TD][TABLE="width: 70"]
<tbody>[TR]
[TD="width: 70"][TABLE="width: 64"]
<tbody>[TR]
[TD="width: 64, align: right"][TABLE="width: 70"]
<tbody>[TR]
[TD="width: 70"]31.7801[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 82"]
<tbody>[TR]
[TD="width: 82"]-93.6366[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]Gamma[/TD]
[/TR]
[TR]
[TD][TABLE="width: 70"]
<tbody>[TR]
[TD="width: 70"]32.4647[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 82"]
<tbody>[TR]
[TD="width: 82"]-93.9937[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]Beta[/TD]
[/TR]
[TR]
[TD][TABLE="width: 70"]
<tbody>[TR]
[TD="width: 70"]32.4502[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 82"]
<tbody>[TR]
[TD="width: 82"]-93.9938[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]Delta[/TD]
[/TR]
[TR]
[TD][TABLE="width: 70"]
<tbody>[TR]
[TD="width: 70"][TABLE="width: 70"]
<tbody>[TR]
[TD="width: 70"]32.3631[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 82"]
<tbody>[TR]
[TD="width: 82"][TABLE="width: 82"]
<tbody>[TR]
[TD="width: 82"]-93.975[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]Gamma[/TD]
[/TR]
[TR]
[TD][TABLE="width: 70"]
<tbody>[TR]
[TD="width: 70"]32.4324[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 82"]
<tbody>[TR]
[TD="width: 82"]-93.6563[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]Beta[/TD]
[/TR]
[TR]
[TD][TABLE="width: 70"]
<tbody>[TR]
[TD="width: 70"]32.4205[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 82"]
<tbody>[TR]
[TD="width: 82"]-93.8403[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]Gamma[/TD]
[/TR]
</tbody>[/TABLE]
Recent Activity Tab:
[TABLE="width: 500, align: center"]
<tbody>[TR]
[TD]Column C (Lat)[/TD]
[TD]Column D (Long)[/TD]
[TD]Column E (Company)[/TD]
[/TR]
[TR]
[TD][TABLE="width: 64"]
<tbody>[TR]
[TD="width: 64, align: right"]32.2222[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 64"]
<tbody>[TR]
[TD="width: 64, align: right"]-93.5752[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]Gamma[/TD]
[/TR]
[TR]
[TD][TABLE="width: 64"]
<tbody>[TR]
[TD="width: 64, align: right"]32.12232[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 64"]
<tbody>[TR]
[TD="width: 64, align: right"]-93.5868[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]Gamma[/TD]
[/TR]
[TR]
[TD][TABLE="width: 64"]
<tbody>[TR]
[TD="width: 64, align: right"]32.25154[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 64"]
<tbody>[TR]
[TD="width: 64, align: right"]-93.4116[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]Beta[/TD]
[/TR]
[TR]
[TD][TABLE="width: 64"]
<tbody>[TR]
[TD="width: 64, align: right"]32.25085[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 64"]
<tbody>[TR]
[TD="width: 64, align: right"]-93.4709[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]Beta[/TD]
[/TR]
[TR]
[TD][TABLE="width: 64"]
<tbody>[TR]
[TD="width: 64, align: right"]32.27449[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 64"]
<tbody>[TR]
[TD="width: 64, align: right"]-93.6285[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]Beta[/TD]
[/TR]
[TR]
[TD][TABLE="width: 64"]
<tbody>[TR]
[TD="width: 64, align: right"]32.24886[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 64"]
<tbody>[TR]
[TD="width: 64, align: right"]-93.8857[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]Gamma[/TD]
[/TR]
[TR]
[TD][TABLE="width: 64"]
<tbody>[TR]
[TD="width: 64, align: right"]32.16435[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 64"]
<tbody>[TR]
[TD="width: 64, align: right"]-93.8551[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]Delta[/TD]
[/TR]
[TR]
[TD][TABLE="width: 64"]
<tbody>[TR]
[TD="width: 64, align: right"]31.91699[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 64"]
<tbody>[TR]
[TD="width: 64, align: right"]-93.5922[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]Delta[/TD]
[/TR]
[TR]
[TD][TABLE="width: 64"]
<tbody>[TR]
[TD="width: 64, align: right"]32.10503[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 64"]
<tbody>[TR]
[TD="width: 64, align: right"]-93.3515[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]Delta[/TD]
[/TR]
[TR]
[TD][TABLE="width: 70"]
<tbody>[TR]
[TD="class: xl95, width: 70"][TABLE="width: 64"]
<tbody>[TR]
[TD="width: 64, align: right"]32.21104[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 64"]
<tbody>[TR]
[TD="width: 64, align: right"]-93.9701[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]Gamma[/TD]
[/TR]
</tbody>[/TABLE]
I can figure out the closest distance to each one, but want to limit to when only the closest one where the company is the same.
Does this help?
I added the underlined text to the formula this morning and it seems to help but also returns several "False" answers.
{=IF('Recent Activity'!$E$3:$E$651=$O2,INDEX(ACOS(COS(RADIANS(90-L3))*COS(RADIANS(90-'Recent Activity'!$CN$3:$CN$650))+SIN(RADIANS(90-L3))*SIN(RADIANS(90-'Recent Activity'!$C$3:$C$650))*COS(RADIANS(M3-'Recent Activity'!$D$3:$D$650)))*3958.75,MATCH(SMALL((ABS('Recent Activity'!$C$3:$C$650-L3)^2+ABS('Recent Activity'!$D$3:$D$650-M3)^2)^(0.5),1),(ABS('Recent Activity'!$C$3:$C$650-L3)^2+ABS('Recent Activity'!$D$3:$D$650-M3)^2)^(0.5),0))}