Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
commissions by range
Hello, I have read the threads about similar problems on this site, but nothing seems to work for me so perhaps I am doing something wrong. I need to calculate commission varying by range: .5% of sales up to 100 .75% of sales from 100 to 150 1% of sales above 150 I have tried using the IF function but can't figure out if there is a way to signify "if less than x AND greater than y, then z". -- abryan ------------------------------------------------------------------------ abryan's Profile: http://www.excelforum.com/member.php...o&userid=29118 View this thread: http://www.excelforum.com/showthread...hreadid=488360 |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
commissions by range
Assume the sales data is in cell A1. =IF(A1<=100,0.005*A1,IF(A1<=150,0.5+0.0075*(A1-100),0.875+0.01*(A1-150))) -- rsenn ------------------------------------------------------------------------ rsenn's Profile: http://www.excelforum.com/member.php...o&userid=29050 View this thread: http://www.excelforum.com/showthread...hreadid=488360 |
#3
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
commissions by range
=MIN(A1,100)*5%+MIN(50,MAX(A1-100,0))*75%+MAX(A1-150,0)*1%
-- HTH RP (remove nothere from the email address if mailing direct) "abryan" wrote in message ... Hello, I have read the threads about similar problems on this site, but nothing seems to work for me so perhaps I am doing something wrong. I need to calculate commission varying by range: 5% of sales up to 100 75% of sales from 100 to 150 1% of sales above 150 I have tried using the IF function but can't figure out if there is a way to signify "if less than x AND greater than y, then z". -- abryan ------------------------------------------------------------------------ abryan's Profile: http://www.excelforum.com/member.php...o&userid=29118 View this thread: http://www.excelforum.com/showthread...hreadid=488360 |
#4
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
commissions by range
As an alternative, see
http://www.mcgimpsey.com/excel/variablerate.html In article , abryan wrote: Hello, I have read the threads about similar problems on this site, but nothing seems to work for me so perhaps I am doing something wrong. I need to calculate commission varying by range: .5% of sales up to 100 .75% of sales from 100 to 150 1% of sales above 150 I have tried using the IF function but can't figure out if there is a way to signify "if less than x AND greater than y, then z". |
#5
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
commissions by range
JE McGimpsey, thanks for the idea - I put in the following per your site but it returns an error...can anyone clarify what the error is? =SUMPRODUCT(--(D7{0;3000000;5000000}),(D7-{0;3000000;5000000}),{.5%;.75%;1%}) rsenn, that is the strategy i had been trying but for some reason my mac (brand new with brand new excel) crashes when i try to nest ifs. -- abryan ------------------------------------------------------------------------ abryan's Profile: http://www.excelforum.com/member.php...o&userid=29118 View this thread: http://www.excelforum.com/showthread...hreadid=488360 |
#6
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
commissions by range
sorry, to clarify i should mention that for the sake of readability i had used the figures 100 and 150 as stand-ins for the actual figures, which are 3,000,000 and 5,000,000. not the best idea in retrospect. the actual setup is: .5% up to 3,000,000 .75% between 3,000,000 and 5,000,000 1% above 5,000,000 -- abryan ------------------------------------------------------------------------ abryan's Profile: http://www.excelforum.com/member.php...o&userid=29118 View this thread: http://www.excelforum.com/showthread...hreadid=488360 |
#7
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
commissions by range
I think i got it to work using Bob Phillips' formula. Thanks to all. -- abryan ------------------------------------------------------------------------ abryan's Profile: http://www.excelforum.com/member.php...o&userid=29118 View this thread: http://www.excelforum.com/showthread...hreadid=488360 |
#8
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
commissions by range
You need to have the *change* in rate in your third argument, expressed
as a decimal. Try: =SUMPRODUCT(--(D7{0;3000000;5000000}),(D7-{0;3000000;5000000}), {0.005;0.0025;0.0025}) In article , abryan wrote: JE McGimpsey, thanks for the idea - I put in the following per your site but it returns an error...can anyone clarify what the error is? =SUMPRODUCT(--(D7{0;3000000;5000000}),(D7-{0;3000000;5000000}),{.5%;.75%;1%}) |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
How to Select a relative range with Using "Find" and Offset() | Excel Discussion (Misc queries) | |||
Question for use of offset and range | Excel Worksheet Functions | |||
Question regarding dynamic range setting | Excel Worksheet Functions | |||
Can a formula check for a certain value in a range? | Excel Discussion (Misc queries) | |||
can a formula check for a certain value in a range? | Excel Discussion (Misc queries) |