Get a look at DataTrack feature in Formulas pool thread. It's not very much documented. Because it's too hard to use for standard user. (it's based on LINQ)
viewtopic.php?f=67&t=9262&start=125And here is formula for example to get average hr of split with "Select" note:
{DATATRACK}.Where(o => o.LapNote == "Select").Average(o => o.HR)
And much more could be done with this feature. Note that you can set DataTrack feature resolution to make it more precise and slower or opaque.
Nice day
Peter