Is it possible for you to slightly modify the sample data here and add in some examples of duplicate data such as the type you are working with? I need a few more details to be able to help and better understand the request.
We looked at this requirement once again and thought, it is too complicated to have in a tooltip. We decided not to have it anymore.
Thank you very much for your response.