I am assuming
Duplicate means the entire row matches with an entire row, not only cells
You want to show the message after all the rows are filled, not after each row
I would suggest the following in javascript
1. For each row concatenate values of the 3 cells into one string
2. Get all these strings into one string array
3. Use code like
this[
^] to find out the duplicate entries and highlight those rows on your screen. You can also find many other such code snipets in JS to find out duplicate entries.
[Please encourage participation by accepting/up-voting answers or solutions that work for you]