formulas (added feature from spark-scroll)