Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
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. |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
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 |
#3
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
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. |
#4
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
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. |
#5
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
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 |
#6
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
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. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Match then lookup | Excel Worksheet Functions | |||
Formula Problem - interrupted by #VALUE! in other cells!? | Excel Worksheet Functions | |||
Formula checking multiple worksheets | Excel Worksheet Functions | |||
Creating a check mark box | Setting up and Configuration of Excel | |||
Match / Vlookup within an Array formula | Excel Discussion (Misc queries) |