In a worksheet 'Sheet1', with current race data displayed, a column of values 20 rows long, has a formula in each cell:
=IF(MATCH(A1,Sheet2!A$1:Sheet2!A$20,0),"LAY".
Next column cell:
=IF(MATCH(A2,Sheet2!A$1:Sheet2!A$20,0),"LAY".....and so on down to row 20
However the table of values on Sheet2, updates after each race and another table of 20 rows is added. I need the formula in each cell of the next race to be:"
=IF(MATCH(A1,Sheet2!A$21:Sheet2!A$40,0),"LAY".
Next column cell:
"=IF(MATCH(A2,Sheet2!A$21:Sheet2!A$40,0),"LAY"...and so on down to row 40
In other words, the active range of cells on Sheet1, is always matching with the next updated range of cells on Sheet2. I would prefer a non vba solution as the active worksheet has a lot of other vba happening that I've finally got stable and don't want to disturb it...LOL