+ Reply to Thread
Results 1 to 3 of 3

create a formula with 2 variables

  1. #1
    Registered User
    Join Date
    11-09-2012
    Location
    Roseville, CA
    MS-Off Ver
    Excel 2007
    Posts
    3

    create a formula with 2 variables

    I am trying to create a formula based on these 2 variables in the attached example. I need to solve for column "J" the "Bonus" based on the parameters given.


    Example formula.jpg

  2. #2
    Forum Expert Sambo kid's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    Office Professionsl Plus 2016- work; 2012 for Mac at home
    Posts
    3,941

    Re: create a formula with 2 variables

    how about =IF(E4<=30%,H4*.06,if(E4<=40%,H4*.08,IF(E4<=45%,H4*.11,IF(E4<=55%,H4*.14,H4*.15))))
    Make contributors happy, click on the "* Add Reputation" as a way to say thank you.
    Sam C

  3. #3
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    18,262

    Re: create a formula with 2 variables

    Try this.

    =H4*LOOKUP(E4,{0,0.31,0.41,0.46,0.56},{0.06,0.08,0.11,0.14,0.15})
    If posting code please use code tags, see here.

+ 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