How to concatenate two row data in particular column

Hi @Tapan_Behera1

Thanks , concatenate is fine but after concatenate to above then below entire row should remove that only not worked and remove duplicate based on YY no.

Please help me on this

Input
image

Output
image