+ Reply to Thread
Results 1 to 9 of 9

Formula to return specified value based on criteria

  1. #1
    Registered User
    Join Date
    09-06-2014
    Location
    usa
    MS-Off Ver
    2013
    Posts
    12

    Formula to return specified value based on criteria

    I want to do this: If b2 is between 100% and 105% then show on C2 100%

    for me that's like impossible. thanks./
    Last edited by FDibbins; 09-06-2014 at 06:48 PM.

  2. #2
    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,944

    Re: Formula to return specified value based on criteria

    Hi, welcome to the forum

    there are a few different ways of doing this (and you did not specify what you want if B2 is outside those boundries?)

    Options 1
    =min(1,B2)

    Option 2
    =IF(AND(B2>=1,B2<=1.05),1,"")

    Moderators note: I changed your thread title for you, please take a moment to read our forum rules, in this case, rule 1
    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

  3. #3
    Registered User
    Join Date
    09-06-2014
    Location
    usa
    MS-Off Ver
    2013
    Posts
    12

    Re: Formula to return specified value based on criteria

    ok. thanks for replying. i didn't know about the rule. but thanks now i know. i think i'm not explaining what i want to do. let see. Ok if i get to the 23.75% of my goal i will meet the 100% of my commission. but also i can exceed the or decrease depending for ex: i sold $1000 this month and thats my commission if i get the 23.75% of the close rate. but if i just got the 18% of my CR then i will get just the 75.8% out of those $1000 . i don't know if you guys understand now. sorry for my English.

  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,944

    Re: Formula to return specified value based on criteria

    OK thats a bit different from your initial question

    Sounds like you have some sort of "table of rates" for your commission? If so, then perhaps a vlookup will serve you better?

  5. #5
    Registered User
    Join Date
    09-06-2014
    Location
    usa
    MS-Off Ver
    2013
    Posts
    12

    Re: Formula to return specified value based on criteria

    hahahahaha yes we have tables of rates. here is an Screenshot of what i have so far. PAYOUT FORMULA.jpg

  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,944

    Re: Formula to return specified value based on criteria

    Its easier if you upload a workbook, not a pic, we cannot edit/change pics.

    Having said that, change your Target column values to read lowest to highest, and then change them to only show the upper limit of each range...

    A
    B
    C
    D
    2
    0%
    -50%
    106%
    10%
    3
    75%
    -30%
    4
    85%
    -20%
    5
    95%
    0%
    6
    105%
    10%


    C2=value to seach on
    D2=VLOOKUP(C2,A2:B6,2,1)

  7. #7
    Registered User
    Join Date
    09-06-2014
    Location
    usa
    MS-Off Ver
    2013
    Posts
    12

    Re: Formula to return specified value based on criteria

    here is the workbook. and once again thanks for the help.
    Attached Files Attached Files

  8. #8
    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,944

    Re: Formula to return specified value based on criteria

    Im not going to reconstruct your table for you, you need to do some of the work yourself I have shown you the basis of what your table needs to look like, see if you can take it from there?

  9. #9
    Forum Expert Vikas_Gautam's Avatar
    Join Date
    06-04-2013
    Location
    Ludhiana,Punjab, India
    MS-Off Ver
    Excel 2013
    Posts
    1,850

    Thumbs up Re: Formula to return specified value based on criteria

    I have got the solution ( I hope..)
    I have reorganized your table...
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Check the attached file..
    Attached Files Attached Files
    Regards,
    Vikas Gautam
    Excel-buzz.blogspot.com

    Excel is not a matter of Experience, its a matter of Application.

    Say Thanks, Click * Add Reputation

+ 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: 11
    Last Post: 06-06-2014, 03:34 PM
  2. how to hide formula in formula box, view lookup result in formula box?
    By vengatvj in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-14-2013, 04:06 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