+ Reply to Thread
Results 1 to 6 of 6

If formula

  1. #1
    Registered User
    Join Date
    01-18-2013
    Location
    Conifer, CO
    MS-Off Ver
    Excel 2010
    Posts
    26

    If formula

    trying to get a formula to calculate a percentage of salary if you hit different percentages of your budget. If B32@ is less than 96%, you get 0% of your salary ($g$13),

    if 96% you get 3.0%,
    if 97% you get 3.5%,
    if 98%, you get 4%
    if 99%, you get 4.5%
    if 100%, you get 5%

    I think I am close but missing something. Any help is greatly appreciated.


    (IF(B32<0.96,0,IF(B32<.97,0.3,(b32<.98,0.35(ifb32<.99,.04,,0.05))/$G$13

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

    Re: If formula

    if 96% you get 3.0%,
    if 97% you get 3.5%,
    if 98%, you get 4%
    if 99%, you get 4.5%
    if 100%, you get 5%

    =IF( B32 < 0.96 , $G$13*0 , IF ( B32 < 0.97 , $G$13* 0.03 , IF ( B32 < 0.98 , $G$13* 0.035 ,IF ( B32 < 0.99 , $G$13* 0.04 , IF ( B32 < 1 , $G$13* 0.045 , $G$13* 0.05 )))))
    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
    10-28-2014
    Location
    Minnesota
    MS-Off Ver
    13
    Posts
    12

    Re: If formula

    May I suggest using a table and a VLookup to get your answer?
    In that way, if your percentages change in the future, you need not change each formula, just the table.
    My two cents worth . . . with an example:

    Budget 97.4%
    Raise 3.5%
    =IFERROR(VLOOKUP(B1,A5:B9,2,1),0)

    96% 3.0%
    97% 3.5%
    98% 4.0%
    99% 4.5%
    100% 5.0%

    Have a great day !! -- Snuggles

  4. #4
    Forum Expert
    Join Date
    06-08-2012
    Location
    Left the forum!
    MS-Off Ver
    Left the forum!
    Posts
    5,189

    Re: If formula

    Try

    =LOOKUP(N(B32),{0,0.96,0.97,0.98,0.99,1},{0,0.03,0.035,0.04,0.045,0.05})/$G$13

    Please have a read of the forum rules regarding thread titles, in my opinion, your title falls between 'anticipated solution' and 'poor thread title'.

    If you look at the formula above, and the suggestion from Snuggles in post #3, there is no use of the IF function in either.

    I would suggest that you change your title to something more meaningful, however, I'm not making it a formal moderation request.

  5. #5
    Registered User
    Join Date
    01-18-2013
    Location
    Conifer, CO
    MS-Off Ver
    Excel 2010
    Posts
    26

    Re: If formula

    Thank you for all your feedback and help. I have never used a v lookup but will see if I can figure it out as maybe that will help with my other post.

  6. #6
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,457

    Re: If formula

    @jason:
    however, I'm not making it a formal moderation request.
    As a senior member (you, that is), I suspect it could be considered a formal (moderation) request and, strictly speaking, it needs to be complied with. Should be anyway
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


+ 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

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