Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
jayseeca
 
Posts: n/a
Default Is there such a formula? ... Yes/No?

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   Report Post  
Posted to microsoft.public.excel.misc
Peo Sjoblom
 
Posts: n/a
Default Is there such a formula? ... Yes/No?

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   Report Post  
Posted to microsoft.public.excel.misc
jayseeca
 
Posts: n/a
Default Is there such a formula? ... Yes/No?

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   Report Post  
Posted to microsoft.public.excel.misc
jayseeca
 
Posts: n/a
Default i need help again!

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   Report Post  
Posted to microsoft.public.excel.misc
Elkar
 
Posts: n/a
Default Is there such a formula? ... Yes/No?

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   Report Post  
Posted to microsoft.public.excel.misc
daddylonglegs
 
Posts: n/a
Default Is there such a formula? ... Yes/No?


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
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
2 Nesting questions Starchaser Excel Worksheet Functions 7 January 20th 06 06:53 PM
Match then lookup Tenacity Excel Worksheet Functions 9 December 3rd 05 05:30 AM
Formula Problem - interrupted by #VALUE! in other cells!? Ted Excel Worksheet Functions 17 November 25th 05 05:18 PM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 03:28 AM
Match / Vlookup within an Array formula Hari Prasadh Excel Discussion (Misc queries) 3 February 3rd 05 04:37 PM


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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"