We’d like to remind Forumites to please avoid political debate on the Forum.
This is to keep it a safe and useful space for MoneySaving discussions. Threads that are – or become – political in nature may be removed in line with the Forum’s rules. Thank you for your understanding.
📨 Have you signed up to the Forum's new Email Digest yet? Get a selection of trending threads sent straight to your inbox daily, weekly or monthly!
The Forum now has a brand new text editor, adding a bunch of handy features to use when creating posts. Read more in our how-to guide
Excel help [thanks]
h4x3r
Posts: 352 Forumite
in Techie Stuff
Hi everyone,
Wondering of someone can help me on Excel i dont know if IF statements can do this BUT
if you look @ this image!

well what it is i need the spreadsheet to automatcally work out the discount for example "Example Jhon" spent 29.99 and i want the spreadsheet to work out the discount automatcally for 15% i know IF statmenet can do this but i need it to work out what discount theyll get
Each price is going to be diffrent for example if someone spend 50 they would get 25% off i need excel to figure out what discount thell get automatcally
Thanks for all help!
Wondering of someone can help me on Excel i dont know if IF statements can do this BUT
if you look @ this image!

well what it is i need the spreadsheet to automatcally work out the discount for example "Example Jhon" spent 29.99 and i want the spreadsheet to work out the discount automatcally for 15% i know IF statmenet can do this but i need it to work out what discount theyll get
Each price is going to be diffrent for example if someone spend 50 they would get 25% off i need excel to figure out what discount thell get automatcally
Thanks for all help!
0
Comments
-
Take a look at the LOOKUP function.Stompa0
-
h4x3r wrote:Hi everyone,
Wondering of someone can help me on Excel i dont know if IF statements can do this BUT
if you look @ this image!
well what it is i need the spreadsheet to automatcally work out the discount for example "Example Jhon" spent 29.99 and i want the spreadsheet to work out the discount automatcally for 15% i know IF statmenet can do this but i need it to work out what discount theyll get
Each price is going to be diffrent for example if someone spend 50 they would get 25% off i need excel to figure out what discount thell get automatcally
Thanks for all help!
Assuming that the cell containing First Name is A1, try the forumla
in cell D2 the formula should be =$C2*(1-15%)
in cell E2 the formula should be =$C2*(1-25%)
in cell F2 the formula should be =$C2*(1-50%)
Put the formulas in the cells then change the format to NUMBER, excel is bound to try and be clever by changing the format to percentage.0 -
Could you detail the price breaks that you want catered for and the discounts0
-
h4x3r wrote:
Each price is going to be diffrent for example if someone spend 50 they would get 25% off i need excel to figure out what discount thell get automatcally
Thanks for all help!
Oops! Didn't notice the last paragraph last night, must have been the carling
Try again
Assuming that the cell containing First Name is A1, try the forumla
in cell D2 the formula should be =IF(AND($C2>=30,$C2<=40),$C2*(1-15%),0)
in cell E2 the formula should be =IF(AND($C2>=40,$C2<=50),$C2*(1-20%),0)
in cell F2 the formula should be =IF(AND($C2>=50,$C2<=60),$C2*(1-25%),0)
cell D2 give a discount if the amount spent is between 30 and 40
cell E2 give a discount if the amount spent is between 40 and 50
cell F2 give a discount if the amount spent is between 50 and 60
You can change these figures to suite your needs.0
This discussion has been closed.
Confirm your email address to Create Threads and Reply
Categories
- All Categories
- 353.5K Banking & Borrowing
- 254.1K Reduce Debt & Boost Income
- 455K Spending & Discounts
- 246.6K Work, Benefits & Business
- 602.9K Mortgages, Homes & Bills
- 178.1K Life & Family
- 260.6K Travel & Transport
- 1.5M Hobbies & Leisure
- 16K Discuss & Feedback
- 37.7K Read-Only Boards