title: Spreadsheet script that checks if a cell is a number if not it clears the content, if it is a number clears the formatting
body: <p>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.</p>
  
  <p>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)</p>
  
  <p>So far this is all that I have</p>
  
  <pre><code>function onEdit()
  {
    var sheet = SpreadsheetApp.getActive().getSheetByName('Market');
  
    var isNumber = sheet.getRange('E2:E1000').getValue()
    if (isNumber
  
  };
  </code></pre>
  
  <p>I do not know how the rest of the phrasing should look like. And I am mainly interested in the first part.</p>
  
  <p>Thanks for the help!</p>