SOLVED

Conditional Formatting Based off Number of Characters

Brass Contributor

I am trying to create some basic conditional formatting based off of a initial character string. If trimmed character sting equals 12 characters I would like the cell to remain without formatting. If the string does not equal 12 characters I'd like the cell to be highlighted in Red.

 

Case number in this instance is a calculated filed based off the first space 

=LEFT([Title],(FIND(" ",[Title],1)-1))

 

I'm using indexOf to perform my count operator as described here:

String length detection trick to extend your column and view formatting options - YouTube

 

Here are the different examples that I've tried but, I'm not entirely sure why the output comes out incorrectly!

 

Equals 12

 

JohnSena_0-1644261700661.png

 

 

 

Not Equal 12

JohnSena_1-1644261700663.png

 

 

 

 

Greater than 12

JohnSena_2-1644261700665.png

 

 

 

 

Less than 12

JohnSena_3-1644261700666.png

 

 

 

 

1 Reply
best response confirmed by JohnSena (Brass Contributor)
Solution

@JohnSena I'm an idiot. I had my number in '' which made it a string not a number.

1 best response

Accepted Solutions
best response confirmed by JohnSena (Brass Contributor)
Solution

@JohnSena I'm an idiot. I had my number in '' which made it a string not a number.

View solution in original post