+ Reply to Thread
Results 1 to 7 of 7

trying to solve an if formula in excel

  1. #1
    Registered User
    Join Date
    12-06-2012
    Location
    ireland
    MS-Off Ver
    Excel 2010
    Posts
    6

    trying to solve an if formula in excel

    Hi All, I would really appreciate a solution to an if function that I am having trouble with,

    If the Qty is less than 5 then the Disc% is 0%
    If the Qty is between 5 and 9 inclusive then the Disc% is 2%
    It the qty is 10 or greater then the Disc% is 5%

    here is what i am using! IF(D8<5,0%,IF(D8=5,2%,IF(D8=6,2%,IF(D8=7,2%,IF(D8=8,2%,IF(D8=9,2%,IF(D8>=10,5%)))))))

    is there another way to do this particulary for the qty between 5 and 9. thanks in advance, appreciate any help!

  2. #2
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: trying to solve an if formula in excel

    Please Login or Register  to view this content.
    Format as %
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  3. #3
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: trying to solve an if formula in excel

    You can look up in a table.

    See the attached file.
    Attached Files Attached Files
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  4. #4
    Registered User
    Join Date
    12-06-2012
    Location
    ireland
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: trying to solve an if formula in excel

    Thanks for your quick response Ace_xl, that was quick, have one other lookup problem but its hard to explain. really appreciate your help, new to spreadsheet for now!

  5. #5
    Registered User
    Join Date
    12-06-2012
    Location
    ireland
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: trying to solve an if formula in excel

    Trying to use lookup to calculate the cost price, any ideas would be gratefully received!

    Item Description Cost Price Selling Price Qty Disc% Disc Allowed New Selling Price Total

    Computer Type 1 2 3 4 5
    Cost Price 580 620 650 720 760
    Printer DM 9 €- 13 5% €- €- €-
    Printer DM 24 €- 6 2% €- €- €-
    Printer IJ1 €- 15 5% €- €- €-
    Printer IJ2 €- 8 2% €- €- €-
    Printer L1 €- 6 2% €- €- €-
    Printer L2 €- 9 2% €- €- €-
    Plotter A4 €- 4 0% €- €- €-
    Plotter A3 €- 3 0% €- €- €-
    Disk DD(Box 10) €- 22 5% €- €- €-
    Disk HD (Box 10) €- 18 5% €- €- €-
    1 Subtotal €-
    2 Vat= 21% €-
    3 Total Inc VAT €-
    4
    5

  6. #6
    Registered User
    Join Date
    12-06-2012
    Location
    ireland
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: trying to solve an if formula in excel

    that didnt work out ah well

  7. #7
    Registered User
    Join Date
    12-06-2012
    Location
    ireland
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: trying to solve an if formula in excel

    trying again
    Item Description Cost Price Selling Price Qty Disc% Disc Allowed New Selling Price Total

    Computer Type 1 2 3 4 5
    Cost Price 580 620 650 720 760
    Printer DM 9 € - 13 5% € - € - € -
    Printer DM 24 € - 6 2% € - € - € -
    Printer IJ1 € - 15 5% € - € - € -
    Printer IJ2 € - 8 2% € - € - € -
    Printer L1 € - 6 2% € - € - € -
    Printer L2 € - 9 2% € - € - € -
    Plotter A4 € - 4 0% € - € - € -
    Plotter A3 € - 3 0% € - € - € -
    Disk DD(Box 10) € - 22 5% € - € - € -
    Disk HD (Box 10) € - 18 5% € - € - € -
    1 Subtotal € -
    2 Vat= 21% € -
    3 Total Inc VAT € -
    4
    5

  8. #8
    Forum Contributor
    Join Date
    09-24-2012
    Location
    York, England
    MS-Off Ver
    Excel 2003/07/10
    Posts
    165

    Re: trying to solve an if formula in excel

    Jamie
    Its hard to understand your data as its difficult to line it up in tabular form when
    displayed as text. Can you attach a spreadsheet with the data lined up properly ?

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1