Hi Khurshid,I've updated the question with the rows that i'm using in the testrows = [ ["12/31/2020", "100011173", "1", "2", "3", "4"], ["01/29/2021", "100011173", "1", "3", "4", "5"], ["01/30/2021", "100011173", "2", "6", "5", "6"], ["01/31/2021", "100011173", "3", "4", "5", "6"], ["...