it's not clear for me, attach a sample file with data and desired result