Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,814
Default How to calculate a discount between two values?

I have created a spreadsheet which details a number of invoices for one
client, and gives a nett total invoiced. As part of the contract we are
required to give 1% discount on all sales between 150K and 300K and 2% on any
sales above 300K.

I have entered the percentages and the discount limits of 150 and 300 in
separate cells for ease in the event these may change.

I have solved the 2% discount with the formula:
=IF(D39B44,SUM(D39-B44)*C44) and this works fine. My problem is trying to
get a formula working which calculates 1% of the sales between 150K and 300K.
Can anyone help?

I have listed the cells for assistance.
D39=Nett Sales
B43=150,000 (1% lower limit)
C43=1%
B44=300,000 (2% lower limit)
C44=2%

Thanks in advance
Steve


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,393
Default How to calculate a discount between two values?

Try this
=(D39B43)*(D39-B43)*C43 +(D39B44)*(D39-B44)*C44

BTW in =IF(D39B44,SUM(D39-B44)*C44), the SUM is not needed,
use =IF(D39B44,(D39-B44)*C44)
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email

"Steve" wrote in message
...
I have created a spreadsheet which details a number of invoices for one
client, and gives a nett total invoiced. As part of the contract we are
required to give 1% discount on all sales between 150K and 300K and 2% on
any
sales above 300K.

I have entered the percentages and the discount limits of 150 and 300 in
separate cells for ease in the event these may change.

I have solved the 2% discount with the formula:
=IF(D39B44,SUM(D39-B44)*C44) and this works fine. My problem is trying to
get a formula working which calculates 1% of the sales between 150K and
300K.
Can anyone help?

I have listed the cells for assistance.
D39=Nett Sales
B43=150,000 (1% lower limit)
C43=1%
B44=300,000 (2% lower limit)
C44=2%

Thanks in advance
Steve




  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 17
Default How to calculate a discount between two values?

Steve,

See if this gives you the results you're looking for.
=IF(D39<B43,0,IF(D39<=B44,(D39-B43)*C43,(D39-B44)*C44))


"Steve" wrote:

I have created a spreadsheet which details a number of invoices for one
client, and gives a nett total invoiced. As part of the contract we are
required to give 1% discount on all sales between 150K and 300K and 2% on any
sales above 300K.

I have entered the percentages and the discount limits of 150 and 300 in
separate cells for ease in the event these may change.

I have solved the 2% discount with the formula:
=IF(D39B44,SUM(D39-B44)*C44) and this works fine. My problem is trying to
get a formula working which calculates 1% of the sales between 150K and 300K.
Can anyone help?

I have listed the cells for assistance.
D39=Nett Sales
B43=150,000 (1% lower limit)
C43=1%
B44=300,000 (2% lower limit)
C44=2%

Thanks in advance
Steve


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,276
Default How to calculate a discount between two values?

Hi Steve,
try
=IF(D39B44,(D39-B44)*C44,IF(AND(D39<B44,D39D43),(D39-B43)*C43))

If the answer was helpful please rate it. thank you

"Steve" wrote:

I have created a spreadsheet which details a number of invoices for one
client, and gives a nett total invoiced. As part of the contract we are
required to give 1% discount on all sales between 150K and 300K and 2% on any
sales above 300K.

I have entered the percentages and the discount limits of 150 and 300 in
separate cells for ease in the event these may change.

I have solved the 2% discount with the formula:
=IF(D39B44,SUM(D39-B44)*C44) and this works fine. My problem is trying to
get a formula working which calculates 1% of the sales between 150K and 300K.
Can anyone help?

I have listed the cells for assistance.
D39=Nett Sales
B43=150,000 (1% lower limit)
C43=1%
B44=300,000 (2% lower limit)
C44=2%

Thanks in advance
Steve


  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,814
Default How to calculate a discount between two values?

Thanks Guys!

"Eduardo" wrote:

Hi Steve,
try
=IF(D39B44,(D39-B44)*C44,IF(AND(D39<B44,D39D43),(D39-B43)*C43))

If the answer was helpful please rate it. thank you

"Steve" wrote:

I have created a spreadsheet which details a number of invoices for one
client, and gives a nett total invoiced. As part of the contract we are
required to give 1% discount on all sales between 150K and 300K and 2% on any
sales above 300K.

I have entered the percentages and the discount limits of 150 and 300 in
separate cells for ease in the event these may change.

I have solved the 2% discount with the formula:
=IF(D39B44,SUM(D39-B44)*C44) and this works fine. My problem is trying to
get a formula working which calculates 1% of the sales between 150K and 300K.
Can anyone help?

I have listed the cells for assistance.
D39=Nett Sales
B43=150,000 (1% lower limit)
C43=1%
B44=300,000 (2% lower limit)
C44=2%

Thanks in advance
Steve




  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,276
Default How to calculate a discount between two values?

Hi Steve
use the formula as per below, I realize that there was not option if the
value was less than 150K
=IF(D39B44,(D39-B44)*C44,IF(AND(D39<B44,D39B43),(D39-B43)*C43,0))

"Steve" wrote:

Thanks Guys!

"Eduardo" wrote:

Hi Steve,
try
=IF(D39B44,(D39-B44)*C44,IF(AND(D39<B44,D39D43),(D39-B43)*C43))

If the answer was helpful please rate it. thank you

"Steve" wrote:

I have created a spreadsheet which details a number of invoices for one
client, and gives a nett total invoiced. As part of the contract we are
required to give 1% discount on all sales between 150K and 300K and 2% on any
sales above 300K.

I have entered the percentages and the discount limits of 150 and 300 in
separate cells for ease in the event these may change.

I have solved the 2% discount with the formula:
=IF(D39B44,SUM(D39-B44)*C44) and this works fine. My problem is trying to
get a formula working which calculates 1% of the sales between 150K and 300K.
Can anyone help?

I have listed the cells for assistance.
D39=Nett Sales
B43=150,000 (1% lower limit)
C43=1%
B44=300,000 (2% lower limit)
C44=2%

Thanks in advance
Steve


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
Calculate discount amt with conditions cprao Excel Worksheet Functions 3 August 8th 08 04:25 AM
calculate values galbertse New Users to Excel 3 March 12th 06 06:30 PM
How to calculate values in multiple values with multi conditions Curtis Excel Worksheet Functions 2 July 15th 05 02:36 AM
look up same values in coumn1 and calculate values in 2nd column khan Excel Worksheet Functions 4 June 2nd 05 06:28 PM
calculate the value of a mortgage purchased at a discount Jim@cch Excel Worksheet Functions 1 June 2nd 05 03:24 AM


All times are GMT +1. The time now is 09:41 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"