# Another Formula Question

#### smpaz7467

##### Board Regular
Ok in Cell B4:B23 I have dates of the month and Cells C4:C23 I have the amounts due for a bill. I would like to have a 2 formulas one for the 1st thru 15th and then the 16th thru 31st and add up the amounts due on the 1st half of the month and then the second half

### Excel Facts

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".
Maybe try this for the first 15 days:

=sumproduct(--(day(B4:B23)< 16),C4:C23)

And this for the remaining days:

=sumproduct(--(day(B4:B23)> 15),C4:C23)

Hope that helps.

Awesome, this board is the greatest

Replies
3
Views
487
Replies
1
Views
160
Replies
3
Views
364
Replies
1
Views
775
Replies
8
Views
365

1,196,476
Messages
6,015,436
Members
441,895
Latest member
Zululander

### We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.

### Which adblocker are you using?

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

### Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

### Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back