Can you please show us some sample data so that we can understand your requirement.
Also provide the output what you want with logic.
Can you please show us some sample data so that we can understand your requirement.
Also provide the output what you want with logic.