+ Reply to Thread
Results 1 to 4 of 4

Conditional Formatting using Percentage Variance

  1. #1
    Registered User
    Join Date
    02-08-2012
    Location
    Edmonton, Alberta
    MS-Off Ver
    Excel 2010
    Posts
    2

    Conditional Formatting using Percentage Variance

    Trying to complete conditional formatting across a range of cells comparing actual to plan

    Here are the following rules I would like to use:

    Plan - A1
    Actual - B1

    ((B1-A1)/B1)

    If actual percentage variance is <=0 fill B1 green
    If actual percentage variance is >=0 <=0.05 fill B1 yellow
    If actual percentage variance is >0.05 color fill B1 red

    If you can help it would be appreciated.

  2. #2
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    11,203

    Re: Conditional Formatting using Percentage Variance


    Conditional Format B1:
    If actual percentage variance is <=0 fill B1 green ---> =ROUND((B1-A1)/B1,2)<0
    If actual percentage variance is >=0 <=0.05 fill B1 yellow ---> =AND((B1-A1)/B1>=0,ROUND((B1-A1)/B1,2)<=0.05)
    If actual percentage variance is >0.05 color fill B1 red ---> =ROUND((B1-A1)/B1,2)>0.05
    Ben Van Johnson

  3. #3
    Registered User
    Join Date
    02-08-2012
    Location
    Edmonton, Alberta
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Conditional Formatting using Percentage Variance

    Quote Originally Posted by protonLeah View Post

    Conditional Format B1:
    If actual percentage variance is <=0 fill B1 green ---> =ROUND((B1-A1)/B1,2)<0
    If actual percentage variance is >=0 <=0.05 fill B1 yellow ---> =AND((B1-A1)/B1>=0,ROUND((B1-A1)/B1,2)<=0.05)
    If actual percentage variance is >0.05 color fill B1 red ---> =ROUND((B1-A1)/B1,2)>0.05
    Thanks Ben that worked. Can you tell me how to extend it across a range of cells (12 months)?

  4. #4
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    11,203

    Re: Conditional Formatting using Percentage Variance

    Please provide a sample workbook.

+ 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