Solved

Calculating tiered commission based on plan name and amount

Posted on 2016-10-01
7
41 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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 

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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Suggested Solutions

Introduction While answering a recent question (http:/Q_27311462.html), I created an alternative function to the Excel Concatenate() function that you might find useful.  I tested several solutions and share the results in this article as well as t…
Workbook link problems after copying tabs to a new workbook? David Miller (dlmille) Intro Have you either copied sheets to a new workbook, and after having saved and opened that workbook, you find that there are links back to the original sou…
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.
This Micro Tutorial demonstrates in Microsoft Excel how to consolidate your marketing data by creating an interactive charts using form controls. This creates cool drop-downs for viewers of your chart to choose from.

803 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