I'm trying to write a sumif formula so that if cell N1 equals 2 then multiply cells A1 and C1 and if cell N2 equals 2 then multiply A2 and C2, then add the two results. Any suggestions?