问题 I'm using Google Sheets and this is way beyond my simple scripting. I have numerous cells containing comma separated values; AA, BB, CC, BBB, CCC, CCCCC, AA, BBB, BB BB, ZZ, ZZ, AA, BB, CC, BBB, CCC, CCCCC, AA, BBB, BB I'm trying to return: AA, BB, CC, BBB, CCC, CCCCC etc. BB, ZZ, AA, CC, BBB, CCC, CCCCC etc. ... remove the duplicates. Per cell. I can't get my head around a solution. I've tried every online tool that removes duplicates. BUT they all remove duplicates throughout my document.