Hi i knocked up this formula to get the sum of a columnof cells only if the values in the cells next to them were less than 20.
=(IF(J15<20,K15,0)+IF(J16<20,K16,0)+IF(J17<20,K17,0)+IF(J18<20,K18,0)+IF(J19<20,K19,0)+IF(J20<20,K20,0)+IF(J21<20,K21,0))
I'm sure there's a way of condensing it but...