I do not think you need a macro for this. The formula basically count row-by-row and will give you a count of >1 if the same combinations are repeating. Since the countifs function is wrapped with if condition whenever the countifs gives a count >1 it will give you overlapped else blank, hope I explained it for you.