+ Reply to Thread
Results 1 to 3 of 3

2 percentage discount in one cell

  1. #1
    Registered User
    Join Date
    03-01-2007
    Posts
    4

    2 percentage discount in one cell

    Hey all,
    We are trying to create a worksheet for some pre-ordering to be sent out to our customers.
    In the worksheet there will be items for sale that our customers can order but we are trying to work in a price break for quantity.
    For example: if a store buys 0-10 items in total, they get no discount, if they buy 10-15 in total they get a 3% discount and if they buy 15 or more they get a 5% discount.
    We want these totals to be taken off the total price of the items ordered.

    I worked out using the below formats that i can get either 3% or 5% to come off the total and show both separated by a "-" but we need it to have one of the other in the cell depending on what is needed.
    =SUM(D5:D9)*(IF(C10>=10,-0.03)) - for 3% - D5:D9 is each items individual totals added up to give the total before discount. C10 is the total quantity of items ordered
    =SUM(D5:D9)*(IF(C10>=15,-0.05)) - for 5%

    I tried to combine the 2 with the below format but it's showing both(see cell D12) but i need it to only show one of the other or none if no discount is applied.
    =SUM(D5:D9)*(IF(C10>=10,-0.03))&SUM(D5:D9)*(IF(C10>=15,-0.05))
    I have attached a pictures which hopefully helps.
    Thanks.
    Screen shot 2015-01-29 at 5.05.09 PM.png

  2. #2
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,937

    Re: 2 percentage discount in one cell

    Try this
    =SUM(D5:D9)*LOOKUP(C10,{0,10,15},{0,97,95}%)
    or
    =SUM(D5:D9)*(1-LOOKUP(C10,{0,10,15},{0,3,5}%))
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

  3. #3
    Registered User
    Join Date
    03-01-2007
    Posts
    4

    Re: 2 percentage discount in one cell

    Yes, that worked perfectly. thank you so much.
    I spent hours trying to work that out, i should have just came here straight away.
    Thanks again, much appreciated.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Percentage discount - Calculation
    By Squash1966 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-21-2014, 08:01 AM
  2. Percentage discount formula for a grid of figures and a different discount figure
    By SkydiveAnnie in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-31-2013, 11:09 AM
  3. Percentage Discount formula
    By jwrhold in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 10-31-2013, 10:36 AM
  4. [SOLVED] Percentage Discount
    By Ruth in forum Excel General
    Replies: 3
    Last Post: 07-20-2006, 09:40 AM
  5. Percentage Discount Total
    By mdj101 in forum Excel General
    Replies: 1
    Last Post: 05-18-2006, 11:33 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1