title: Google spreadsheet: Sum of all bold cells
body: <p>I'm trying to learn scripting in Google Spreadsheet, and I have gotten some simple scripts to work, but this one is a real pain.</p>
  
  <p>I want to make a script that uses the onEdit() function to update a specific cell to show the sum of all bold values in the spreadsheet.</p>
  
  <p>Fx:</p>
  
  <p>1
  2
  <strong>3</strong></p>
  
  <p><strong>4</strong></p>
  
  <p>Then the cell would have a value of (3+4) 7.</p>
  
  <p>Hope it makes sense!</p>