+ Reply to Thread
Results 1 to 8 of 8

Need help creating a formula

  1. #1
    Registered User
    Join Date
    11-18-2014
    Location
    Virginia
    MS-Off Ver
    2010
    Posts
    4

    Need help creating a formula

    Hello all,

    I have a complex formula that i'm trying to create in Excel and was wondering if you guys could help me out on this. What the formula needs to do is look at the Current Int Rate and see if it can soft cap by comparing the max interest rate in increment of .25% and come up with the new rate which i have the answers to. First row is pretty simple due to the fact that current rate is lower than the max interest rate. Second row since max int rate is higher vs the current rate i have to increase the rate by .25 (20.5 + .25 = 20.75... if i add another .25 it'll be over 20.89 of 21 which cant go over the max rate vise versa for the last row).. is there anyone who can create a formula?

    Max Int Rate Current Int Rate New Rate
    21.75 20.5 21.75
    20.89 20.5 20.75
    20.08 20 20
    19.78 20.25 19.75

  2. #2
    Valued Forum Contributor
    Join Date
    04-09-2013
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2010
    Posts
    391

    Re: Need help creating a formula

    Hi,

    Can you explain your fourth sample and how your output should looks like.

    Regards,

  3. #3
    Registered User
    Join Date
    11-18-2014
    Location
    Virginia
    MS-Off Ver
    2010
    Posts
    4

    Re: Need help creating a formula

    Hello! max is interest rate is set at 19.78% but the current rate is 20.25% which is higher than 19.78% so i have to decrease the rate from 20.25 to 19.75 due to the fact that it can only increment @ .25% and cannot exceed 19.78%.

    Thank you!

  4. #4
    Valued Forum Contributor
    Join Date
    04-09-2013
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2010
    Posts
    391

    Re: Need help creating a formula

    And how you want your output to look like as in the first row adding 0.25 to 20.5 will give 20.75 and repeating the same process for 5 times will give max value?

    Regards,

  5. #5
    Registered User
    Join Date
    11-18-2014
    Location
    Virginia
    MS-Off Ver
    2010
    Posts
    4

    Re: Need help creating a formula

    yes i want the first row to have 20.75 because since max rate is @ 20.75 and current rate is 20.5 I need to use max rate of 20.75..

    Another example i can give is if max rate is 21.75 and current rate is 22, i have to use 21.75 since this rate increments in .25

    example 2: max rate is at 19.6 and current rate is 21.25: I have to use 19.5% since rate is has to increment in .25 and the closest rate to this % is 19.5%

    example 3: max rate is 22 and current rate is 21.25: It can stay @ 22%

  6. #6
    Valued Forum Contributor
    Join Date
    04-09-2013
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2010
    Posts
    391

    Re: Need help creating a formula

    Try below:

    In A2: Max Int
    in B2: Current Int

    Formula in C2:

    =MROUND(MIN(A2,B2+0.25),1/4)

    Regards,

  7. #7
    Registered User
    Join Date
    11-18-2014
    Location
    Virginia
    MS-Off Ver
    2010
    Posts
    4

    Re: Need help creating a formula

    Does not work and one formula has to work for all other scenarios. I tried example two and i get 25% :/

  8. #8
    Valued Forum Contributor
    Join Date
    04-09-2013
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2010
    Posts
    391

    Re: Need help creating a formula

    Well it worked for all your posted samples.

    Regards,

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Use an existing cell formula for creating a new more complex formula
    By dubcap01 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-23-2014, 07:41 AM
  2. [SOLVED] creating formula.
    By ravi.1225 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-17-2014, 10:44 AM
  3. Replies: 1
    Last Post: 11-21-2012, 02:03 AM
  4. VBA:Creating Formula
    By dianahatesboys in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-13-2006, 06:00 PM
  5. Help with creating a formula
    By Peter Barker in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-11-2006, 02:05 PM

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