Fix repeat values in excel exported file