Forum Discussion
Awolbert
Feb 16, 2021Brass Contributor
Excel Formula
My spreadsheet has quantities and prices. I have just introduced two columns for quantity discounts for 5 and under and over 5. I already have a price column EACH and then an extension formula based on quantity. I want the customer to see the original price and then the discounted price listed in either “5 and under” or 6+. How do I write a formula for the extension? Using the price in either A or B, quantity discount.
9 Replies
- AwolbertBrass Contributor
adversi Attached is a template of the document for your review. Two things:
1. Can you fill either I or J based on the quantity? Instead of manually calculating each row based on the quantity, I wonder if the discounted price can autofill based on a formula to fill either I or J depending on the quantity.
2. Can the extension, column K, be calculated based on data in either I or J?
Thank you!
- SergeiBaklanDiamond Contributor
I didn't catch you'd like to show discounted price or only discount. If the first
=IF( ($E5<=5)*($E5>0),$H5*(1-$I$2),0) and =IF( $E5>5,$H5*(1-$J$2),0) and =MAX(I5,J5)