Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
ouch
 
Posts: n/a
Default how do i make a formula with varied discount percentages

First let me say Hello as this is my first time here :)

I am trying to make a column that as a varied percent discount. By this
I mean I want to make it so it deducts 5.25% from items sold with a
value of £0.01 - £29.99 But if the item sold is higher than £29.99
then it needs to Deduct 5.25% for the first £29.99 then to deduct
3.25% for the rest. Hope this makes sense.
Thanks in advance Steve

  #2   Report Post  
Posted to microsoft.public.excel.misc
Domenic
 
Posts: n/a
Default how do i make a formula with varied discount percentages

Assuming that A1 contains the value of the item sold, try...

=SUMPRODUCT(--(A1{0,29.99}),A1-{0,29.99},{0.0525,-0.02})

Hope this helps!

In article . com,
"ouch" wrote:

First let me say Hello as this is my first time here :)

I am trying to make a column that as a varied percent discount. By this
I mean I want to make it so it deducts 5.25% from items sold with a
value of £0.01 - £29.99 But if the item sold is higher than £29.99
then it needs to Deduct 5.25% for the first £29.99 then to deduct
3.25% for the rest. Hope this makes sense.
Thanks in advance Steve

  #3   Report Post  
Posted to microsoft.public.excel.misc
David Biddulph
 
Posts: n/a
Default how do i make a formula with varied discount percentages

"Domenic" wrote in message
...
In article . com,
"ouch" wrote:

First let me say Hello as this is my first time here :)

I am trying to make a column that as a varied percent discount. By this
I mean I want to make it so it deducts 5.25% from items sold with a
value of £0.01 - £29.99 But if the item sold is higher than £29.99
then it needs to Deduct 5.25% for the first £29.99 then to deduct
3.25% for the rest. Hope this makes sense.
Thanks in advance Steve


Assuming that A1 contains the value of the item sold, try...

=SUMPRODUCT(--(A1{0,29.99}),A1-{0,29.99},{0.0525,-0.02})


or
=A1-5.25%*MIN(A1,29.99)-3.25%*MAX(0,A1-29.99)
or
=A1*(1-5.25%)+2%*MAX(0,A1-29.99)
--
David Biddulph


  #4   Report Post  
Posted to microsoft.public.excel.misc
ouch
 
Posts: n/a
Default how do i make a formula with varied discount percentages

Thanks guys all sorted for now :)

David Biddulph wrote:

"Domenic" wrote in message
...
In article . com,
"ouch" wrote:

First let me say Hello as this is my first time here :)

I am trying to make a column that as a varied percent discount. By this
I mean I want to make it so it deducts 5.25% from items sold with a
value of £0.01 - £29.99 But if the item sold is higher than £29.99
then it needs to Deduct 5.25% for the first £29.99 then to deduct
3.25% for the rest. Hope this makes sense.
Thanks in advance Steve


Assuming that A1 contains the value of the item sold, try...

=SUMPRODUCT(--(A1{0,29.99}),A1-{0,29.99},{0.0525,-0.02})


or
=A1-5.25%*MIN(A1,29.99)-3.25%*MAX(0,A1-29.99)
or
=A1*(1-5.25%)+2%*MAX(0,A1-29.99)
--
David Biddulph


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
Is it possible? DakotaNJ Excel Worksheet Functions 25 September 18th 06 09:30 PM
trying to make a formula for percent if greater than a value cervenyc Excel Discussion (Misc queries) 10 January 12th 06 05:45 PM
I wish to make a formula that adds dollars in 1 column if a date . Wayne Cameron Excel Worksheet Functions 2 October 21st 05 07:57 PM
Can I make a formula in Excel to display result in same cell? Neiko Excel Worksheet Functions 2 October 1st 05 10:36 PM
how do I make a formula NOT change when the data range is moved? Alida Andrews Excel Discussion (Misc queries) 2 January 6th 05 09:02 PM


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