Results 1 to 4 of 4

Thread: Conditional Format Based On Percentage Variance

  1. #1
    Junior Member
    Join Date
    Sep 2012
    Posts
    9
    Rep Power
    0

    Conditional Format Based On Percentage Variance

    I have budgeted numbers, actual and variance, I want variance cell to highlight Red Yellow or Green if the variance percentage is in the specified ranges. The variance cells have values and not percentages. So the conditional formula will calculate percentages and then apply the colors, and of course there is not a fixed value, values will be in Actuals and in budget.
    So as soon the actuals are input the variance will show the difference in value and apply color based on percentage of difference

  2. #2
    Administrator Admin's Avatar
    Join Date
    Mar 2011
    Posts
    1,123
    Rep Power
    10
    Hi Srizki,

    Welcome to ExcelFox !!

    Could you please attach a sample workbook ?
    Cheers !

    Excel Range to BBCode Table
    Use Social Networking Tools If You Like the Answers !

    Message to Cross Posters

    @ Home - Office 2010/2013/2016 on Win 10 (64 bit); @ Work - Office 2016 on Win 10 (64 bit)

  3. #3
    Administrator Excel Fox's Avatar
    Join Date
    Mar 2011
    Posts
    1,402
    Rep Power
    10
    So if your Columns A,B and C have the Budget, Actual and Variance, then use the following formulas in conditional format

    =(B2-A2)/A2>=10% (for any variance greater or equal to 10%)
    =(B2-A2)/A2>=5% (for any variance greater or equal to 5%)
    =(B2-A2)/A2<=5% (for any variance less than 5%)

    Note that the order of the formatting rules is important. Excel 2007 has other ways to control when to stop with any one rule, but that should be another topic.

    Check the attachment for example.
    Attached Files Attached Files
    A dream is not something you see when you are asleep, but something you strive for when you are awake.

    It's usually a bad idea to say that something can't be done.

    The difference between dream and aim, is that one requires soundless sleep to see and the other requires sleepless efforts to achieve

    Join us at Facebook

  4. #4
    Junior Member
    Join Date
    Sep 2012
    Posts
    9
    Rep Power
    0
    Thank you very much.

Similar Threads

  1. Replies: 21
    Last Post: 05-27-2013, 08:45 PM
  2. Replies: 2
    Last Post: 03-31-2013, 01:54 PM
  3. Red Green Amber Three Color Conditional Format
    By paul_pearson in forum Excel Help
    Replies: 1
    Last Post: 03-07-2013, 06:50 PM
  4. Replies: 4
    Last Post: 02-22-2013, 02:24 AM
  5. Custom Format Conditional With Square Bracket
    By Slotmachineguy in forum Excel Help
    Replies: 2
    Last Post: 11-09-2012, 11:42 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •