+ Reply to Thread
Results 1 to 7 of 7

Need Help Creating An IF Statement

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

    Need Help Creating An IF Statement

    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.

    Attached is the file of what I'm trying to do, what appears to be happening, and what things "should" look like.

    How would you create the formula?
    Attached Files Attached Files
    Last edited by jjonesmii; 01-02-2020 at 12:08 AM. Reason: Change The Title

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: Looking For A Puzzle To Solve?

    Administrative Note:

    Welcome to the forum.

    We would very much like to help you with your query, however the thread title does not really convey what your request is about.

    Please take a moment to amend your thread title. Make sure that the title properly explains your request. Your title should be explicit and not be generic (this includes function names used without an indication of what you are trying to achieve).

    Please see Forum Rule #1 about proper thread titles and adjust accordingly. To edit the thread title, open the original post to edit and then click on Go Advanced (bottom right) to access the area where you can edit your title.

    (Note: this change is not optional. No help to be offered until this moderation request has been fulfilled.)
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

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

    Re: Looking For A Puzzle To Solve?

    Understood. Thanks.

  4. #4
    Valued Forum Contributor
    Join Date
    12-28-2014
    Location
    NSW, Australia
    MS-Off Ver
    MS365
    Posts
    604

    Re: Need Help Creating An IF Statement

    Hi, this should hopefully get you sorted:

    Please Login or Register  to view this content.
    The first IF checks for 100,000 or less and if so multiples by 3.5%, otherwise it subtracts the 100,000 from the sale price and multiplies that by 1.5% and adds 3500 for the first 100,000.
    The second IF checks for Y or N in column E and multiplies the result from the first IF by either 0.6 or 1.

  5. #5
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,499

    Re: Need Help Creating An IF Statement

    You have column E that contains either Y or N, my formula assumes that N indicates it is their listing and Y indicates it is someone else's listing that they sold.
    here is my attempt....
    =IF(AND(E8="n",D8< 100000),D8*0.035,IF(AND(E8="n",D8>99999.99),3500+((D8-100000)*0.015),IF(AND(E8="y",D8< 100000),D8*0.021,IF(AND(E8="y",D8>99999.99),2100+((D8-100000)*0.009),""))))
    though I believe it gives you the same results as Beamernsw's formula which is much less clunky than mine.
    Make contributors happy, click on the "* Add Reputation" as a way to say thank you.
    Sam Capricci

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

    Re: Need Help Creating An IF Statement

    Works Perfectly! Thank you!
    Last edited by AliGW; 01-02-2020 at 01:54 PM. Reason: p

  7. #7
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,916

    Re: Need Help Creating An IF Statement

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

    Next time you start a thread, please use the title to explain what you are trying to do (i.e. an IF statement to do what?). Thanks.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

+ 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. [SOLVED] Look Up Puzzle
    By Tony2018 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-18-2018, 07:41 AM
  2. Excel puzzle - how to solve?
    By Excellation86 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-12-2018, 10:21 AM
  3. Solve the puzzle???
    By myatix in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 05-18-2016, 06:45 PM
  4. Need a formula to solve a puzzle
    By amitkr3855 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-06-2013, 02:27 AM
  5. Excel code required to solve puzzle
    By vasant in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-09-2011, 04:25 AM
  6. Can you help!!!!! New Puzzle
    By Krefty in forum Excel General
    Replies: 0
    Last Post: 06-13-2005, 04:05 PM

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