Thread: [Solved] Conditional formatting
View Single Post
 
Old 07-10-2016, 07:46 AM
Pecoflyer's Avatar
Pecoflyer Pecoflyer is offline Windows 7 64bit Office 2010 64bit
Expert
 
Join Date: Nov 2011
Location: Brussels Belgium
Posts: 2,943
Pecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond repute
Default

As the cell value equates to an error, your condition that the cell value be smaller than 1 is not valid

Why?

When comparing, XL first compares the TYPE value of the data ( see that function for more information)


This function returns 16 for an error value and 1 for a number.
As 16 is not smaller than 1, your condition returns FALSE, the CF is thus not applied.

Instead go to Cond Formatting - New rule - select "use a formula" and enter =or(type($g3)=16,$G3<0)
and format as necessary after selecting a column range starting in G3
__________________
Using O365 v2503 - Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post
Reply With Quote