Home > Net >  Conditional Formatting Cells in a Column Only Containing Letters F-Z Excluding RR
Conditional Formatting Cells in a Column Only Containing Letters F-Z Excluding RR

Time:02-10

How could I highlight cells using conditional formatting if I want to only highlight cells containing letters F-Z? The formula would also need to exclude RR.

For example, if a cell in that column contains RR or any letter from A to E, I don't want to highlight it. But, if it contains any letter from F all the way to Z, I want it automatically highlighted.

Tried using regexmatch, but it's not working.

CodePudding user response:

use:

=REGEXMATCH(A2, "[F-Z]")*(REGEXMATCH(A2, "RR")=FALSE)

enter image description here

  • Related