Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
The best way to explain my question is by an example:
Lets say I have a bunch of numbers, one of them being 100,000. Is it possible to create a formula in an Excel cell, which will tell me a value when I want to sum - the first 5,000 of the 100,000 multiplied by 14%, then add the NEXT 5,000 * 10%, added with the NEXT 10,000 * 8%, and more than 20,000 of the 100,000 multiplied by 5%. Then carry on this formula to other values, such as 150,000; 254,948... etc Does anyone understand what I'm asking? |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Yes
http://www.mcgimpsey.com/excel/variablerate.html Regards, Peo Sjoblom "jayseeca" wrote: The best way to explain my question is by an example: Lets say I have a bunch of numbers, one of them being 100,000. Is it possible to create a formula in an Excel cell, which will tell me a value when I want to sum - the first 5,000 of the 100,000 multiplied by 14%, then add the NEXT 5,000 * 10%, added with the NEXT 10,000 * 8%, and more than 20,000 of the 100,000 multiplied by 5%. Then carry on this formula to other values, such as 150,000; 254,948... etc Does anyone understand what I'm asking? |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Wow, thanks very much! I thought I had hours of tedious calculation ahead of
me. Thanks again. "Peo Sjoblom" wrote: Yes http://www.mcgimpsey.com/excel/variablerate.html Regards, Peo Sjoblom "jayseeca" wrote: The best way to explain my question is by an example: Lets say I have a bunch of numbers, one of them being 100,000. Is it possible to create a formula in an Excel cell, which will tell me a value when I want to sum - the first 5,000 of the 100,000 multiplied by 14%, then add the NEXT 5,000 * 10%, added with the NEXT 10,000 * 8%, and more than 20,000 of the 100,000 multiplied by 5%. Then carry on this formula to other values, such as 150,000; 254,948... etc Does anyone understand what I'm asking? |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
for the first example on the site you directed me to.... would the formula
change of the first tax rate was not 0%? "Peo Sjoblom" wrote: Yes http://www.mcgimpsey.com/excel/variablerate.html Regards, Peo Sjoblom "jayseeca" wrote: The best way to explain my question is by an example: Lets say I have a bunch of numbers, one of them being 100,000. Is it possible to create a formula in an Excel cell, which will tell me a value when I want to sum - the first 5,000 of the 100,000 multiplied by 14%, then add the NEXT 5,000 * 10%, added with the NEXT 10,000 * 8%, and more than 20,000 of the 100,000 multiplied by 5%. Then carry on this formula to other values, such as 150,000; 254,948... etc Does anyone understand what I'm asking? |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Here's another way to do it:
=MAX(MIN(A1,5000),0)*0.14+MAX(MIN(A1-5000,5000),0)*0.1+MAX(MIN(A1-10000,10000),0)*0.08+MAX(A1-20000,0)*0.05 HTH, Elkar "jayseeca" wrote: The best way to explain my question is by an example: Lets say I have a bunch of numbers, one of them being 100,000. Is it possible to create a formula in an Excel cell, which will tell me a value when I want to sum - the first 5,000 of the 100,000 multiplied by 14%, then add the NEXT 5,000 * 10%, added with the NEXT 10,000 * 8%, and more than 20,000 of the 100,000 multiplied by 5%. Then carry on this formula to other values, such as 150,000; 254,948... etc Does anyone understand what I'm asking? |
#6
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]() jayseeca Wrote: for the first example on the site you directed me to.... would the formula change of the first tax rate was not 0%? Because, in your example, the tax starts at 0 you need the first array (containing the bands) to start at 0, i.e. for the example you give =SUMPRODUCT(--(A1{0,5000,10000,20000}),A1-{0,5000,10000,20000},{0.14,-0.04,-0.02,-0.03}) ..or a modified version of Elkar's suggestion.... =MEDIAN(A1,5000,0)*0.14+MEDIAN(A1-5000,5000,0)*0.1+MEDIAN(A1-10000,10000,0)*0.08+MAX(A1-20000,0)*0.05 -- daddylonglegs ------------------------------------------------------------------------ daddylonglegs's Profile: http://www.excelforum.com/member.php...o&userid=30486 View this thread: http://www.excelforum.com/showthread...hreadid=543842 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
2 Nesting questions | Excel Worksheet Functions | |||
Match then lookup | Excel Worksheet Functions | |||
Formula Problem - interrupted by #VALUE! in other cells!? | Excel Worksheet Functions | |||
Formula checking multiple worksheets | Excel Worksheet Functions | |||
Match / Vlookup within an Array formula | Excel Discussion (Misc queries) |