I created a new tab "Main by Reference" and in cell A1 added this:
=QUERY(Temp!A:E,"Select A, B, C, D where E = 'YES'", 1)
It reads the data in your Temp sheet and returns a list, in the same order entered in Temp, of all lines with the Ready column set to YES. Note that while you can add items to columns beyond those returned, any changes to Yes in the Temp tab will change the order of columns A-D in this new tab. By that I mean that if rows 3, 4, 8, and 9 are YES and all others are not, my tab will show these in rows 2, 3, 4, and 5 respectively.
Changing Temp row 6 to YES will then return rows 3, 4, 6, 8, and 9 in that orderThis places the data in Main rows 2, 3, 4, 5, and 6 respectively, moving down the returned data from the last 2 rows. All this is to say that anything placed in Main row 5, cell E will now appear to apply to a different set of data. This is convoluted but if you play with the YES values you will see what happens.