I was wondering what the best way to make the following run in Excel 2003/2004. Doing a search reveals using the Sumproduct command but I have been unable to get that to work, not sure if it is because columns A & B are text. Any help would be appreciated. Thank you

=SUMIFS(C$2:C$7,$A$2:$A$7,$A2,$B$2:$B$7,$B2)