HELP!!

NL_MERVE

New Member
Joined
Sep 5, 2002
Messages
1
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

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.
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.
 
Upvote 0

Forum statistics

Threads
1,214,782
Messages
6,121,532
Members
449,037
Latest member
tmmotairi

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.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

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

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

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
Back
Top