Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Tim Tim is offline
external usenet poster
 
Posts: 408
Default I think it's an IF function but I am not sure

I am trying to get Excel to calculate commission based on different factors.

In column B I have "number of units" - if the value is less than 10 the
commission is .0025, if the value is greater than 10 the commission is .0035.
But there is more....

In column F I have dollar amounts that can also change the same commission
amount. If the value in column F is 199,999 or less the commission amount is
..0025, if the value is 200,000 - 499,999 the commission amount is .0035 and
if the value is 500,000 or more the commission amount is .0040.

The commission amounts that are referenced will go into column D.

Scenarios -

9 loans and less than 199,999 in column F should calculate .0025 commission.

9 loans and 350,000 in column F should calculate .0035 in commission.

10 loans and 150,000 in column F should calculate .0035 in commission.

The dollar amount that the commission rate is calculated off of is in column
C.

I would appreciate any help I can get. I have spent hours on this and I
can't figure it out.

Thanks in advance,

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 461
Default I think it's an IF function but I am not sure

Try using the And function in the ifs. So an untested attempt I would do

=IF(And(B1<10,F1<200,000),F1*.0025,IF(AND(B1<10,F1 199,999,F1<500,000),F1*.0035,IF(F1500000,F1*.004 ,F1*.0035)))

"Tim" wrote:

I am trying to get Excel to calculate commission based on different factors.

In column B I have "number of units" - if the value is less than 10 the
commission is .0025, if the value is greater than 10 the commission is .0035.
But there is more....

In column F I have dollar amounts that can also change the same commission
amount. If the value in column F is 199,999 or less the commission amount is
.0025, if the value is 200,000 - 499,999 the commission amount is .0035 and
if the value is 500,000 or more the commission amount is .0040.

The commission amounts that are referenced will go into column D.

Scenarios -

9 loans and less than 199,999 in column F should calculate .0025 commission.

9 loans and 350,000 in column F should calculate .0035 in commission.

10 loans and 150,000 in column F should calculate .0035 in commission.

The dollar amount that the commission rate is calculated off of is in column
C.

I would appreciate any help I can get. I have spent hours on this and I
can't figure it out.

Thanks in advance,

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 168
Default I think it's an IF function but I am not sure

Hi Tim,

Take a look here, you should be able to adapt this to suit your needs.
http://mcgimpsey.com/excel/variablerate.html

HTH
Martin


"Tim" wrote in message
...
I am trying to get Excel to calculate commission based on different
factors.

In column B I have "number of units" - if the value is less than 10 the
commission is .0025, if the value is greater than 10 the commission is
.0035.
But there is more....

In column F I have dollar amounts that can also change the same commission
amount. If the value in column F is 199,999 or less the commission amount
is
.0025, if the value is 200,000 - 499,999 the commission amount is .0035
and
if the value is 500,000 or more the commission amount is .0040.

The commission amounts that are referenced will go into column D.

Scenarios -

9 loans and less than 199,999 in column F should calculate .0025
commission.

9 loans and 350,000 in column F should calculate .0035 in commission.

10 loans and 150,000 in column F should calculate .0035 in commission.

The dollar amount that the commission rate is calculated off of is in
column
C.

I would appreciate any help I can get. I have spent hours on this and I
can't figure it out.

Thanks in advance,



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Tim Tim is offline
external usenet poster
 
Posts: 408
Default I think it's an IF function but I am not sure

Thank you for your help.

This works in every scenario with the exception of the first one. It should
calculate .0025 and it is calculating .0035. Any suggestions?

"akphidelt" wrote:

Try using the And function in the ifs. So an untested attempt I would do

=IF(And(B1<10,F1<200,000),F1*.0025,IF(AND(B1<10,F1 199,999,F1<500,000),F1*.0035,IF(F1500000,F1*.004 ,F1*.0035)))

"Tim" wrote:

I am trying to get Excel to calculate commission based on different factors.

In column B I have "number of units" - if the value is less than 10 the
commission is .0025, if the value is greater than 10 the commission is .0035.
But there is more....

In column F I have dollar amounts that can also change the same commission
amount. If the value in column F is 199,999 or less the commission amount is
.0025, if the value is 200,000 - 499,999 the commission amount is .0035 and
if the value is 500,000 or more the commission amount is .0040.

The commission amounts that are referenced will go into column D.

Scenarios -

9 loans and less than 199,999 in column F should calculate .0025 commission.

9 loans and 350,000 in column F should calculate .0035 in commission.

10 loans and 150,000 in column F should calculate .0035 in commission.

The dollar amount that the commission rate is calculated off of is in column
C.

I would appreciate any help I can get. I have spent hours on this and I
can't figure it out.

Thanks in advance,

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
ISBLANK function not working when cell is blank dut to function re mcmilja Excel Discussion (Misc queries) 9 May 7th 23 03:43 AM
copy of excel file not showing formulal/function in the function b oaallam Excel Discussion (Misc queries) 4 September 6th 07 01:20 PM
LINKEDRANGE function - a complement to the PULL function (for getting values from a closed workbook) [email protected] Excel Worksheet Functions 0 September 5th 06 03:44 PM
Offset function with nested match function not finding host ss. MKunert Excel Worksheet Functions 1 March 21st 06 10:46 PM
Emulate Index/Match combo function w/ VBA custom function Spencer Hutton Excel Worksheet Functions 2 May 2nd 05 05:26 PM


All times are GMT +1. The time now is 04:19 PM.

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"