ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Conditional Formatting Problem (https://www.excelbanter.com/excel-worksheet-functions/181893-conditional-formatting-problem.html)

Code Numpty

Conditional Formatting Problem
 
I am trying to apply a conditional format to a range of cells containing a
version of this formula.
=IF(H16=0,"N/A",(H16-J16)*100/J16)

If the cell value is greater than 2, I need the format to change. However,
if the cell value is "N/A" the conditional formatting as still applied.

I have tried Formula Is =AND(O162,O16<"")




Pete_UK

Conditional Formatting Problem
 
Try this change to your CF formula:

=AND(O162,O16<"N/A")

Hope this helps.

Pete

On Mar 31, 11:24*am, Code Numpty
wrote:
I am trying to apply a conditional format to a range of cells containing a
version of this formula.
=IF(H16=0,"N/A",(H16-J16)*100/J16)

If the cell value is greater than 2, I need the format to change. However,
if the cell value is "N/A" the conditional formatting as still applied.

I have tried Formula Is *=AND(O162,O16<"")



Code Numpty

Conditional Formatting Problem
 
Spot on Pete, thanks!

Pete_UK

Conditional Formatting Problem
 
You're welcome.

Pete

On Mar 31, 11:50*am, Code Numpty
wrote:
Spot on Pete, thanks!




All times are GMT +1. The time now is 09:28 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com