I'm trying to figure out how to count the amount of times a group has clicked on a specific cell containing a cell.
I've gotten it to work with having a separate drawing next to it with the function attached to it, but I don't want to have a button needed for it.
function increment_t1() {
SpreadsheetApp.getActiveSheet().getRange('F5').setValue(SpreadsheetApp.getActiveSheet().getRange('F5').getValue() + 1);
}
And this then pastes the result into column F5 for how many times the button has been pressed.
Is there any way to attach the script to either a cell that contains a text that can be copied normally, or a checkbox that you can check next to it that resets to false every time it's clicked but counts the clicks?