#1   Report Post  
NeilPoehlmann
 
Posts: n/a
Default creating a function

i want to create a function that will calculate a commision of a number based
on %with different intervals. ex.
18,750- entered #, equals 731.25
0-5k=2.5%
5-10k=3.5%
10-15k=4.5%
15-20k=5.5%
were what ever number is entered it will cal based on actual # entered

  #2   Report Post  
Bob Phillips
 
Posts: n/a
Default

Try this

=A2*LOOKUP(A2,{0,0.025;5000,0.05;10000,0.045;15000 ,0.055})

--

HTH

RP
(remove nothere from the email address if mailing direct)


"NeilPoehlmann" wrote in message
...
i want to create a function that will calculate a commision of a number

based
on %with different intervals. ex.
18,750- entered #, equals 731.25
0-5k=2.5%
5-10k=3.5%
10-15k=4.5%
15-20k=5.5%
were what ever number is entered it will cal based on actual # entered



  #3   Report Post  
Neil Poehlmann
 
Posts: n/a
Default

i assume "A2" is the field of entry, but the number isn't right. here is the
whole thing
$- 0 to $5,000.00 2.5%

$5,001.00 to $10,000.00 3.5%

$10,001.00 to $15,000.00 5.5%

$15,001.00 to $20,000.00 7.5%

$20,001.00 to $25,000.00 9.5%

$25,001.00 to $30,000.00 11.5%

$30,001.00 to $35,000.00 13.5%

$35,001.00 & Greater 15.0%
so 35,500 should be 2,750.00

"Bob Phillips" wrote:

Try this

=A2*LOOKUP(A2,{0,0.025;5000,0.05;10000,0.045;15000 ,0.055})

--

HTH

RP
(remove nothere from the email address if mailing direct)


"NeilPoehlmann" wrote in message
...
i want to create a function that will calculate a commision of a number

based
on %with different intervals. ex.
18,750- entered #, equals 731.25
0-5k=2.5%
5-10k=3.5%
10-15k=4.5%
15-20k=5.5%
were what ever number is entered it will cal based on actual # entered




  #4   Report Post  
Bob Phillips
 
Posts: n/a
Default

The full formula should be

=A2*LOOKUP(A2,{0,0.025;5000,0.035;10000,0.055;1500 0,0.075;20000,0.095;25000,
0.115;30000,0.135;35000,0.15})

but I don't see where you get $2,750 from, I make it $5,325

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Neil Poehlmann" wrote in message
...
i assume "A2" is the field of entry, but the number isn't right. here is

the
whole thing
$- 0 to $5,000.00 2.5%

$5,001.00 to $10,000.00 3.5%

$10,001.00 to $15,000.00 5.5%

$15,001.00 to $20,000.00 7.5%

$20,001.00 to $25,000.00 9.5%

$25,001.00 to $30,000.00 11.5%

$30,001.00 to $35,000.00 13.5%

$35,001.00 & Greater 15.0%
so 35,500 should be 2,750.00

"Bob Phillips" wrote:

Try this

=A2*LOOKUP(A2,{0,0.025;5000,0.05;10000,0.045;15000 ,0.055})

--

HTH

RP
(remove nothere from the email address if mailing direct)


"NeilPoehlmann" wrote in

message
...
i want to create a function that will calculate a commision of a

number
based
on %with different intervals. ex.
18,750- entered #, equals 731.25
0-5k=2.5%
5-10k=3.5%
10-15k=4.5%
15-20k=5.5%
were what ever number is entered it will cal based on actual # entered






  #5   Report Post  
JE McGimpsey
 
Posts: n/a
Default

That's because it's a progressive formula: only the amount over 35,000
has the 15% rate applied, only the amount between 30,000 and 35,000 has
the 13.5% rate applied. See

http://www.mcgimpsey.com/excel/variablerate.html

for a solution.

In article ,
"Bob Phillips" wrote:


but I don't see where you get $2,750 from, I make it $5,325



  #6   Report Post  
Neil Poehlmann
 
Posts: n/a
Default

Thanks- that was the ticket!! looks like sales commission ex. will be the
one, thanks again!

"JE McGimpsey" wrote:

That's because it's a progressive formula: only the amount over 35,000
has the 15% rate applied, only the amount between 30,000 and 35,000 has
the 13.5% rate applied. See

http://www.mcgimpsey.com/excel/variablerate.html

for a solution.

In article ,
"Bob Phillips" wrote:


but I don't see where you get $2,750 from, I make it $5,325


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
Creating Drop Down boxes with the List function... JeanneW Excel Discussion (Misc queries) 3 June 1st 05 02:59 PM
Date & Time mully New Users to Excel 4 May 23rd 05 11:56 AM
Automatically up date time in a cell Mark Excel Discussion (Misc queries) 5 May 12th 05 12:26 AM
clock Wildman Excel Worksheet Functions 2 April 26th 05 10:31 AM
Creating a function that makes a negative number a zero Tina Excel Discussion (Misc queries) 2 April 1st 05 05:28 PM


All times are GMT +1. The time now is 04:47 AM.

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

About Us

"It's about Microsoft Excel"