Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 142
Default Result between two numbers

I need a formula to return a percentage if spend is between two figures. e.g.
if spend is between £10,000 and £20,000 I need the formula to return the
percentage discount for this spend, likewise if it is between £20,000 and
£30,000 the discount will be different.

The discounts are held on the spreadsheet so I just need the formula to link
to this and return the appropriate discount %.

Any ideas?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,441
Default Result between two numbers

Luke,

Are the rates cumulative, or do they apply just once? That is, if you spend 25,000, do you get one
discount on the first 10,000, another discount on the second 10,000, and a third discount on the
last 5,000, or just one discount on the whole 25,000?

HTH,
Bernie
MS Excel MVP


"Luke" wrote in message
...
I need a formula to return a percentage if spend is between two figures. e.g.
if spend is between £10,000 and £20,000 I need the formula to return the
percentage discount for this spend, likewise if it is between £20,000 and
£30,000 the discount will be different.

The discounts are held on the spreadsheet so I just need the formula to link
to this and return the appropriate discount %.

Any ideas?



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 142
Default Result between two numbers

No just one discount on £25,000. And they'd get a different discount on the
whole of £35,000 if they spent that. Therefore if they spent £27,355 they
would get the discount for spending more than £25,000.

So I need a formula that recognised that £27,355 is more than £25,000 but
less than £35,000

"Bernie Deitrick" wrote:

Luke,

Are the rates cumulative, or do they apply just once? That is, if you spend 25,000, do you get one
discount on the first 10,000, another discount on the second 10,000, and a third discount on the
last 5,000, or just one discount on the whole 25,000?

HTH,
Bernie
MS Excel MVP


"Luke" wrote in message
...
I need a formula to return a percentage if spend is between two figures. e.g.
if spend is between £10,000 and £20,000 I need the formula to return the
percentage discount for this spend, likewise if it is between £20,000 and
£30,000 the discount will be different.

The discounts are held on the spreadsheet so I just need the formula to link
to this and return the appropriate discount %.

Any ideas?




  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,441
Default Result between two numbers

Luke,

Make up a table like this starting in cell A1:

Amount Discount
0 0
10000 10%
20000 20%
30000 30%
40000 40%

Then use a formula like

=VLOOKUP(D2,$A$1:$B$6,2)

where the amount spent is in cell D2 to return the discount.

To calc the final amount, use

=D2*(1-VLOOKUP(D2,$A$1:$B$6,2))

This will apply a 10% discount to all amounts between 10,000 and 19,999.99.

HTH,
Bernie
MS Excel MVP


"Luke" wrote in message
...
No just one discount on £25,000. And they'd get a different discount on the
whole of £35,000 if they spent that. Therefore if they spent £27,355 they
would get the discount for spending more than £25,000.

So I need a formula that recognised that £27,355 is more than £25,000 but
less than £35,000

"Bernie Deitrick" wrote:

Luke,

Are the rates cumulative, or do they apply just once? That is, if you spend 25,000, do you get
one
discount on the first 10,000, another discount on the second 10,000, and a third discount on the
last 5,000, or just one discount on the whole 25,000?

HTH,
Bernie
MS Excel MVP


"Luke" wrote in message
...
I need a formula to return a percentage if spend is between two figures. e.g.
if spend is between £10,000 and £20,000 I need the formula to return the
percentage discount for this spend, likewise if it is between £20,000 and
£30,000 the discount will be different.

The discounts are held on the spreadsheet so I just need the formula to link
to this and return the appropriate discount %.

Any ideas?






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
Cells showing numbers other than the calculation result Swing Excel Discussion (Misc queries) 4 April 11th 07 03:23 PM
Format Result of a Formula Combining Text & Numbers Brad Excel Discussion (Misc queries) 3 April 3rd 07 10:42 PM
Sorting Cells on letters and numbers and placing result in one of 3 columns pano Excel Worksheet Functions 2 February 7th 07 03:46 AM
How do I convert formula result into numbers so I can sum results? Barsha Excel Discussion (Misc queries) 1 November 11th 06 07:18 PM
select numbers from a list and add to optimise result DT Excel Worksheet Functions 1 January 17th 06 10:27 AM


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