I wish to create an "onEdit" function that clears cells (Col L to Col O) from a row, if a cell value in Col L is not matching a cell in Col A.
Col A = "ID"
Col L = "ID Match"
Col A to Col K is an imported range. Col L to Col O is a static range. This static range has an onEdit function that sorts the row based on changes to Col L. It is in sync with Col A.
I am new to Script Editor, so detailed descriptions would definitely be appreciated, if you have the time to help.
I would love to open up the document, but it has sensitive information on it and is too complex to re-write.
onEditis doing:sorts the row based on changes to Col L. Also, what does it mean thatIt is in sync with Col A? If I understand you correctly, you want to clear cells (L-O) from a row if the corresponding value in column L doesn't match the corresponding value in column A? What does it have to do withsorting the rowsandsync with Col A? - Iamblichus