Hi LuCD,
Thank you for the response. I have attached my csv as well as made some minor changes to the code but still it is not working.
Hence request you to please ignore my errors in it and modify as necessary to show the mentioned output in my First Post?