I need help fixing the following formula, I would like to return 0 if ay5 or ay20 is complete otherwise return the sum of aw20:ax20

=IF(OR(AY5="*complete*",AY20="*complete*"),0,SUM(AW20:AX20))

the following formula returns the the sum of aw20:ax20 regardless of whether the formula is true or false.