+ Reply to Thread
Results 1 to 3 of 3

Conditional Formatting based on percentage changes from old to new data

  1. #1
    Registered User
    Join Date
    02-26-2013
    Location
    Sydney
    MS-Off Ver
    Excel 2007
    Posts
    1

    Conditional Formatting based on percentage changes from old to new data

    Hi,

    I have seen a thread here with very similar title but I believe my problem is different...

    I have data in sets of 3 columns with column A being old, B being the new value and C being the change from old to new (i.e. B-A). There are 24 of these triplets of columns going across the page. I would like Excel to colour the cells based on the percentage change that C represents from A. If C is a decrease from A, the cell should be green (this is the easy one). If C represents a change of +20% or less from A, it should be yellow, and changes of greater than 20% should be red.

    For example,

    A B C
    10 12 2

    This represents a 20% increase so cell C2 should go yellow.

    A B C
    36 50 14

    This represents a 39% increase so cell C2 should go red.

    Any help would be greatly appreciated, I have been struggling with this for a while - my main problem is that I can't work out how to make the formula recalculate itself for the corresponding triplets of data.

    Thanks

    Joe

  2. #2
    Forum Moderator vlady's Avatar
    Join Date
    09-22-2011
    Location
    Philippines - OLSHCO -Guimba-Nueva Ecija
    MS-Off Ver
    2021
    Posts
    4,366

    Re: Conditional Formatting based on percentage changes from old to new data

    try it like
    =$C1<=$A1*0.2
    then change the logical operation to greater than
    =$C1>$A1*0.2
    I think people forget the word "THANK YOU!!!!" Do you still know it???

    There is a little star ( ADD REPUTATION ) below those person who helped you. Click it to say your "PRIVATE APPRECIATION TO THEIR EFFORT ON THEIR CONTRIBUTIONS "

    Regards,
    Vladimir

  3. #3
    Registered User
    Join Date
    10-31-2012
    Location
    Victoria, Australia
    MS-Off Ver
    Excel 2010
    Posts
    79

    Re: Conditional Formatting based on percentage changes from old to new data

    Or
    Your Green is =($B2-$A2)<0 with an Applies to of =$A$2:$C$21 presuming you have headings plus 20 rows
    Your Yellow is =AND(($B2-$A2)>=0,(($B2-$A2)/$A2*100)<20) same applies to
    Your Red is =(($B2-$A2)/$A2*100)>=20 same applies to

+ 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