+ Reply to Thread
Results 1 to 5 of 5

Am I correct in using the IF formula for 6 criteria?

  1. #1
    Registered User
    Join Date
    07-16-2008
    Location
    UK
    Posts
    7

    Am I correct in using the IF formula for 6 criteria?

    I am trying to make a formula to work with the Technology Products fees on this eBay page: http://pages.ebay.co.uk/help/sell/fees.html.

    As you see, there are 6 bands..

    I have made this:

    =IF(D3<29.99,SUM(D3*0.0525),IF(D3<99.99,SUM(D3-29.99)*0.03)+1.57)

    However, when I try to add in band 3 by using this:

    =IF(D3<29.99,SUM(D3*0.0525),IF(D3<99.99,SUM(D3-29.99)*0.03+1.57),IF(D3<199.99,SUM(D3-99.99)*0.025+3.67)

    I get the error “Forumla is missing an emphasis”, or #VALUE

    Any suggestions? Thank you

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    Try:

    =IF(D3<29.99,SUM(D3*0.0525),IF(D3<99.99,SUM(D3-29.99)*0.03+1.57,IF(D3<199.99,SUM(D3-99.99)*0.025+3.67,"")))
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    07-16-2008
    Location
    UK
    Posts
    7
    Excellent thanks, I got it to work using that and ended up with this!

    =IF(D3<29.99,SUM(D3*0.0525),IF(D3<99.99,SUM(D3-29.99)*0.03+1.57,IF(D3<199.99,SUM(D3-99.99)*0.025+3.67,IF(D3<299.99,SUM(D3-199.99)*0.02+6.17,IF(D3<599.99,SUM(D3-299.99)*0.015+8.17,IF(D3>600,SUM(D3-599.99)*0.01+12.67))))))

  4. #4
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    Just to make it a bit cleaner...

    You don't need to use SUM() functions... they are redundant..and only need to be used if, in fact, summing.

    Also, the last IF statement is not required... the last argument tells excel what to do if all other IF statements fail...

    Please Login or Register  to view this content.

  5. #5
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    Am I correct in using the IF formula for 6 criteria?

    With
    D3: (a number)

    Here are a couple other options.....
    Without a lookup table:
    Please Login or Register  to view this content.
    or...you can build a table of values:
    A1:C6 contains....
    Please Login or Register  to view this content.
    and just use this formula:
    Please Login or Register  to view this content.
    Note: It seems that the formula you posted would create some inaccurracies.
    Example:
    Please Login or Register  to view this content.
    The above formulas are more precise.

    Does that help?
    Ron
    Former Microsoft MVP - Excel (2006 - 2015)
    Click here to see the Forum Rules

+ 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