+ Reply to Thread
Results 1 to 12 of 12

Nested If For specific Criteria

  1. #1
    Registered User
    Join Date
    12-08-2021
    Location
    india
    MS-Off Ver
    2019
    Posts
    10

    Nested If For specific Criteria

    Hello All,
    I am recreating this thread as I was not able to attached the attachment on the previous thread

    I want to write a nested if statement for below criteria I am able to write till some point but I am not able to add addition 5000 Promotional bonus. Can anybody give me the solution.

    I have already Calculated the Target Achieved based on that I need to write the formula. This is urgent and I am not able to figure it out how to write it.

    Criteria -

    If Target achieved is less than 40%, then Commission paid is 5%
    If Target achieved is between 40 to 100%; 10% of Sale Amount is paid
    If Target achieved is more than 100%; 15% is paid as bonus + 5,000 as Promotion bonus


    Quick Reply would be appriciated
    Thank You
    Attached Files Attached Files

  2. #2
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.83 (24031120))
    Posts
    8,732

    Re: Nested If For specific Criteria

    As this is an Assignment, rather than do the solution for you , lets help a little (other members may provide a solution, but i prefer to help so you learn, which is the point of an assignment, as i'm not doing the assignment myself and wont be available for any exams)

    What have you tried so far , please show the Nested IF you have created so far , and why you think its not working as required

    I understand
    This is urgent and I am not able to figure it out how to write it.
    But this is a free forum with volunteers , so sometimes answers may take a while

    If Target achieved is between 40 to 100%; 10% of Sale Amount is paid
    If Target achieved is more than 100%; 15% is paid as bonus + 5,000 as Promotion bonus
    you have worked out the % achieved, and so can apply the %
    so the Bonus is just adding on that amount
    (Achieved*0.15) + Bonus
    If the % is based on the achieved value
    Wayne
    if my assistance has helped, and only if you wish to , there is an "* Add Reputation" on the left hand side - you can add to my reputation here

    If you have a solution to your thread - Please mark your thread solved do the following: >
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  3. #3
    Registered User
    Join Date
    12-08-2021
    Location
    india
    MS-Off Ver
    2019
    Posts
    10
    So i have written as
    if(targetachieved<40%,5,if(targetachieved<=100,10,
    if(targetachieved>100,15+5000)))

  4. #4
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,152

    Re: Nested If For specific Criteria

    Look at Q3 and work out % in column F. This is value you need to test in the IF formula.
    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

  5. #5
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.83 (24031120))
    Posts
    8,732

    Re: Nested If For specific Criteria

    Ok,
    so you have the correct order < and use of <=
    but the question is in part 2 -
    10% of Sale Amount is paid
    Not exactly well worded question - as thats the only part that says whats the % based on

    So you need to find the % of the sales amount achieved
    So its not than 40% , you need to calculate what the % is
    so whats % of the sales target achieved - Actual Sales v target sales as a % in column F

    for example
    if(%targetachieved<40%,5

    this provide a 5
    but you need 5% of sales Achieved

    Not exactly well worded question - as thats the only part that says whats the % based on
    Last edited by etaf; 12-08-2021 at 03:39 PM.

  6. #6
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,152

    Re: Nested If For specific Criteria

    @Etaf: don't be confused by the Sales Achieved: this was me working blind! All that is required (I think!) is the commission % in column G of Q3 tab.

  7. #7
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.83 (24031120))
    Posts
    8,732

    Re: Nested If For specific Criteria

    OK, not how i read it
    anyway
    So you need to work out the % Target achieved in column F
    and then you can use your formula

    as JohnTopley mentioned in post 4

    ignoring the excel function for now
    How would you calculate a % based on 2 values - target number v achieved number , then apply with cells reference
    Last edited by etaf; 12-08-2021 at 03:44 PM.

  8. #8
    Registered User
    Join Date
    12-08-2021
    Location
    india
    MS-Off Ver
    2019
    Posts
    10
    I am not able to understand how do i add +5000 in 15% commission.

  9. #9
    Registered User
    Join Date
    12-08-2021
    Location
    india
    MS-Off Ver
    2019
    Posts
    10
    Yes it is correct

  10. #10
    Registered User
    Join Date
    12-08-2021
    Location
    india
    MS-Off Ver
    2019
    Posts
    10
    Quote Originally Posted by etaf View Post
    OK, not how i read it
    anyway
    So you need to work out the % Target achieved in column F
    and then you can use your formula

    as JohnTopley mentioned in post 4

    ignoring the excel function for now
    How would you calculate a % based on 2 values - target number v achieved number , then apply with cells reference
    Absolutely correct bang on spoting

  11. #11
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.83 (24031120))
    Posts
    8,732

    Re: Nested If For specific Criteria

    you need to work out what 15% is of the sales achieved
    sales achivied * 15% and then add 5000 - remember excel does calculations in a certain order
    so brackets will be necessary
    hence why I thought the question needed to see the actual amount of commission paid in G , rather than a percentage due
    But as i say poorly worded, and i maybe wrong , which would make it more complicates text (15 + 5,0000)

    thought i had answered further, must have missed actually posting

    how would you calculate a % based on 2 values ? normal % calc ignore Excel for now - then once you have a formula for % apply into excel using cell references
    thats what you need to work out - what % has been achieved and then work out the commission payment
    Last edited by etaf; 12-08-2021 at 04:17 PM.

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

    Re: Nested If For specific Criteria

    @nikhil_pande

    We do not do your homework for you. If you have made progress and have a specific question about an Excel feature that is giving you trouble, we are happy to help. But please do not post your assignment and ask us to complete it for you, tell you how to get started, or advise what approach to take. That is what you are supposed to be learning in your class.

    It is not technically against our rules so I have not closed your thread but please do not just throw a file at us, and expect us to do it for you.
    Jeff
    | | |·| |·| |·| |·| | |:| | |·| |·|
    Read the rules
    Use code tags to [code]enclose your code![/code]

+ 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] Nested if then and statements in specific order ?
    By Ron Purpura in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-12-2021, 04:05 PM
  2. [SOLVED] Nested IF statements with specific conditions
    By lesiahawk in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 02-27-2018, 05:38 PM
  3. [SOLVED] Nested IF with several criteria
    By intdev in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 08-19-2016, 03:50 PM
  4. Macro in excel to copy specific values from a table with a specific criteria
    By Adam Brave in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-12-2015, 05:40 AM
  5. Nested if function given specific criteria?
    By tonyridino in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-27-2015, 10:00 PM
  6. Scraping a specific <td> tag that is nested inside a <tr> tag with VBA
    By kamelkid2 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-06-2015, 12:44 AM
  7. [SOLVED] Nested Sumif's or how to sum data based on nested criteria
    By dlietz in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 10-07-2014, 11:36 AM

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