Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 2
Default calculate discounts on lower fees

I have 3 amounts and I need to calculate a discount on the 2nd and 3rd lowest
fees. They may all be the same amount or they may be different. There may
only be 1 amount in which case there is no discount. Any suggestions?
  #2   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 10,593
Default calculate discounts on lower fees

Use the SMALL function

=SMALL(A1:A10,2)

etc.

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"aw49" wrote in message
...
I have 3 amounts and I need to calculate a discount on the 2nd and 3rd

lowest
fees. They may all be the same amount or they may be different. There

may
only be 1 amount in which case there is no discount. Any suggestions?



  #3   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 2
Default calculate discounts on lower fees

Thanks, I get that but how do I get to the next step and figure the discount?

A1 B1 C1 D1
sub tot 1000 2000 500 0
5%dis

Now I need to choose the 2nd, 3rd,4th lowest sub totals and apply 5%
discount on each and then reduce the subtotals by the discount. I want to
ignore the highest and the zero. It is possible for all 4 to be the same
amount in which case 3 out of 4 get a discount.
Also, if there is only 1 sub tot then no calculation necessary.

Any advice?



"Bob Phillips" wrote:

Use the SMALL function

=SMALL(A1:A10,2)

etc.

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"aw49" wrote in message
...
I have 3 amounts and I need to calculate a discount on the 2nd and 3rd

lowest
fees. They may all be the same amount or they may be different. There

may
only be 1 amount in which case there is no discount. Any suggestions?




  #4   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 2,886
Default calculate discounts on lower fees

Hi

Try
=IF(A2=0,A2,
IF(COUNT($A$2:$D$2)<2,A2,
IF(A2<=SMALL($A$2:$D$2,COUNTIF($A$2:$D$2,"=0")+3), A2*0.95.A2)))

--
Regards

Roger Govier


"aw49" wrote in message
...
Thanks, I get that but how do I get to the next step and figure the
discount?

A1 B1 C1 D1
sub tot 1000 2000 500 0
5%dis

Now I need to choose the 2nd, 3rd,4th lowest sub totals and apply 5%
discount on each and then reduce the subtotals by the discount. I
want to
ignore the highest and the zero. It is possible for all 4 to be the
same
amount in which case 3 out of 4 get a discount.
Also, if there is only 1 sub tot then no calculation necessary.

Any advice?



"Bob Phillips" wrote:

Use the SMALL function

=SMALL(A1:A10,2)

etc.

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"aw49" wrote in message
...
I have 3 amounts and I need to calculate a discount on the 2nd and
3rd

lowest
fees. They may all be the same amount or they may be different.
There

may
only be 1 amount in which case there is no discount. Any
suggestions?






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
How to fix lower and upper bounds for data charter_SKR Excel Worksheet Functions 1 April 10th 06 05:29 PM
Calculate Ebay Insertion Fees bbsdaddy Excel Worksheet Functions 2 March 30th 06 04:07 PM
Spreadsheet Won't Calculate Scott Excel Discussion (Misc queries) 0 September 29th 05 05:37 PM
Calculate discounts within a pricelist Oldcowboyjim Excel Discussion (Misc queries) 1 August 4th 05 10:44 PM
How do I calculate interest and deduct late fees based on date pa. leon New Users to Excel 1 January 6th 05 02:09 PM


All times are GMT +1. The time now is 11:46 PM.

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

About Us

"It's about Microsoft Excel"