Solved

Calculating tiered commission based on plan name and amount

Posted on 2016-10-01
7
55 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
[X]
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
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
Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

 

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

MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

Question has a verified solution.

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

Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
You need to know the location of the Office templates folder, so that when you create new templates, they are saved to that location, and thus are available for selection when creating new documents.  The steps to find the Templates folder path are …
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
This Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.

691 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