+ Reply to Thread
Results 1 to 4 of 4

Calculation based on a criteria

  1. #1
    Registered User
    Join Date
    05-13-2011
    Location
    Midwest
    MS-Off Ver
    Excel 2007
    Posts
    2

    Calculation based on a criteria

    Well, this is my first post. Have gotten many answers from this site in the past.

    I am probably just not searching properly with the right keywords. If anyone can point me to a resource in the right direction would be greatly appreciated.

    I know I can do this with IF statements, is there an easier way?

    I am looking to calculate a payout for a sales guy based on a few criteria.

    If the Type of Service is PSA or Retrofit, payout sales rep 10% of total revenue.

    If it is Repair, depending on margin percentage payout based on attached chart.

    note:i will already have margin percentage calculated so that does not need to be calculated.

    TIA

    -Matt
    Attached Images Attached Images

  2. #2
    Forum Expert Domski's Avatar
    Join Date
    12-14-2009
    Location
    A galaxy far, far away
    MS-Off Ver
    Darth Office 2010
    Posts
    3,950

    Re: Calculation based on a criteria

    Maybe like in the attached.

    Built this in 2003 but in 2007 you can use this as the formula in C10:

    =IFERROR(VLOOKUP(A10,$A$2:$B$4,2,FALSE),VLOOKUP(B10,$D$2:$E$5,2,TRUE))

    Dom
    Attached Files Attached Files
    "May the fleas of a thousand camels infest the crotch of the person who screws up your day and may their arms be too short to scratch..."

    Use code tags when posting your VBA code: [code] Your code here [/code]

    Remember, saying thanks only takes a second or two. Click the little star to give some Rep if you think an answer deserves it.

  3. #3
    Forum Expert Domski's Avatar
    Join Date
    12-14-2009
    Location
    A galaxy far, far away
    MS-Off Ver
    Darth Office 2010
    Posts
    3,950

    Re: Calculation based on a criteria

    Donald,

    Have you maybe posted that to the wrong thread?

    Dom

  4. #4
    Registered User
    Join Date
    05-13-2011
    Location
    Midwest
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Calculation based on a criteria

    Quote Originally Posted by Domski View Post
    Maybe like in the attached.

    Built this in 2003 but in 2007 you can use this as the formula in C10:

    =IFERROR(VLOOKUP(A10,$A$2:$B$4,2,FALSE),VLOOKUP(B10,$D$2:$E$5,2,TRUE))

    Dom
    Domski-

    Thanks. This worked perfectly.

    Quick responses. I will be back.

+ 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