# HELP!!

#### NL_MERVE

##### New Member
How can I make a function that makes a sum of prices from a month. It's like this:
23,59 1/jan/2002
25,89 8/dec/2002
15,59 10/jan/2002

There have to be a cell like this:
jan 39,31

Sorry, I can't speak good English. I'm from Holland.. but I will learn..
Thnx

### 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".
In the formula below the dates are in A1:A3 and the values to sum are in B1:B3.

The 4 is the month (April) so use 1 for Jan etc.

It has to be entered as an array formula. Ctrl Shift Enter instead of Enter.

=SUM(IF(MONTH(\$A\$1:\$A\$3)=4,\$B\$1:\$B\$3,0))

By the way, I used the Conditional sum addin to help construct the formula.

Regards,

Dave.

Replies
6
Views
205
Replies
3
Views
389
Replies
5
Views
505
Replies
3
Views
384
Replies
10
Views
807

1,219,831
Messages
6,150,485
Members
450,967
Latest member
itzwinger

### 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