I am working in Google Spreadsheets and I am wanting to create a button that, when activated, will reset the data in a range of cells but keep any math functions assigned to those cells.
I have experimented with the basic clearContent(); scripting but I found that this deletes all data within a cell (text and functions).
Is there a way to keep the functions while just clearing the text?