Download a very simple example here
http://www.gruss-software.co.uk/Excel_S ... atched.xls which does not use any macros.
Cell W51 totals up the matched stakes.
The formula in the trigger column sets the trigger to CANCEL if cell W51 is greater than 0 (ie. something matched) otherwise it sets the trigger to LAY if the lay odds are 3 or lower. So it will lay anything with odds 3 or less then cancel the remaining lays.