Consulting two variables to determine precise value in a table

McKavendish

New Member
Joined
Apr 12, 2015
Messages
5
I'm new to this forum. Thank you for the opportunity to post my question.
I need to calculate a royalty owed. I have to multiply a per user rate times the number of users. The per user rate is based on 2 variables 1) whether there are a.<1000, b.<1000 <2000, or c. >2000 users and 2) what type of product is being used. How do I write a formula so Excel will look at 1) No. of users column and 2) type of product column and look up the rules to know what per user rate to use? I need to do the same thing for the flat % rate and then pay out the higher amount. I'm sure once I can do it for the per user rate I can calculate the rest.
I've left out the column with the actual # of users to reduce the size of this example.

Thank you!


Data
Type of
Customer No. Users Product Sales Amount Per User Rate
A Co. <1000 Perpetual $2,000
B Co. >2000 Maintenance $4,000
C Co. 1000< <2000 Perpetual $6,000


Rules Per user rates
<1000 1000< <2000 >2000
Perpetual $1.50 $1.25 $1.00
Maintenance $2.25 $2.00 $1.75
 
Last edited:

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.
Let me know if this gets you heading in the right direction:


Excel 2010
ABCD
1010002000
2200040006000
31.51.251
42.2521.75
5
65003875
79995746.25
810007250
910017253.25
1015008875
11200011500
12200111502.75
Sheet2 (2)
Cell Formulas
RangeFormula
B6=INDEX($B$1:$D$4,2,MATCH(A6,$B$1:$D$1,1))+INDEX($B$1:$D$4,3,MATCH(A6,$B$1:$D$1,1))*A6+INDEX($B$1:$D$4,4,MATCH(A6,$B$1:$D$1,1))*A6
 
Upvote 0
I apologize for not being more clear. The three categories of users are "less than 1,000" "greater than 1,000 and less than 2,000" and "greater than 2,000."
Thank you for your question and your interest in my problem.
 
Upvote 0
I apologize for not being more clear. The three categories of users are "less than 1,000" "greater than 1,000 and less than 2,000" and "greater than 2,000."
Thank you for your question and your interest in my problem.
 
Upvote 0

Forum statistics

Threads
1,216,030
Messages
6,128,408
Members
449,448
Latest member
Andrew Slatter

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top