Hi,
As Jim mentions, studying up will help, although admittedly the sheer volume of information can be a bit intimidating at first.
Since much of what can be accomplished through scripting can also be done interactively, be sure to check out 1-click formulas, which easily create some of the most commonly encountered formulas.
In your example, you can right-click on any value in the original column and select New Formula Column > Row > Difference from the ensuing menu. This creates a new column with the desired formula, in a single step.
Cheers,
Brady