Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Calculation total not to exceed a specified number.

I am trying to set up 2 calculations for our sales tax.

(1) The local tax is 2.25% of the sale up to the first $1600 of the sale or
a maximum local tax of $36. If the sale is $3000 the tax is still $36. If
the sale is less than $1600 then the tax is 2.25% of that amount.

(2) There is a state tax of 7% on the total sale. There is an additional
state tax of 2.75% (single item purchase tax) on the amount of the sale
between $1600 and $3200 or a maximum of $44.

So if you have a sale of $10,000 there is a state tax of 7% on the total
($700), local tax of $36 plus a state single item purchase tax of $44.

A formula for this will be greatly appreciated!

Jim


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,440
Default Calculation total not to exceed a specified number.

Hi Jim,

The total is:

=A1+MIN(A1*2.25%,36)+A1*7%+MAX(0,MIN(44,A1*2.75%))

The "+" signs separate the individual taxes
--
Kind regards,

Niek Otten
Microsoft MVP - Excel

"Carjocky" wrote in message ...
|I am trying to set up 2 calculations for our sales tax.
|
| (1) The local tax is 2.25% of the sale up to the first $1600 of the sale or
| a maximum local tax of $36. If the sale is $3000 the tax is still $36. If
| the sale is less than $1600 then the tax is 2.25% of that amount.
|
| (2) There is a state tax of 7% on the total sale. There is an additional
| state tax of 2.75% (single item purchase tax) on the amount of the sale
| between $1600 and $3200 or a maximum of $44.
|
| So if you have a sale of $10,000 there is a state tax of 7% on the total
| ($700), local tax of $36 plus a state single item purchase tax of $44.
|
| A formula for this will be greatly appreciated!
|
| Jim
|
|


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,058
Default Calculation total not to exceed a specified number.

If the sale is in A1 then:

=A1+MIN(A1*0.0225,36)+0.07*A1+IF(A11600,MIN(44,0. 0275*A1),0)

round up or down to the nearest penny as the law requires
--
Gary's Student


"Carjocky" wrote:

I am trying to set up 2 calculations for our sales tax.

(1) The local tax is 2.25% of the sale up to the first $1600 of the sale or
a maximum local tax of $36. If the sale is $3000 the tax is still $36. If
the sale is less than $1600 then the tax is 2.25% of that amount.

(2) There is a state tax of 7% on the total sale. There is an additional
state tax of 2.75% (single item purchase tax) on the amount of the sale
between $1600 and $3200 or a maximum of $44.

So if you have a sale of $10,000 there is a state tax of 7% on the total
($700), local tax of $36 plus a state single item purchase tax of $44.

A formula for this will be greatly appreciated!

Jim


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Calculation total not to exceed a specified number.

Thank you for the response. I need the tax amounts in to show in their own
cells and to reflect only the tax. I tried to figure out how to do that
without bothering you again but no luck. Not very good with this kind of
thing.

Jim

"Gary''s Student" wrote:

If the sale is in A1 then:

=A1+MIN(A1*0.0225,36)+0.07*A1+IF(A11600,MIN(44,0. 0275*A1),0)

round up or down to the nearest penny as the law requires
--
Gary's Student


"Carjocky" wrote:

I am trying to set up 2 calculations for our sales tax.

(1) The local tax is 2.25% of the sale up to the first $1600 of the sale or
a maximum local tax of $36. If the sale is $3000 the tax is still $36. If
the sale is less than $1600 then the tax is 2.25% of that amount.

(2) There is a state tax of 7% on the total sale. There is an additional
state tax of 2.75% (single item purchase tax) on the amount of the sale
between $1600 and $3200 or a maximum of $44.

So if you have a sale of $10,000 there is a state tax of 7% on the total
($700), local tax of $36 plus a state single item purchase tax of $44.

A formula for this will be greatly appreciated!

Jim


  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,440
Default Calculation total not to exceed a specified number.

=MIN(A1*2.25%,36)
=A1*7%
=MAX(0,MIN(44,A1*2.75%))

That's what I meant when I wrote that the individual taxes were separated by + signs

--
Kind regards,

Niek Otten
Microsoft MVP - Excel

"Carjocky" wrote in message ...
| Thank you for the response. I need the tax amounts in to show in their own
| cells and to reflect only the tax. I tried to figure out how to do that
| without bothering you again but no luck. Not very good with this kind of
| thing.
|
| Jim
|
| "Gary''s Student" wrote:
|
| If the sale is in A1 then:
|
| =A1+MIN(A1*0.0225,36)+0.07*A1+IF(A11600,MIN(44,0. 0275*A1),0)
|
| round up or down to the nearest penny as the law requires
| --
| Gary's Student
|
|
| "Carjocky" wrote:
|
| I am trying to set up 2 calculations for our sales tax.
|
| (1) The local tax is 2.25% of the sale up to the first $1600 of the sale or
| a maximum local tax of $36. If the sale is $3000 the tax is still $36. If
| the sale is less than $1600 then the tax is 2.25% of that amount.
|
| (2) There is a state tax of 7% on the total sale. There is an additional
| state tax of 2.75% (single item purchase tax) on the amount of the sale
| between $1600 and $3200 or a maximum of $44.
|
| So if you have a sale of $10,000 there is a state tax of 7% on the total
| ($700), local tax of $36 plus a state single item purchase tax of $44.
|
| A formula for this will be greatly appreciated!
|
| Jim
|
|




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
I want to auto-sum and not exceed a certain number jt4lsu Excel Discussion (Misc queries) 4 April 3rd 23 07:36 PM
Number of total calculation functions appsinoffice2003 Excel Worksheet Functions 3 June 13th 09 08:42 PM
Percentage total may not exceed 100 The Fool on the Hill Excel Discussion (Misc queries) 5 September 6th 07 03:26 PM
The number of hours in a day cannot exceed 24... TheBeowulf Excel Worksheet Functions 2 September 20th 05 09:09 PM
How do I enter a not to exceed number 1 in a formula? Dalas Excel Programming 2 August 20th 05 08:55 PM


All times are GMT +1. The time now is 07:06 AM.

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"