I'm putting together a monthly pro forma in Excel for a multifamily property where 10 units will be renovated and each unit renovation takes 45 days. After the unit is renovated, the unit will bring in an additional $100/mo. I managed to calculate the unit-months of vacancy per month via multiple rows of IFS statements and using the actual number of days for each renovation (I used 45 days in the calculation instead of having to roundup to 2 months).
I'm trying to come up with an algorithm to calculate the cumulative rent premium for renovated units in each month using 45 days of unit down time rather than rounding the down time to 2 months.
The solution is easy if I round the downtime to 2 months: The beginning of the row is summed until 2 cells before the current month and we simply multiply by the premium of $100. But I cannot come up with a solution that uses the actual days (45) as I did for unit-months of vacancy.
I'm not even sure if this can be done unless the pro forma is done daily. Is this correct or is there an algorithm to calculate this on a monthly basis as its laid out?
I'd appreciate any help. Thank you for your consideration.
Related
TLDR: I need a way to track date values in a dynamic calendar and count the days I've worked on on a monthly base.
So I've made a dynamic calendar (in the 1904 Date system to enable negative time handling) to help me track days and hours worked in Excel that has some automatic features. I would now like to add a calculator to calculate the accumulation of vacation days based on the following conditions:
Days worked per month >= 14
OR
The total hours worked per month >= 35
If one or both of these conditions are met I will receive 2 vacation days (2.5 after the 1st year of employment) and the accumulated vacation days should be shown in a single cell C7 (see picture for reference).
I know that I need to calculate the days that I've worked on on a monthly base and compare the result to the 1st condition (and the same for the worked hours and compare the result to the 2nd condition, but the solution for that is much the same as for the 1st condition). I've made my calendar in a way that I can't use fixed cells to do the calculation, as the length of the calendar is fixed to 53 full weeks and the dates change to accommodate the length according to the year in cell C2 i.e. January 1st will not always be in cell D17. Here are the first 10 rows of my dynamic calendar in Table Markdown format with the formulas as asked.
Year
2023
Quota
=SUM(J11:J375;'2022'!C2)
Hours per week
37.5
Gross working days
=NETWORKDAYS(DATE(C2;1;1);DATE(C2;12;31);'1pyhapaivat'!B7:B21)
Net working days
=COUNTIF(H11:H381;">0")
Vacation Accumulation
Kilometers per day
36
Week No.
Date
Day
Start
end
Hours
Sum
Quota
Kilometers
Holidays
Note
=ISOWEEKNUM(D11)
=SEQUENCE(371;1;DATE($C$2;1;1)-WEEKDAY(DATE($C$2;1;1);2)+1;1)
=D11
=IF(M11="quota";-7,5/24;IF(G11>F11;IF((G11-F11)>(6/24);(G11-F11)-(0,5/24);(G11-F11));""))
=SUMIF(H11:H15;">0")
=I11-COUNTA(G11:G15)(($C$4/5)/24)-COUNTIF(M11:M15;"quota")(($C$4/5)/24)
=COUNTA(F11:F15)$C$8-(SUM(COUNTIF(M11:M15;"Remote");COUNTIF(M11:M15;"Office"))$C$8)
=XLOOKUP(D11;_1pyhapaivat3[Start Date];_1pyhapaivat3[Subject];"")
A snippet of the dynamic calendar
I've tried combining the DATE and SUM functions with other functions like COUNTA, and COUNTIF. I've also tried using different LOOKUP functions but to no avail.
The new dataset filtered by Year
And filtered again by Month
I have values corresponding to 'Calendar Days.' I'd like to convert this to 'Working Days.'
In this example, a 'Working Day' is defined by Monday through Thursday (4 days out of the possible 7 in a week).
Alternatively, I'd also like to convert 'Working Days' back to 'Calendar Days.'
The calculation will primarily be done and applied in Excel over many rows, so any MS Excel answers are appreciated.
Example:
This calculation can not be completed precisely from the data given.
In order to know exactly how many of the correct days there are in a period of that length, we would need to know the start day or end day.
However, we should get a reasonable approximation for large numbers like this by simply multiplying by our workday fraction. So n calendar days should be approximately n*4/7 working days.
This formula is pretty good for many purposes with large numbers, and will only be off by a few days at most.
However, it breaks completely for small numbers. For example, if our calendar days count was 3, the working days count could be 0, 1, 2, or 3 - and we do not have enough data to say which of those it actually is, given the current problem statement.
With similar caveats, the inverse operation should approximately go from working days to calendar days.
Also, real working days also often may be shifted around by holidays and the like.
I am working on an excel sheet where I am required to calculate average number of days the stores in a city were able to make some sales. I am attaching a sample of the table for reference. The values in the cells represent the number of units sold(not relevant to this question).
Here across NY, two stores are present, and out of the total number of days in consideration (3*2), only 4 days some sales were made, making the average 66%.
Similarly for Paris, there exists only one store which was open across all days.
To arrive at the figures, I tried using nested countifs and SUMIFS , but did not receive the expected results. Also, in some of the older posts, users had suggested to use INDEX MATCH with SUMIFS, but I was not to get accurate results using these.
Can anyone help me to get the correct figures for Total days, and Days with some sale.
SUMPRODUCT SOLUTION
=SUMPRODUCT(--(A$2:A$5=A8)*--(C$2:E$5<>""))
=SUMPRODUCT(--(A$2:A$5=A8)*--(C$2:E$5<>"NO SALE"))
=ROUND(C8/B8,4)
First, according to your grid NY made sales on 4 of the 6 days. (NY1: Mon, Wed; NY2: Tues, Wed). Thus the average is not 50% but 66%.
Second, to get your formula. Assuming "Place" is in column A. Below is for NY, you can solve for the rest.
Total number of days:
In cell "C9": =COUNTIF(A2:A4,"=NY") * 3
Days with sales:
In cell "D9": =COUNTIF(C2:E2,"<>NO SALE") + COUNTIF(C4:E4,"<>NO SALE")
I'm trying to figure out a way to create an excel spreadsheet that will allow me to keep track of how many hours I've earned per each paid holiday my company offers, then keep track of how many hours I've used and what's remaining. But I'm unsure how to calculate this properly.
I could easily do the math my self as it's a simple lay out, but I'm trying to find a way that will just let me enter the numbers for earned and used and walk away from anything else.
What I'm trying to do is the follow:
Have multiple sections. In the first section it'll be my holidays. So in like Column A, working down I'd have New Years, Memorial Day, July 4th, etc. Column B working down would be time earned. But this would be labeled in each cell as "8 Hrs" or "4 hrs". Column C would be time used in the same format "4 hrs" "8 hrs". Then Column D would simple be hours remaining.
Now in the second section I'd have holiday hours earned, which is 2 weeks. Not too sure how to lay it out, and then I still have my sick days, but not sure if I should include that in section 2 or not with the vacation time.
I'd like a way to be able to simply Calculate B2 - C2 = D2. So 8 Hrs - 4 Hrs = 4 Hrs (to show 4 Hrs remaining for each line item.)
Problem is I'm unsure how to calculate remaining time simply because of the Hrs suffix. And with that I also can't calculate total time still remaining, both for holiday hours earn and vacation/sick hours.
Yes, it's easier for me to track it as 8 Hrs rather than 1 day, etc.
Any advice on how to formulate this. Or if anyone knows of a premade template that fits this type of scenario, that I could then just take and integrate into my own spreadsheet.
Sorry if this is confusing in any way.
Also, As I'm no excel wizard, unsure if this is relevant or not, but I'm using Excel 2016, as part of the Office suite.
Another option is to just leave the number as it is and label the column accordingly. Do you really need to see "hrs" in every cell when you know you are tracking hours?
Use a custom number format of,
[>1]0 \H\r\s;[=1]0 \H\r_);0 \H\r\s;[Red]#
... and treat all hours as integers.
I created a calculator in Excel which looks pretty simple but has various formulas to get what I need however I'm notice that the Development Hours seems to have a different calculation in my Total Cost. I'm thinking it has something to do with decimal places but I researched and couldn't figure it out. Please see attached excel workbook.
Excel Workbook Download
Development Hours: 22.6
Quality Check: 3.8
Project Management: 4.0
Cost per Hour: $150.00
TOTAL COST: $4,558.50
The actual total hours = 30.4 x $150.00 = $4560.00
the difference is $1.5 and not sure what is causing it to miscalculate. After calculating each category separately I determined it was the Dev Hours that's being miscalculated...
In your question you ask about = 30.4 x $150.00 = $4560.00 while in your attachment it says 22.5+3.8+4.0 which total to 30.3 not 30.4. This tells that it is due to rounding.
To avoid this nest your values in the round function as:
=ROUND(your formulas and functions,1)
Note that you need to the ROUND function in the calculation cells for Development Hours, Quality Check Hours, and Project Management. If you'll do it just for the TOTAL COST calculation it will round the total cost value but it won’t calculate the rounded values.