SUMIF Formula Help

Sundance_Kid

Board Regular
Joined
Sep 2, 2017
Messages
128
Office Version
  1. 365
Platform
  1. Windows
Hi, I am possibly using the completely wrong formula or it is not possible to do what I want.

Basically I am trying to Sumif the number based on the month, so for example the month of October I am expecting the number of 75 but am only getting 15, as the formula is just adding row 3 column C:E and not all the rows from 3-28.

Can someone please explain what I am doing wrong or what I should be doing?

Thanks
 

Attachments

  • Excel SUMIF Formula Help.PNG
    Excel SUMIF Formula Help.PNG
    32.2 KB · Views: 17

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.
How about
Excel Formula:
=SUMPRODUCT((C2:AG2=B30)*(C3:AG28))
 
Upvote 0
How about
Excel Formula:
=SUMPRODUCT((C2:AG2=B30)*(C3:AG28))
Thanks Fluff.

I presume the fact SumIf was not working is because SumIf cannot add multiple columns but can add multiple rows.
 
Upvote 0
As I understand it, the sumif function will only add cells in the same size range as the criteria range, any other cells will be ignored. It is also volatile when the ranges are not the same size.
 
Upvote 0

Forum statistics

Threads
1,214,863
Messages
6,121,978
Members
449,058
Latest member
oculus

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