+ 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 Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.83 for Mac MS 365
    Posts
    8,480

    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 Capricci

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

    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)

Similar Threads

  1. Formula to create a ranking out of several variables
    By Dlinen in forum Excel Formulas & Functions
    Replies: 32
    Last Post: 07-15-2016, 08:13 AM
  2. Formula need to create using many variables and conditions for data sorting
    By manoj_b118 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 12-22-2015, 09:29 AM
  3. Create a Formula from Set Variables as ActiveCell
    By lreyes in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-18-2015, 09:28 PM
  4. Create and use variables on the fly
    By JP Romano in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 11-21-2014, 11:36 AM
  5. [SOLVED] create a formula that covers several variables/possabilities
    By clovelly in forum Excel - New Users/Basics
    Replies: 4
    Last Post: 01-31-2013, 07:35 AM
  6. Create URL from different variables
    By Geeboy30 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-13-2011, 02:33 AM
  7. Create Message Box containing different variables.
    By [email protected] in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-08-2005, 02:06 AM

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