I'm not really good at this kind of things and googling didn't return any kind of results. Does anyone know how a to write a script that clears all the cells in a specific column if they are not numbers? And if they are it just clears the formatting.
I would also like to apply the clear formatting part of the script for multiple cells that contain text. For these ones there is no need to check what the cells contain. I just want it to reset to plain text.(The default being 10, Arial)
So far this is all that I have
function onEdit()
{
var sheet = SpreadsheetApp.getActive().getSheetByName('Market');
var isNumber = sheet.getRange('E2:E1000').getValue()
if (isNumber
};
I do not know how the rest of the phrasing should look like. And I am mainly interested in the first part.
Thanks for the help!