sum or product a range