+ Reply to Thread
Results 1 to 6 of 6

Trouble Creating A Multi-Nested Conditional

  1. #1
    Registered User
    Join Date
    01-01-2020
    Location
    British Columbia, Canada
    MS-Off Ver
    Excel Mac 2011
    Posts
    5

    Trouble Creating A Multi-Nested Conditional

    Hi...

    Can You Help? I'm trying to create an excel conditional statement for the following variable commission calculation:

    If C1="Y" AND the price is over 100K, then use formula A (Formula below) OR If C1="Y" AND the price is under 100K, then use formula B. Otherwise If C1 ≠ "Y" AND the price is over 100K, then use formula C OR If C1≠"Y", then use formula D.

    Formulae C & D have worked using this:
    =If(C2<=100000,C2*0.035,(sum(100000*3.5%)+((C2-100000)*1.5%)))


    Formulae A & B Have worked using this:
    =IF(D8<=100000,SUM((D8*0.035)*60%),(SUM(100000*3.5%)+((D8-100000)*1.5%)*60%))

    Here's the Conditional I'm Trying To Use Now. It works for some of my figures, but not all.
    =IF(AND(E8="Y"),IF(D8<=100000,((D8*0.035)*60%),(SUM(100000*3.5%)+((D8-100000)*1.5%)*60%)),IF(D8<=100000,D8*0.035,(SUM(100000*3.5%)+((D8-100000)*1.5%))))

    Thoughts?
    Last edited by FDibbins; 01-02-2020 at 01:18 AM.

  2. #2
    Forum Expert Bob Phillips's Avatar
    Join Date
    09-03-2005
    Location
    Wessex
    MS-Off Ver
    Office 2003, 2010, 2013, 2016, 365
    Posts
    3,284

    Re: Trouble Creating A Multi-Nested Conditional

    is this what you want?

    =IF(E9="Y",IF(D9<=100000,D9*0.035*60%,S100001*3.5%+(D9-100000)*1.5%*60%),
    IF(D9<=100000,D9*0.035,100000*3.5%+((D9-100000)*1.5%)))

  3. #3
    Registered User
    Join Date
    01-01-2020
    Location
    British Columbia, Canada
    MS-Off Ver
    Excel Mac 2011
    Posts
    5

    Re: Trouble Creating A Multi-Nested Conditional

    Hi Bob...

    Thanks for trying to help. Unfortunately, it produces roughly the same results I produced previously. Your equation is much cleaner than mine tho.

    If you're still willing to help, here's some context to help perhaps make my goal clearer.


    If my staff sells a home for under $100K, and the client is there's, then they receive a commission of 3.5% of whatever amount the home sold for under $100K.
    Ex--> $100,000 home provides my staff with $3500 in commission.


    If my staff sells a different home for the same price, but they're helping one of my clients, then they receive 60% of the regular commission.
    Ex--> $100,000 = $2100 commission.


    If my staff sells a home for over $100K, and the client is there's, then they receive a commission of 3.5% on the first $100K and 1.5% on anything thereafter.
    Ex--> $250,000 = ($100,000*3.5%)+($150,000*1.5%)=$5750


    If my staff sells a different home for the same price, but they're helping one of my clients, then they receive 60% of the regular commission.
    Ex--> $250,000 = [($100,000*3.5%)+($150,000*1.5%)*60%]=$3450



    I want to differentiate between the amount of their commission if the home was sold to my client or theirs.

    Here's the file of what I'm trying to do, what appears to be happening, and what things "should" look like.
    Attached Files Attached Files
    Last edited by FDibbins; 01-02-2020 at 01:18 AM.

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,933

    Re: Trouble Creating A Multi-Nested Conditional

    jjonesmii I have removed your fancy formatting from your posts - it is unnecessary and just wastes space.

    Also, it looks like your file - and your description - are out of sync? Your example formula references col C, but C is empty in your file?
    Last edited by FDibbins; 01-02-2020 at 01:21 AM.
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  5. #5
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,933

    Re: Trouble Creating A Multi-Nested Conditional

    OK try this...
    =IF(D8 < 100000,D8*0.035,(D8-100000)*0.015+3500)*IF(E8="y",0.6,1)

  6. #6
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,933

    Re: Trouble Creating A Multi-Nested Conditional

    I guess that answered your question thanks for the feedback

+ 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. Trouble with nested If's
    By KimMorgan in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-02-2019, 05:16 PM
  2. [SOLVED] Trouble with nested for loops
    By excel_novice2019 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-25-2019, 08:44 PM
  3. [SOLVED] Trouble with a complex, multi-conditional % Complete formula
    By Aimee S. in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-22-2014, 02:02 PM
  4. [SOLVED] Trouble with Nested If
    By shaught7 in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 07-25-2014, 02:26 PM
  5. [SOLVED] Trouble creating a conditional hyperlink
    By JPWRana in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-27-2013, 10:38 PM
  6. Trouble with Nested IF Function
    By gvishnu in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-25-2013, 05:18 PM
  7. Lookup/multi functions trouble
    By kdub13 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 06-14-2011, 02:36 AM

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