I want to sum data from one column based on criteria met from two other columns. I tried the following, but I'm getting an error: "Wrong number of arguments to SUMIF. Expected between 2 and 3 arguments, but got 5 arguments."

This is the formula I used:

```
=SUMIF(C2:C1013,"January",B2:B1000,"Earned_-_Summer_Intensive",D2:D1015)

```

Basically if the criteria from columns C and B are met then I want it to total the amounts in column D.