+ Reply to Thread
Results 1 to 9 of 9

Fornula for displaying positive or negative variance

  1. #1
    Registered User
    Join Date
    02-15-2010
    Location
    Bournemouth
    MS-Off Ver
    Excel 2003
    Posts
    76

    Smile Fornula for displaying positive or negative variance

    Hello all again

    Happy Monday to you.

    Apologies as this question is very similar to my last, but need some urgent help.

    I need a formula that will display a 'yes' or 'no' if the following condition is met:

    If the value of cell (L17) is greater than 10% positive variance, then 'YES' else 'NO'.

    Currently the value of L17 is 14%, therefore should be a 'YES', however how can I get the following to work:

    IF(AND(L17=<0,"NO",L17>10%,"YES")) I apologise as I know there are too many arguements here but is there a way around this?

    Thanjks Guys

    Ivor
    Last edited by Ivor; 02-22-2010 at 03:45 PM.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Fornula for displaying positive or negative variance

    Do you mean?

    =IF(L17>10%,"Yes","No")
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    02-15-2010
    Location
    Bournemouth
    MS-Off Ver
    Excel 2003
    Posts
    76

    Re: Fornula for displaying positive or negative variance

    Hello sir

    Thank you for replying. I had that arguement in the first place but I got confused, because my boss started babbling about displaying positive variance. His arguement went like this:

    IF(14%) = < 0, "NO", IF(14%) > 10% +,"YES".

    The '+' sign in the equation is him depicting that he wants to identify a positive variance! BUT surely what you have provided is the same thing right? His way has too many arguements I think?

    Thanks
    Ivor

  4. #4
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Fornula for displaying positive or negative variance

    Use Conditional Formatting - Red for Negative variance, Blue for Positive
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  5. #5
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Fornula for displaying positive or negative variance

    What about between 0 and 14%, what should be displayed...

    if you want a blank... then


    =IF(L17< 0, "NO",IF(L17>10%,"YES",""))

  6. #6
    Registered User
    Join Date
    02-15-2010
    Location
    Bournemouth
    MS-Off Ver
    Excel 2003
    Posts
    76

    Re: Fornula for displaying positive or negative variance

    Thanks Roy Sir, that is what I will suggest to him if he doesn't like my suggestion.

    Thanks again

  7. #7
    Registered User
    Join Date
    02-15-2010
    Location
    Bournemouth
    MS-Off Ver
    Excel 2003
    Posts
    76

    Re: Fornula for displaying positive or negative variance

    Hello

    yes you are right. So unless he wants a blank within his sheet I should stick with the simplest formula that you gave, as it displays everything over 10% as a yes and anything under as a no. I can use conditional formatting on the source data to show 'red' for negative and 'blue' for positive.

    Thanks again sir

    Ivor

  8. #8
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Fornula for displaying positive or negative variance

    If you are satisfied with the solution(s) provided, please mark your thread as Solved.

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save

  9. #9
    Registered User
    Join Date
    02-15-2010
    Location
    Bournemouth
    MS-Off Ver
    Excel 2003
    Posts
    76

    Re: Fornula for displaying positive or negative variance

    Thanks sir....done

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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