Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
abryan
 
Posts: n/a
Default 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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
rsenn
 
Posts: n/a
Default 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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bob Phillips
 
Posts: n/a
Default 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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
JE McGimpsey
 
Posts: n/a
Default 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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
abryan
 
Posts: n/a
Default 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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
abryan
 
Posts: n/a
Default 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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
abryan
 
Posts: n/a
Default 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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
JE McGimpsey
 
Posts: n/a
Default 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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to Select a relative range with Using "Find" and Offset() Dennis Excel Discussion (Misc queries) 7 July 27th 05 03:57 PM
Question for use of offset and range Demi Excel Worksheet Functions 3 July 22nd 05 08:48 PM
Question regarding dynamic range setting dharmik Excel Worksheet Functions 2 July 22nd 05 08:44 PM
Can a formula check for a certain value in a range? Lee IT Excel Discussion (Misc queries) 3 April 8th 05 07:36 AM
can a formula check for a certain value in a range? Lee IT Excel Discussion (Misc queries) 1 April 7th 05 04:31 PM


All times are GMT +1. The time now is 03:25 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"