If the Range n and Criterion n arguments are not correctly paired, then SUMIFS reports a variable missing error (Err:511).