+ Reply to Thread
Results 1 to 3 of 3

Conditional Formatting with Percent of a Value

  1. #1
    Registered User
    Join Date
    02-25-2015
    Location
    Toronto, Ontario
    MS-Off Ver
    2010
    Posts
    1

    Conditional Formatting with Percent of a Value

    Hello - I am trying to apply a Conditional Format to find if a value in 1 cell is within a Percent Tolerance
    A1 B1
    2453 4086

    So I want to colour B1 (4086) Red if it is greater or less than 15% of A (2453)
    So I want to colour B1 (4086) Yellow if it is greater or less than 10% of A (2453)
    So I want to colour B1 (4086) Green is greater or less than 5% of A (2453)

    For Clarity 2450 is Target Units to Produce and 4086 is actual Units Produced.

    I hope this makes some sense as I have struggled to find it online anywhere

    Thanks

    Peter

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

    Re: Conditional Formatting with Percent of a Value

    There is problem with the conditions you have specified.
    However here is the work around.

    Select Column B fully.
    Use following condition formatting formula ( Home-->Conditional formatting--> new rule--> use formula to determine...)

    For Red
    =B1>(A1*0.15)

    For Yellow
    =AND(B1>=(A1*0.10),B1<(A1*0.15))

    For Green
    =AND(B1>=(A1*0.05),B1<(A1*0.10))

    Change Formulas appropriately to suit your conditions.
    Regards,
    Vikas Gautam
    Excel-buzz.blogspot.com

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

    Say Thanks, Click * Add Reputation

  3. #3
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,914

    Re: Conditional Formatting with Percent of a Value

    For Red
    =ABS(B1-A1)/A1>=.15

    For Yellow
    =AND(ABS(B1-A1)/A1>=0.1,ABS(B1-A1)/A1<0.15)

    For Green
    =AND(ABS(B1-A1)/A1>=0.5,ABS(B1-A1)/A1<0.10)
    use the above formula in conditional format
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

+ 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. [SOLVED] Conditional Formatting - Depending on Percent
    By mlbdc2012 in forum Excel General
    Replies: 5
    Last Post: 02-12-2015, 05:55 AM
  2. conditional formatting for a percent column
    By LoneWolf1038 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-10-2014, 06:41 PM
  3. [SOLVED] Conditional Formatting based on Percent
    By AHC7 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-19-2014, 04:21 PM
  4. Conditional formatting for percent is offset
    By danl1952 in forum Excel General
    Replies: 2
    Last Post: 07-14-2012, 09:52 AM
  5. Excel 2007 : Conditional Formatting Percent rule
    By Ichigo in forum Excel General
    Replies: 1
    Last Post: 04-25-2009, 12:50 AM

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