SUMIFS having dropdownlist of expenses and income by month

cmine20

New Member
Joined
Dec 24, 2020
Messages
1
Office Version
  1. 2019
Platform
  1. Windows
  2. Mobile
  3. Web
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))

please help me with this if there is another alternative I'm In, I'll take that.
 

Attachments

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

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.
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))
 
Upvote 0
Solution

Forum statistics

Threads
1,223,230
Messages
6,170,883
Members
452,364
Latest member
springate

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