Another easy one

lazor99

Board Regular
Joined
Nov 3, 2005
Messages
63
I hope my posts are getting alittle better,

I have days of the year in A1:A365
I have daily sales numbers in B1:B365

what formula would i use to sum up all the daily numbers (B1:B365) to achieve the monthly totals thoughout the year.

C1 = Novembers total
C2 = Decembers total
and so on!!

Thanks for your help again.
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.
For November's total (array entered):
=SUM(IF(MONTH(A1:A365)=11,B1:B365,0))

Change the 11 to 12 for December. Hope that helps!
 
Upvote 0
You mean for the month it is right now? Once again, array enter:

=SUM(IF(MONTH(A1:A365)=MONTH(TODAY()),B1:B365,0))
 
Upvote 0
lazor99 said:
I hope my posts are getting alittle better,

I have days of the year in A1:A365
I have daily sales numbers in B1:B365

what formula would i use to sum up all the daily numbers (B1:B365) to achieve the monthly totals thoughout the year.

C1 = Novembers total
C2 = Decembers total
and so on!!

Thanks for your help again.

How about a Pivot Table.
 
Upvote 0

Forum statistics

Threads
1,214,279
Messages
6,118,643
Members
448,844
Latest member
Jayee04e

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