+ Reply to Thread
Results 1 to 9 of 9

If Statement - Calculating quarterly payments %

  1. #1
    Registered User
    Join Date
    06-27-2012
    Location
    australia
    MS-Off Ver
    Excel 2008 for mac, version 12.3.2 (111121)
    Posts
    11

    If Statement - Calculating quarterly payments %

    Hello all,

    Arrgh I am struggling here ( I really need some help if anyone is willing.

    I am trying to calculate the payment %, of a cost realized on a quarterly basis.

    Every 3rd month, the current month % + previous 2 month %'s, need to be added.

    Please see example attached: Column of interest is column 17 (highlighted yellow).

    However, if the time period is 7 months, I only want the 7th month to calculated the remaining %. I.e. 100% minus all of the previous % payments realized every 3 months.

    e.g.
    Period: 1=0%, 2=0%, 3=42%, 4=0%, 5=0%, 6=42%, 7=16% (Being the remainder).

    I have tried to nest multiple IF statements.

    1) IF(NOT(MOD(J13,3), SUM(H16:J16) ----> If current time period is a multiple of 3, sum the current month + the previous 2 months.

    2) IF(P13=$E$13,SUM(O16:P16) ----> If current month equals the end on the project time period, only sum the current month %.

    The problem with this is what happens if the project time period = 7 months. The 7th month % cost should equal only the 7th Month%, (not 7th month% +6th month% - as indicated by the formula). The previous payment was on the 6th month (only 1 month ago).


    This would also be a problem is the project time period was 4 months, for instance.

    I also need the negative result to equal 0, not false.

    If anyone can help, I would be most appreciative.

    Kind Regards,
    Mitch
    Attached Files Attached Files

  2. #2
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: If Statement - Calculating quarterly payments %

    Delete contents of I21
    In J21 use..

    Please Login or Register  to view this content.
    Copy across
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  3. #3
    Registered User
    Join Date
    06-27-2012
    Location
    australia
    MS-Off Ver
    Excel 2008 for mac, version 12.3.2 (111121)
    Posts
    11

    Re: If Statement - Calculating quarterly payments %

    Hi Ace_XL

    I can't get it working using this formula, maybe it is me, but it just doesn't work.

    Thank you for your reply, regardless.

    Can you / or anyone else provide an alternative solution?

    I would be most appreciative!

    Kind Regards, Mitchell

  4. #4
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: If Statement - Calculating quarterly payments %

    May be this...

    In J21 cell
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Drag it to right


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  5. #5
    Registered User
    Join Date
    06-27-2012
    Location
    australia
    MS-Off Ver
    Excel 2008 for mac, version 12.3.2 (111121)
    Posts
    11

    Re: If Statement - Calculating quarterly payments %

    Thanks for your attempts to solve the problem, clearly my questions are not concise. I will re-post the problem with a clearer xls. document.

    Thanks Again

  6. #6
    Registered User
    Join Date
    06-27-2012
    Location
    australia
    MS-Off Ver
    Excel 2008 for mac, version 12.3.2 (111121)
    Posts
    11

    Re: If Statement - Calculating quarterly payments %

    Quarterly Cost Payments % - Take2

    Hi Guys/Girls
    I Have made my questions and xls. document attached more concise:

    Question:
    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.

    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. When the property is sold, the remaining 10th month holding cost %(ie.) 1 Month (10%) is totaled to finalize the Sale.

    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.

    Thanks to anyone that can help me here

    Kind Regards,

    Mitchell
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    06-27-2012
    Location
    australia
    MS-Off Ver
    Excel 2008 for mac, version 12.3.2 (111121)
    Posts
    11

    Re: If Statement - Calculating quarterly payments %

    I am really stuck here, is there anyone that can help? I would greatly appreciate it

    Warm Regards,
    Mitchell

  8. #8
    Forum Contributor
    Join Date
    11-05-2012
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    229

    Re: If Statement - Calculating quarterly payments %

    Hi Mitchell!

    Try the following formula in K17, and copy across.

    =IF(K13=0,"",IF(NOT(MOD(K13,3)),SUM(I16:K16),IF(K13=$E$13,1-SUM($K$16:K16)+K16,0)))

    Don't forget to click the little star to the left of this post if you feel I helped!
    Taming the Excel dragon... www.TheExcelphile.com

  9. #9
    Registered User
    Join Date
    06-27-2012
    Location
    australia
    MS-Off Ver
    Excel 2008 for mac, version 12.3.2 (111121)
    Posts
    11

    Re: If Statement - Calculating quarterly payments %

    Solved!

    Special thanks to TheExcelphile,

    I used the formula they provided and added: IF(AND(J34=$E$34,NOT(MOD(H34,3))),SUM(I37:J37)

    So the correct formula was:
    =IF(J34=0,0,IF(NOT(MOD(J34,3)),SUM(H37:J37),IF(AND(J34=$E$34,NOT(MOD(H34,3))),SUM(I37:J37),IF(J34=$E$34,1-SUM($J$37:J37)+J37,0))))

    Thanks again to everyone that attempted to solve the issue.

    Kind Regards,

    Mitchell
    Last edited by jeffreybrown; 11-26-2012 at 10:13 PM. Reason: As per Forum Rule #12, don't quote whole posts unless necessary-- it's just clutter.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1