COUNTIFS($A$2:$A$15000,A2,$K$2:$K$15000,"<"&K2)+COUNTIFS($A$2:A2,A2,$K$2:K2,K2) yes this is the correct formula, dofus me. Our PIR's are at each sectional point, they can be in the middle of a turn or just prior they all vary somewhat in distance, I only noticed because I use "metres from Leader PIR's" as a variable when I saw 5.04 or whatever it was, I was thinking the other dogs must have been flying , yes I noticed your workbook had a few other columns or formulas. And I normally would make all the tables Pivot and when I would sort some names wouldnt sort, which meant you had cut and moved them in the tables or something, had me scratching my head for a moment but all good.