Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.

I am having trouble with excel discount functions?

I am having trouble with excel. I am making a order form for customers. These are the prices

(£1.50 each • £7.50 half dozen • £15.00 dozen)

Say if they order 26 cupcakes they would have to pay for 2 dozen + 2 singles which would add up to £33.00

I have a discount row but I don't know the correct function for this. It would need to be correct for any amount of cupcakes

Thanks

3 Answers

Relevance
  • 9 years ago

    $1.50 each

    $7.50 for six = $1.25 each

    $15.00 for twelve = $1.25 each

    So: "= if(qty < 6, qty * $1.50, qty * 1.25)"

    where qty is the quantity ordered cell.

    or, if you were going t have a different price foe each at a dozen:

    "= if(qty > 11, qty * up12,if (qty > 5,qty*up6, qty *up1))"

    where up12 = unit price at 12, up6 = unit price at 6, up1 = unit price for each

    Call this price.

    and the discount "= up1*qty - price"

    If you want to charge out at the discounted price for even dozens or half-dozens, and full price for the singles, something similar would work, except that you'd do something to qty in the calculation.

  • 9 years ago

    If you want it within one formula, it gets ugly.

    Use the formula:

    =(INT(A1/12)*PricePerDozen)+

    (INT((MOD(A1-INT(A1/12)*12,12)/6))*

    PricePerHalfDozen)+

    (A1-(INT(A1/12)*12)-

    (INT((MOD(A1-INT(A1/12)*

    12,12)/6))*6))*PricePerEach

    I had to split the lines so that it would not get truncated.

    I also assume you would want to define cell names (ex. PricePerEach) for the prices so that if you change your prices you don't have to change the formulas.

    It is cleaner if you use hidden cells to individually calculate the number of even dozens, half dozens, and then eachs.

    The discount is simply the total qty * PricePerEach minus the value calculated above.

  • 9 years ago

    It's too complicated for a small business. It needs a conditional format and is difficult. Why would you want to piss off a good customer who wants to 35?

Still have questions? Get your answers by asking now.