Calculating tiered commission based on plan name and amount

Posted on 2016-10-01
Last Modified: 2016-10-05
in the file, how do I set up formula so that depending on what plan is chosen e.g. CPVP and the amount of the sale a percentage is chosen? e.g. for  plan CPVP and amounts 0 to 100000 for % commission is .06 (E4). For the plan FFVP it's .045 (E9). I've experimented with Vlookups (using true - which has given me the correct % for amounts ) and if functions (I tried if with the and function and vlookup but that didn't work) but I want it to be dynamic so that I can easily add plans etc. I'm suspecting some variety of Sumproduct...It's going to be linked to a list  where people will be picking the list from a name. Thank you as always.
Question by:agwalsh
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
LVL 45

Expert Comment

ID: 41824967
I put the following formula in K3 and filled down.
=VLOOKUP(H3,INDIRECT("B" & MATCH(G3,$A$1:$A$13,0)&":E"&MATCH(G3,$A$1:$A$13,1)),4,1)

Open in new window


Author Comment

ID: 41826062
Lookin' good :-). Now what tweak would I have to make if the formula itself was on a different sheet e.g. in the attached file I want to put the formula in the Commissions sheet (cell F4 but to reference the plan names and amounts from the lists sheet) . How do I tweak the Indirect function to show that? thank
LVL 45

Expert Comment

ID: 41826165
You prefix the range cell address with the sheet name, followed by an exclamation mark.
It should resemble something like this:
=VLOOKUP(H3,INDIRECT("Commissions!B" & MATCH(G3,Commissions!$A$1:$A$13,0)&":E"&MATCH(G3,Commissions!$A$1:$A$13,1)),4,1)

Open in new window

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!


Author Comment

ID: 41826196
hm, I've amended the formula as per your suggestion (and tweaked the cell references to match) . See Commissions sheet F4...but still getting an N/A - what am I missing?
LVL 45

Accepted Solution

aikimark earned 500 total points
ID: 41826383
Your tables are still in the LIsts worksheet
=VLOOKUP(E4,INDIRECT("Lists!B" & MATCH(C4,Lists!$A$1:$A$13,0)&":E"&MATCH(C4,Lists!$A$1:$A$13,1)),4,1)

Open in new window


Author Comment

ID: 41826463
Well, yep, I knew I'd miss something obvious. Thank you. That works wonderfully :-)

Author Closing Comment

ID: 41830527
This made me look brilliant...thank you so much.

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
nested excel formula 5 29
Enter Formula into cell below filtered list using VBA 4 31
split data by day 21 29
Excel Formula to Iterate 4 8
This tutorial explains how to create a series of drop-down lists that are dependent upon prior selections to guide (“force”) the user to make the correct selection and reduce data errors within Microsoft Excel. Excel 2010 was used for this tutorial;…
This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
This Micro Tutorial will demonstrate how to create pivot charts out of a data set. I also added a drop-down menu which allows to choose from different categories in the data set and the chart will automatically update.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

740 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question