ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   MEGA FORMULA (https://www.excelbanter.com/excel-worksheet-functions/93770-mega-formula.html)

Ray

MEGA FORMULA
 
I am trying to create a formula for which I need to calculate a discount
percentage based on supplier spend. For example, a supplier may receive a
discount of .25% based on spend between $1.00 and $100,000.00, .31% based on
spend between $ 100,001.00 and $ 150,000.00 and a .38% discount based on
spend between $ 150,001.00 and $ 200,000.00. We have been trying several
options but it doesn't seem to be working.

Bearacade

MEGA FORMULA
 

=IF(A1<=100000,A1-A1*0.025,IF(AND(A1100000,A1<=150000),A1-A1*0.031,IF(AND(A1150000,A1<=200000),A1-A1*0.038,"Amount
200000")))



--
Bearacade


------------------------------------------------------------------------
Bearacade's Profile: http://www.excelforum.com/member.php...o&userid=35016
View this thread: http://www.excelforum.com/showthread...hreadid=551554


Bob Phillips

MEGA FORMULA
 
Create a table of

1 .25%
100000 .31%

etc., in M1:N10 say

and then use

=VLOOKUP(K1,M1:N10,2,TRUE)
--

HTH

Bob Phillips

(replace xxxx in the email address with gmail if mailing direct)

"Ray" wrote in message
...
I am trying to create a formula for which I need to calculate a discount
percentage based on supplier spend. For example, a supplier may receive a
discount of .25% based on spend between $1.00 and $100,000.00, .31% based

on
spend between $ 100,001.00 and $ 150,000.00 and a .38% discount based on
spend between $ 150,001.00 and $ 200,000.00. We have been trying several
options but it doesn't seem to be working.




Domenic

MEGA FORMULA
 
Assuming that A2 contains the amount the supplier spent, try...

=IF(A2200000,"Exceeds
200,000",LOOKUP(A2,{1,100001,150001},{0.0025,0.003 1,0.0038}))

Hope this helps!

In article ,
Ray wrote:

I am trying to create a formula for which I need to calculate a discount
percentage based on supplier spend. For example, a supplier may receive a
discount of .25% based on spend between $1.00 and $100,000.00, .31% based on
spend between $ 100,001.00 and $ 150,000.00 and a .38% discount based on
spend between $ 150,001.00 and $ 200,000.00. We have been trying several
options but it doesn't seem to be working.


David Biddulph

MEGA FORMULA
 
"Ray" wrote in message
...
I am trying to create a formula for which I need to calculate a discount
percentage based on supplier spend. For example, a supplier may receive a
discount of .25% based on spend between $1.00 and $100,000.00, .31% based
on
spend between $ 100,001.00 and $ 150,000.00 and a .38% discount based on
spend between $ 150,001.00 and $ 200,000.00. We have been trying several
options but it doesn't seem to be working.


=A1-(0.0025*MIN(A1,100000)+0.0031*MIN(MAX(0,A1-100000),50000)+0.0038*(MIN(MAX(0,A1-150000),50000)))
--
David Biddulph



Arvi Laanemets

MEGA FORMULA
 
Hi

Discount percent is
=(0.25+(A1100000)*0.06+(A1150000)*0.07+(A120000 0)*x)

Arvi Laanemets


"Ray" wrote in message
...
I am trying to create a formula for which I need to calculate a discount
percentage based on supplier spend. For example, a supplier may receive a
discount of .25% based on spend between $1.00 and $100,000.00, .31% based

on
spend between $ 100,001.00 and $ 150,000.00 and a .38% discount based on
spend between $ 150,001.00 and $ 200,000.00. We have been trying several
options but it doesn't seem to be working.





All times are GMT +1. The time now is 12:20 PM.

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