Solved

Calculating tiered commission based on plan name and amount

Posted on 2016-10-01
7
45 Views
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.
commission_calcs.xlsx
0
Comment
Question by:agwalsh
  • 4
  • 3
7 Comments
 
LVL 45

Expert Comment

by:aikimark
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

0
 

Author Comment

by:agwalsh
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
EE-commission_calcs-02.xlsx
0
 
LVL 45

Expert Comment

by:aikimark
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

0
Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

 

Author Comment

by:agwalsh
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?
EE-commission_calcs-03.xlsx
0
 
LVL 45

Accepted Solution

by:
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

0
 

Author Comment

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

Author Closing Comment

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

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Drop Down List with Unique/Distinct Values (Part II - ComboBox or ListBox and Data Validation List Bonus!) David Miller (dlmille) Intro This article focuses on delivering unique, sorted lists to list objects (e.g., ComboBox, ListBox) and Dat…
When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
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…

839 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