This is certainly very easy to would within the Do just fine-an easy TRIMMEAN function will do the key