title: Map or Fold in Google Spreadsheets
body: <p>I want to perform the equivalent of the map or fold operations (in the functional programming sense) in Google Spreadsheets. I have a relatively simple expression that I'd like to apply to many columns (the expression is based on values in a single column) and then sum those results. The sum part is easy if I can perform a map operation (fold would be quicker, but map works fine). The real question is: how do I do this mapping?</p>
  
  <p>I'm basically trying to accomplish something like (in pseudocode):</p>
  
  <pre><code>map(functionOfColumn, C1:K1)
  </code></pre>