+ Reply to Thread
Results 1 to 4 of 4

Nested IF functions?

  1. #1
    Registered User
    Join Date
    11-12-2011
    Location
    Stockbridge, England
    MS-Off Ver
    Excel 2003
    Posts
    5

    Nested IF functions?

    Hi Everyone

    I'm trying to work out the best way of Achieving a minimum figure (of £11.90) in column H of the attached spreadsheet. I know I can do this with an IF function, but I already have the result of another IF function in that column. In Column D, I can pick either Wholesale or Trade and the results either go in column G or H depending on the choice.

    A bit of background! The figures are derived from the totals in Column F but if this figure falls below £79.56, a minimum send out fee of 11.90 applies. This is the figure I am having trouble with. This only applies to the Trade 15% column not the wholesale 6%.

    Thanks in advance.

  2. #2
    Registered User
    Join Date
    08-10-2015
    Location
    Canada
    MS-Off Ver
    2010
    Posts
    7

    Re: Nested IF functions?

    Under your current "value if true", you can add a nested if that checks the result, and changes if necessary.

    =IF(D:D="Trade 15%",[@[Invoice Total]]*15%,0)

    [@[Invoice Total]]*15%

    This is the portion you want to check, so change it into:

    if([@[Invoice Total]]*15%<11.90,11.90,[@[Invoice Total]]*15%)

    Leaving you with

    =IF(D:D="Trade 15%",if([@[Invoice Total]]*15%<11.90,11.90,[@[Invoice Total]]*15%),0)

    Which will give you what you want.

    edit: pjwhitfield did give a more succinct, easier answer below. above should be used as a lesson in nested ifs for future reference
    Last edited by tcholton; 08-10-2015 at 01:19 PM.

  3. #3
    Forum Expert
    Join Date
    10-09-2014
    Location
    Newcastle, England
    MS-Off Ver
    2003 & 2013
    Posts
    1,986

    Re: Nested IF functions?

    Can you provide a bit more info, are you saying that the UK 15% (col H) figure should be at least £11.90 if its a trade sale?

    ie if the total is £50 then 15% would be £7.50 but you want it to be £11.90?

    £75 would be £11.25 which again should become £11.90 while,

    £80 would calculate £12 which is fine?
    If someone has helped you then please add to their Reputation

  4. #4
    Forum Expert
    Join Date
    10-09-2014
    Location
    Newcastle, England
    MS-Off Ver
    2003 & 2013
    Posts
    1,986

    Re: Nested IF functions?

    Quote Originally Posted by tcholton View Post
    Under your current "value if true", you can add a nested if that checks the result, and changes if necessary.

    =IF(D:D="Trade 15%",[@[Invoice Total]]*15%,0)

    [@[Invoice Total]]*15%

    This is the portion you want to check, so change it into:

    if([@[Invoice Total]]*15%<11.90,11.90,[@[Invoice Total]]*15%)

    Leaving you with

    =IF(D:D="Trade 15%",if([@[Invoice Total]]*15%<11.90,11.90,[@[Invoice Total]]*15%),0)

    Which will give you what you want.
    or alternatively, without another IF
    Please Login or Register  to view this content.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 6
    Last Post: 03-17-2015, 01:35 AM
  2. Nested Functions
    By Pschyrembel in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-05-2012, 05:40 AM
  3. Excel 2007 : Nested IF functions
    By winterziliang in forum Excel General
    Replies: 5
    Last Post: 11-12-2009, 12:53 PM
  4. Nested IF Functions
    By stephen1000 in forum Excel General
    Replies: 27
    Last Post: 12-17-2008, 05:44 PM
  5. Nested functions HELP!
    By db in forum Excel Formulas & Functions
    Replies: 24
    Last Post: 09-06-2005, 06:05 AM
  6. [SOLVED] Nested functions HELP!
    By chiefnmd in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 12:05 AM
  7. [SOLVED] Nested Functions
    By Steve Almond in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-05-2005, 10:05 PM

Tags for this Thread

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