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]

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!

untitledbt1.jpg


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!

Comments

  • Stompa
    Stompa Posts: 8,390 Forumite
    Part of the Furniture 1,000 Posts Name Dropper
    Take a look at the LOOKUP function.
    Stompa
  • geordie_joe
    geordie_joe Posts: 9,112 Forumite
    1,000 Posts Combo Breaker
    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!

    untitledbt1.jpg


    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.
  • Fairwinds
    Fairwinds Posts: 792 Forumite
    Part of the Furniture 500 Posts Name Dropper Combo Breaker
    Could you detail the price breaks that you want catered for and the discounts
  • geordie_joe
    geordie_joe Posts: 9,112 Forumite
    1,000 Posts Combo Breaker
    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.
This discussion has been closed.
Meet your Ambassadors

🚀 Getting Started

Hi new member!

Our Getting Started Guide will help you get the most out of the Forum

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

Is this how you want to be seen?

We see you are using a default avatar. It takes only a few seconds to pick a picture.