Home > Back-end >  Trying to Highlight the Value From Conditional Formatting
Trying to Highlight the Value From Conditional Formatting

Time:04-21

I am trying to highlight the Column J using Conditional Formatting in case of first value before / >139 OR Last value after / >89 then highlight. I have tried but its not working. your help will be appreciated.

=OR(IF(TRIM(LEFT(J3,FIND("/",J3)-1))>139),IF(RIGHT(J3,FIND("/",J3)-2)>89))

enter image description here

CodePudding user response:

Just for interest, you can get your find/right/left formula to work as well but you have to use -- (or value or *1 like @player0) to convert the substring into a number:

=OR(--LEFT(J3,FIND("/",J3)-1)>139,--RIGHT(J3,len(J3)-FIND("/",J3))>89)

enter image description here

  • Related