Is there an API method that does the equivalent of what one might expect a method called sheet.getRange().getValuesOrFormulas()
to do? That is (psuedo-code):
for each cell in the range
if(cell.getFormula() != '')
cell.getFormula();
else cell.getValue()
If not, does anyone have a custom function they'd be willing to share?