Data table - combine and keep most recent

i will add a date and then try and get ti pick up on the maxdate, may need to come back to you again, but thamks for the help so far