I get no error message, but the cell has no value until i delete the formula out of A2

Formula A1 and A2 are summing information from a previous page.

A1 =SUMIF(CHR!$D$17:$D$5000,C10,CHR!$K$17:$K$5000)
A2 =SUMIF(CHR!$D$17:$D$5000,C10,CHR!$L$17:$L$5000)

C10 contains an item code