sumifs dates

whytewolves

New Member
Joined
Sep 16, 2015
Messages
21
Office Version
  1. 365
  2. 2019
Platform
  1. Windows
  2. Mobile
I am creating a transactions spreadsheet
I get paid on the first of every month
Usually, that payment actually comes in the last few days of the previous month
So when I go to sort my list by month, most of my payments are not listed because they were paid at the end of previous month
I need a fix for this please


Book1
ABCDEFGHIJKLMNO
1MonthYearDateTypeBankAcctAcct #DescriptionCategorySub-CategoryBank2Deposit(+)Debit(-)CheckBalance
2 January 2022Friday, January 28, 2022IncomeBank of AmericaChecking1234Direct DepositVAVA Compensation$ 4,961.73$ 34,821.89
3 January 2022Saturday, January 29, 2022ExpenseBank of AmericaChecking1234MortgageLoansHousingChase Bank$ 1,236.00$ (1,236.00)$ 34,821.89
4 February 2022Tuesday, February 1, 2022ExpenseBank of AmericaChecking1234ElectricHousingAlliant Energy$ (136.32)$ 34,685.57
5 January 1900$ 34,685.57
6
7
8MonthYearBank AccountsBankAcct NameAcct #Starting BalanceDepositDebitBalance
9January2022Bank of AmericaChecking1234$ 6,892.73$ 4,961.73$ (1,236.00)$ 10,618.46
10Change Month to VerifyChase BankSavings12345$ 3,561.79$ -$ 3,561.79
11Wells FargoEmergency Fund3456$ 15,679.91$ -$ 15,679.91
12Total$ 29,860.16
13
14Bank Loans
15BankAcct NameAcct #Starting BalanceOweDepositBalance
16Bank of AmericaCar Loan4567$ 35,249.62$ 12,376.00$ -$ 12,376.00
17Chase BankMortgage5678$ 467,932.00$ 162,349.70$ 1,236.00$ 161,113.70
18Wells FargoPersonal Loan6789$ 10,537.00$ 3,248.82$ -$ 3,248.82
Sheet1
Cell Formulas
RangeFormula
A2:A5A2=TEXT([@Date],"mmmm")
B2:B5B2=IFERROR(YEAR([@Date]),"")
O2O2=Table2[[#Totals],[Balance]]+L2+M2
O3:O5O3=O2+[@[Deposit(+)]]+[@[Debit(-)]]
J9J9=SUMIFS(Table1[Debit(-)],Table1[Month],A9,Table1[Year],B9,Table1[Type],"expense",Table1[Bank],E9,Table1[Acct '#],G9)
I9:I11I9=SUMIFS(Table1[Deposit(+)],Table1[Month],A9,Table1[Year],B9,Table1[Type],"income",Table1[Bank],E9,Table1[Acct '#],G9)
K9:K11K9=H9+I9+J9
K12K12=SUBTOTAL(109,[Balance])
J16:J18J16=SUMIFS(Table1[Deposit(+)],Table1[Month],$A$9,Table1[Year],$B$9,Table1[Type],"expense",Table1[Category],"loans",Table1[Bank2],E16)
K16:K18K16=I16-J16
Cells with Data Validation
CellAllowCriteria
D2:D5ListExpense, Income
E2ListWells Fargo, Bank of America, Chase Bank
F2:F5ListChecking, Savings1, Savings2, Emergency Fund, Credit_Cards
E3:E5ListWells Fargo, Bank of America, Chase
K2:K5ListWells Fargo, Bank of America, Chase Bank
I2:I3ListCredit_Cards,Loans, Other, Savings_Apps, Transfer, VA, Wages
I4ListCredit_Cards,Loans, Other, Savings_Apps, Housing, Transfer, VA, Wages
I5ListCredit_Cards,Loans, Other, Savings_Apps, Transfer, VA, Wages
A9ListJanuary, February, March, April
B9List2022, 2023, 2024
 

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.
Use something like this:
MrExcelPlayground6 (version 1).xlsb
GH
1DateCredited month
21/24/20221/1/2022
31/25/20222/1/2022
41/30/20222/1/2022
52/2/20222/1/2022
Sheet23
Cell Formulas
RangeFormula
H2:H5H2=EOMONTH(G2+7,-1)+1
 
Upvote 0
Use something like this:
MrExcelPlayground6 (version 1).xlsb
GH
1DateCredited month
21/24/20221/1/2022
31/25/20222/1/2022
41/30/20222/1/2022
52/2/20222/1/2022
Sheet23
Cell Formulas
RangeFormula
H2:H5H2=EOMONTH(G2+7,-1)+1
So, I have the drop down to choose which month I am in: how do I add this formula to a drop down with the months listed????
Or, do I have is in the cell next to it and that be the cell referenced????
 
Upvote 0
I'd use this formula on the date of the transaction (put a column next to transaction date, call it "transaction month" and format the date without any day. Then when you select a month, transactions that occur in the last week of a month will be counted in the next month.
 
Upvote 0
I'd use this formula on the date of the transaction (put a column next to transaction date, call it "transaction month" and format the date without any day. Then when you select a month, transactions that occur in the last week of a month will be counted in the next month.
Not getting it to work at all. Not bringing any information into the cells now.
 
Upvote 0

Forum statistics

Threads
1,214,807
Messages
6,121,679
Members
449,047
Latest member
notmrdurden

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