SUMIFS having dropdownlist of expenses and income by month

cmine20

New Member
I have a problem with my sumifs I want to sum a specific dropdownlist and sum the whole month this is my code.

C - Amount
B - Dropdownlist (Expensive and Income)
A - Date
E - Months

=SUMIFS(C2:C7,B2:B7,F1,A2:A7,">="&E2,A2:A7,"<="&EOMONTH(E2,0))

Attachments

• Screenshot_2020-12-25-11-53-29-44_f90b96e7af3c5a594eb0c92de7fc5fe1.jpg
158.5 KB · Views: 8

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.

arthurbr

Well-known Member
How about making your range an Excel Table and use it as source for a Pivot Table

Peter_SSs

MrExcel MVP, Moderator
I think that your formula is close. It depends on exactly what you have in E2 & E3 and you do need some \$ signs.
In E2 & E3 put the date for the first day of the month. (If you want, you can then format that column with a custom format of "mmm" and it will look exactly like your screen shot.
Then use the formula shown below, copied across and down.

BTW, you will generally get faster & better responses in the forum if you provide your sample data with XL2BB so that helpers can easily copy for testing.

20 12 25.xlsm
ABCDEFG
1ExpensesIncome
21/01/2021Expenses1001/01/2021220300
32/01/2021Expenses1201/02/2021100400
43/01/2021Income300
51/02/2021Income200
62/02/2021Expenses100
73/02/2021Income200
Summary
Cell Formulas
RangeFormula
F2:G3F2=SUMIFS(\$C\$2:\$C\$7,\$B\$2:\$B\$7,F\$1,\$A\$2:\$A\$7,">="&\$E2,\$A\$2:\$A\$7,"<="&EOMONTH(\$E2,0))

Replies
9
Views
281
Replies
3
Views
110
Replies
0
Views
167
Replies
8
Views
354
Replies
3
Views
93

1,147,451
Messages
5,741,188
Members
423,647
Latest member
lyanndominique

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.

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