+ Reply to Thread
Results 1 to 12 of 12

Multiple IF functions

  1. #1
    Registered User
    Join Date
    04-29-2011
    Location
    Norway
    MS-Off Ver
    Excel 2007
    Posts
    10

    Multiple IF functions

    Hi,

    I am trying to make a formula that insert a spesific value if a pre defined cell match another pre defined cell, but that also adds a new value to the return cell if the the cell fulfills another prerequisite..

    I am trying to make an IF formula that looks something like this:

    IF($P2=T1;$O$2;0)+IF($S2=T1;R2;0).

    I also want the formula to return "0" in the cells after the cell where the cells in row 2 matches cell S2. So when the loan in repayed, you wont have any more deductions after the return of the "baloon".

    I thought about making a OFFSET formula that moves the cell 4 columns to the right if the mortage is to have a down payment every quarter (ref; row N).

    You can see from cell X2 that if only returns one of the downpayments due to the fact that my row nr. 1 states the dates chronological and therefore does not match the "first payment date".

    If anyone could help me with this, it would be super!

    thanks.
    Attached Files Attached Files
    Last edited by b96392; 05-02-2011 at 02:05 PM.

  2. #2
    Registered User
    Join Date
    10-22-2007
    Location
    Mumbai, India
    MS-Off Ver
    MS Excel 2007
    Posts
    59

    Re: Multiple IF functions

    Hi,

    Just trying to rephrase what i have understood with your question:

    you want a installment amount to be mentioned at the respective dates if the date from column T onwards matches with the date first payment however if the date from the column T matches with the the balloon date then the amount in the Balloon column should be populated.

    If this is the case then your formula is correct however just make S2 cell as absolute.

    Hope i have understood the problem correctly.

  3. #3
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Multiple IF functions

    I think the formula you want in T2 is this:

    =IF($P2=T$1,$O2,0)+IF($S2=T$1,$R2,0)

    ...enter that, then copy the cell across and downward.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  4. #4
    Registered User
    Join Date
    04-29-2011
    Location
    Norway
    MS-Off Ver
    Excel 2007
    Posts
    10

    Re: Multiple IF functions

    Thank you- that worked!

    But as you can see from column T row 1, my months increases over time (naturally).
    The first payment is 1. mai 2011, and the amount is 288 690. Thereafter 288 690 installments will occur as a result of what is mentioned in cell N2 (for the loan in row 2 the 288690 installment occurs ever month).

    How can I make a formula that gives me those values? So that the first payment is in may 2011, and every month thereafter until the balloon is payed nov. 2013?

  5. #5
    Registered User
    Join Date
    02-06-2011
    Location
    Minneapolis
    MS-Off Ver
    Excel 2011
    Posts
    19

    Re: Multiple IF functions

    Try this:

    =IF(AND(T$1>=$P2,T$1<$S2),$O2,0)+IF(T$1=$S2,$R2,0)

  6. #6
    Registered User
    Join Date
    04-29-2011
    Location
    Norway
    MS-Off Ver
    Excel 2007
    Posts
    10

    Re: Multiple IF functions

    Thank you! Works like a sharm

  7. #7
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Multiple IF functions

    If that takes care of your need, please click EDIT in your original post, click GO ADVANCED and set the PREFIX box to SOLVED.

  8. #8
    Registered User
    Join Date
    04-29-2011
    Location
    Norway
    MS-Off Ver
    Excel 2007
    Posts
    10

    Re: Multiple IF functions

    Will do, just have a few more questions.

    The over mentioned formula will help me on the loans with monthly installments.
    But how can I insert a formula that, if the installments are quartaly, insert the installments correct?
    Can I use the OFFSET cmd here?

  9. #9
    Registered User
    Join Date
    02-06-2011
    Location
    Minneapolis
    MS-Off Ver
    Excel 2011
    Posts
    19

    Re: Multiple IF functions

    Is there a field that indicates whether a particular loan is quarterly or monthly?

  10. #10
    Registered User
    Join Date
    04-29-2011
    Location
    Norway
    MS-Off Ver
    Excel 2007
    Posts
    10

    Re: Multiple IF functions

    Yes, in the included excel spreadsheet reference column N reprecents +t months until next installment payment.

  11. #11
    Registered User
    Join Date
    02-06-2011
    Location
    Minneapolis
    MS-Off Ver
    Excel 2011
    Posts
    19

    Re: Multiple IF functions

    =if(and(t$1=$p2,t$1<$s2),$o2,0)+if(and(t$1>$p2,t$1<$s2,offset(t2,0,-1*$n2)>0),$o2,0)+if(t$1=$s2,$r2,0)

  12. #12
    Registered User
    Join Date
    04-29-2011
    Location
    Norway
    MS-Off Ver
    Excel 2007
    Posts
    10

    Re: Multiple IF functions

    Thank you! With a few modifications, it works perfectly!

+ 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