Solved

Calculating tiered commission based on plan name and amount

Posted on 2016-10-01
7
35 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
What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

 

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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

What is a Form List Box? (skip if you know this) The forms List Box is the alternative to the ActiveX list box. If you are using excel 2007, you first make sure you have a developer tab (click the Orb)->"Excel Options"->Popular->"Show Developer tab…
Introduction This Article is a follow-up to my Mappit! Addin Article (http://www.experts-exchange.com/A_2613.html), it was inspired by an email posting I made to EUSPRIG (http://www.eusprig.org/index.htm), I will briefly cover: 1) An overvie…
This Micro Tutorial demonstrate the bugs in Microsoft Excel for Mac with Pivot Charts.
This Micro Tutorial will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.

708 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now