Excel discount

Hi,

I have a column that I would like to apply a percentage discount too in excel, I'd like the user to be able to change the percentage discount by simply entering a new number in a cell, say for example today he wants to add a 10% discount to all prices in column D, when he types in the number the new prices in column D now have the discounted price.

also would it be possible for him to change the price in one cell of column D while always keeping the discounted price? Say he says today he feels like the toaster will 300\$, he types in 300 in one of the cells in column D, then the 300 gets mutiplied by the discounted number in the other cell?

Thank you,
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Commented:
It would be simple if you can use a separate column for the discounted price. Then you can just use a formula like:
=D2*(1-\$G\$1%)

where he enters say 10 in G1.

If you really want the original values in column D to change (I would not recommend it), you would need code.
0
Finance AnalystCommented:
Assuming Base Price in D2 and discount as percentage in F1, in E2:

=D2*(1+\$F\$1)

If user wants option available to apply discount to some lines and not others, have column with Y or N option, eg Column G:

=D2+IF(G2="Y",D2*\$F\$1,0)

Thanks
Rob H
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Excel

From novice to tech pro — start learning today.