Forum Discussion

Joshua Armstrong's avatar
Joshua Armstrong
Copper Contributor
Nov 06, 2018

Conditional formatting cells by percentages

I am using office 2016. 

 

I have a document that I update daily. I am trying to have the top cell format red if there is a 20% discrepancy between the numbers. 

 

I add a new line every day, and copy/paste the numbers in (the blue numbers are the results of a formula)

 

I want to just add my line, put in the numbers and have it check the field below with the percentage and highlight if it's higher or lower than normal. 

  • write this formula to Conditonal Formating->New Rule-->Use a formula to determine which cells to format

     

    =ABS/($B2-$H2)/$B2)>0,2

     

    and below line to Applies to:

     

    =$A$1:$M$1

     

    if you want to have the same rule applied in more rows change the row number in the last formula.ç

    • Joshua Armstrong's avatar
      Joshua Armstrong
      Copper Contributor

      Got this error listed. I changed the corresponding cells accordingly. 

       

       

      • erol sinan zorlu's avatar
        erol sinan zorlu
        Iron Contributor

        Sorry there was a syntax error. It should have been

         

        =ABS(($B2-$H2)/$B2)>0,2

Resources