It doe not care about the dates, just the codes in H. "This code is entered in column H row 82"

And it does not care about merged cells - just reference the left column of the merge, and you should be OK.