ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Returning only positive values from a function (https://www.excelbanter.com/excel-discussion-misc-queries/81106-returning-only-positive-values-function.html)

Ceves

Returning only positive values from a function
 

Hello
I am trying to prepare a simple spreadsheet to illustrate sales
commissions. My problem is i want to compare a list of sales to target
sales, and calculate a stepped commission.
i.e. for all sales over $1000-2000, a commission of 2% is paid. all
sales over $2000 receive a 3% commission. Easy to do manually, but it
gets messed up when the sale is less than $1000.:confused:


--
Ceves
------------------------------------------------------------------------
Ceves's Profile: http://www.excelforum.com/member.php...o&userid=33096
View this thread: http://www.excelforum.com/showthread...hreadid=529061


Infinity

Returning only positive values from a function
 

=If(A1<1000,A1*2%,A1*3%)

If there is more you may want to create a table and use the lookup
function.


Ceves Wrote:
Hello
I am trying to prepare a simple spreadsheet to illustrate sales
commissions. My problem is i want to compare a list of sales to target
sales, and calculate a stepped commission.
i.e. for all sales over $1000-2000, a commission of 2% is paid. all
sales over $2000 receive a 3% commission. Easy to do manually, but it
gets messed up when the sale is less than $1000.:confused:



--
Infinity
------------------------------------------------------------------------
Infinity's Profile: http://www.excelforum.com/member.php...o&userid=32725
View this thread: http://www.excelforum.com/showthread...hreadid=529061



All times are GMT +1. The time now is 02:11 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com