Date Dependant Calculation - excel-formula

I've got a (Excel) sheet with running totals of income and expenses. The data from each day is fed into a weekly running total. I also have monthly expenses that I would like to include into the weekly total expense count/profit count but don't want to put each category of monthly expenses into each day's or week's input fields.
I would like to keep the monthly expenses in it's own input field but add the data to the corresponding week the bills were paid.
I've been at this for weeks but can only find solutions that end with circular references. Bonus challanges: I'm pretty happy with the size of each input field and don't want to add any more fields nor do I want to do macros or any VBA. I really just want a formula to take care of it.
Is there a way to have Excel stop adding to a total after a certain day?
Link to the sheet. https://drive.google.com/file/d/0B5qCnQJhT_vkNHZlaEpnTGRtUjQ/view?usp=sharing

it seems like you are entering your expense directly into your "dashboard" am I right? E.g. the rent 875 in cell H13. If this is the case, without a date, then you can't get Excel to intelligently place the expense to the correct week report in your dashboard.
try creating an input table and all your dashboard figures should come from the input table, utilizing functions like SUMIFS and SUMIF.
Example
Then in your dashboard
formula in H13 would be =SUMIFS(E:E,C:C,"Rent",D:D,"Check")
formula in G4, =SUMIFS(E:E,C:C,"Food",D:D,"Cash")
formula in D23, =SUMIFS(E:E,B:B,51,C:C,"Rent",D:D,"Cash")

Related

How to use Excel to automatically add interest to a total daily

I can't find my answer anywhere, but believe it's a simple solution. I need Excel to automatically calculate the daily interest on an amount (which will go up and down with deposits and withdrawals), and then add it to the total, to display the overall total including interest (compounding). This will change daily when someone looks at the value in Excel due to the daily interest being added.
For example. I have $5000. At 5% APR, the daily interest rate would be .0137%. The day after the $5000 is there, the new total should show $5000.68 if I opened and looked at the spreadsheet. If didn't check the spreadsheet, then on day 2, the total should show $5001.37. If I added $5000 more to the total on day 2 (after interest was added) I would then have $10001.37 and the interest rate for the next day should automatically add on to the new total, compounding daily.
Sample spreadsheet with today as 12/10/22, needing to have total balance update daily
Essentially, I want a spreadsheet that can display the overall balance in an account which compounds daily, allowing withdrawals and deposits at anytime [H2]. How do I accomplish this!?
If you have interest starting date then could use below formula-
=(B2*0.0137%)*(TODAY()-A1)
Here A1 cell is interest starting date.
To see total with interest can use-
=B2+(B2*0.0137%)*(TODAY()-A1)
Make a named value called DailyInterest with a value of 1.000137.
Then make a table like this...
Date
Change
Amount
5/5/2022
$5,000.00
0
Then highlight it and click Insert Table from the ribbon.
Tables will give you a few benefits, some cosmetic, but the one I want to show you is that you can define a formula for a column, and it's ONE formula. It doesn't get copied down to each row, it just seems that way, but the reality is that the formula stored once, internally, and applied to every row.
So, then, change that amount of 0 with
=IFERROR(OFFSET([#Amount],-1,0)*POWER(DailyInterest,[#DATE]-OFFSET([#Date],-1,0),0)+N([#Change])
Within the table, [#Date] refers to the value in the Date column for that row.
I used N() so that nonvalues in the Change column are treated as zeroes.
Now, each time you fill in the Date and Change column, the Amount column will be automatically populated.

Formula Help (Month's Total, Between Two Dates)

I am trying to generate a report that will show that month's total gas billed. I have two excel sheets in the same document.
The goal is to total a month's gas billing at a specific location for that month.
Conditions in the formula are Location Name, Beginning of the month, and end of the month.
=SUMIFS(Data!M:M,Data!L:L,"Olive Branch",">="&C3,'Data'!F:F,"<="&EOMONTH(C3,0))
This formula above is the formula not working for me. I am not sure what I can change. I've tried to mimic resources online the best that I could, but I'm missing something. This data is coming from an Excel form that I created as well.
Column M is Receipt Total.
Column L is Location.
C3 is The month criteria on the front sheet.
Column F is the purchase date of the gas
Front Sheet
Data Table
Including rest of data table
You needed to reference the Data!F:F range for each check against the date range, but the formula you gave only did this once.
=SUMIFS(Data!M:M,Data!L:L,"Olive Branch",Data!F:F,">="&C3,Data!F:F,"<"&EDATE(C3,1))

SumIfs Formula Issue

I have a monthly spreadsheet that has a link taking you to another spreadsheet with totals, could be one total by vendor, could be several according to the month. Constantly changes. I want to be able to bring those totals to the Summary spreadsheet and sum each month by vendor but it is a manual process since lines per Vendor change each month.
=SUMIFS(INDEX(D4:E9,MATCH(G4,C4:C9,0),MATCH(G5,D3:E3,0)))
THIS IS TELLING ME I HAVE ENTERED TOO FEW ARGUMENTS
=SUMIFS(INDEX(D4:E9,MATCH(G4,C4:C9,0),MATCH(G5,D3:E3,0)))
DOES NOT WORK...TOO FEW ARGUMENTS??

Sum Variable-Length Week's Expenses

I'm trying to make an excel spreadsheet for someone else without much Excel experience. It's a relatively basic expense spreadsheet, with rows being a given date's expenses, and columns being the types of expenses and their amounts. I'd like to automate as much as possible with formulas or VBA.
Here is an example:
I understand how to sum up all expenditures in the table, but I'd also like to break them down on a week-by-week basis. The table will probably be added to rather infrequently, so there will be missing days. I'm not sure how to sum the weekly totals when there may be any number of entries for a given week.
For the example above, I'd like to have a column somewhere on the spreadsheet that has Week 1's sum (1/4/2015 and 1/5/2015) as one entry, and Week 2's sum (1/14/2015 and 1/16/2015) as a second entry.
Is this possible to automate with a formula or script?
I'd use a pivottable ("Insert" ribbon, "PivotTable" button on left)

Filtering a set of data

So I have a document that I work with, in which I input daily data. This data is recorded for the entire year in one spreadsheet. This data is also used to calculate monthly values for graphs and such. In order to make the input of this data simpler and less repetitive, I wanted to link the monthly spreadsheet to the yearly one, so that one only needs to fill out the yearly compilation of data.
Is there any way to write a formula that goes through the data in the yearly spreadsheet and only pulls out the data for a certain month? If so, what is the best function to use?
Assuming you have two columns, one has the date the other an amount as below:
Using SUMIFS(sum_range, criteria_range1, criteria1, criteria_range2, criteria2) will allow you to sum all amounts in the sum range ($B$2:$B$10) for any dates that fall in between two dates you specify in E1 and E2.
The formula would be: =SUMIFS(B2:B10,A2:A10,">="&E1,A2:A10,"<="&E2)
I would use =Vlookup() if you are just pulling data from the yearly into the monthly. If you are trying to calculate daily data into monthly data you could us the countif() or sumif() functions depending on what you want to accomplish. So if you are trying to add up all of the daily data to get the monthly amount you would do something like:
=sumif(range,critera,[sumrange]) range would be the celss that that months are in criteria would be the month and sumrange would be the values of the months.

Resources