Is it possible to use less than greater than within a calculation?