I am trying to use Office Script to i) delete a column with a header named "Object Type" and
ii) sum up the cells (all the visible filtered cells) in the column named "Hits".
I'm new to Office Script and am stuck. I get the following error for getColumnByName: Cannot read properties of...