Quartlery % payments for a property holding cost

Hi Guys/Girls

I am trying to assign %'s for a Property Holding Cost. I cannot formulate the correct IF statements to correctly calculate the below-mentioned equation (See attached document).

1 2 3 4 5 6 7 8 9 10 Time Period (Months)
10% 20% 30% 40% 50% 60% 70% 80% 90% 100% Cumulative Cost % assignment
10% 10% 10% 10% 10% 10% 10% 10% 10% 10% Spread Cost % assignment

The cost needs to be paid quarterly, i.e. month cost % 1,2&3 are totaled in Month 3(i.e. 30%). When the property is sold, the remaining 10th month holding cost is totaled to finalize the Sale (i.e. 10%).

Example: Holding Cost is $12,000, paid quarterly, the Property is sold at the end of the 10th Month.

i.e. Time Period 1-0%($0), 2-0%($0), 3-30%($3,600), 4-0%($0), 5-0%($0), 6-30%($3,600), 7-0%($0), 8-0%($0), 9-30%($3,600), 10 -Property is sold Remaining 10%($1,200).

See attached Excel: Row 17 is highlighted in yellow, the correct equation must be able to be filled across.

I seem to be able to get it, then I change the month and it exposes the formula. If you could change the holding Month Period to make sure it works, I would be most appreciative.

Thanks to anyone that can help me here

Kind Regards,

Mitchell

AttachmentSize
Quarterly Payments-Excel Forum.xlsx15.16 KB

Solved

Thank you for your posts.

I have solved the issues. You are genius's

Kind Regards,

Mitchell

Neater Solution

For a slightly neater solution copy the following into K17 and paste it across to W17

=IF(AND(K13/3=INT(K13/3),K13<>0),SUM(I16:K16),IF(AND(K8=1,L8<>1),1-SUM(17:$K17),""))

Notes.
AND(K13/3=INT(K13/3,K13<>0)): detects ongoing quarterly payments
SUM(I16:K16) : calculates quarterly %
IF(AND(K8=1,L8<>1) : Detects final payment due
1-SUM(J17:$K17) : Calculates final payment %

The function in K21 should be amended to =IF(K17="","",K17*$E$21) and pasted across thru to W

Paste the following into K17

Paste the following into K17 and copy it across

=IF(AND(K8=1,L8<>1),1-SUM($J17:K17),IF(K$13>0,IF(AND(K13=$E$13,J17>1),K16,IF(AND(K13=$E$13,H17>0),SUM(J16:K16),IF(MOD(K13,3),0,SUM(I16:K16)))),0)*IF(K$13>0,IF(AND(K13=$E$13,J17>1),K16,IF(AND(K13=$E$13,H17>0),SUM(J16:K16),IF(MOD(K13,3),0,SUM(I16:K16)))),0))