Also look in the Excel help for SLOPE function