Have found a good Microsoft article about SharePoint calculated field formulas: Calculated Field Formulas I didn't have a lot of need to work with calculated fields, and when I needed them it was simple stuff like field1+field2, but I had no clue about how to make more complex functions. Now I have. :)
This blog is about SharePoint and related technologies.