Quantcast
Channel: Hot Weekly Questions - Web Applications Stack Exchange
Viewing all articles
Browse latest Browse all 9706

Clear Cell Script Google Sheets

$
0
0

I'm looking to run some script to clear the contents of a cell in column E (i.e. E3) when a cell in column I (i.e. I3) is edited ("Complete" is selected from drop down list). I found this script on another forum but am new to script editing and am not sure how to make it fit my needs (and if I can). Any and all help would be much appreciated.


// when a cell in column A (A:A) is changed, clear the corresponding cell in column Bfunction onEdit(e) {  if(e.range.columnStart === 1) {     e.range.offset(0,1).clearContent();  }}

Viewing all articles
Browse latest Browse all 9706

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>