In cell g6 enter a formula using the sumif function. select October, hold shift, select December 4.