If one has daily high temperatures in column A and low temperature in column B, copy the following in column C to derive daily GDU value.=IF((A1+B1)/2-50<0,0,(A1+B1)/2-50)