Reputation: 91
I have a table of numbers (B2:DG111)
I want to highlight the cells with values that end in 0
I tried to adjust one of the examples from this article but it's not right yet.
Currently I've selected the range and added this Format Rule
=COUNTIF(B2:DG111,mod(CN2,10)) = 0
This didn't work, also tried to achieve "not ends with" using regex (highlight if ends 1-9)
Upvotes: 0
Views: 22
Reputation: 91
Adjusted the range, and referenced the first cell (b2) and it worked 👍
=mod(B2,10) = 0
Upvotes: 0
Reputation: 30281
within conditional formatting, the custom formula would be:
=REGEXMATCH(TO_TEXT(B2),"0$")
Upvotes: 1