Forum Discussion
Tollyver
Jul 08, 2020Copper Contributor
Need help for Conditional Formatting
Hi everyone; I have a school bus list that contains student's name and Phone numbers. Only one cell contains all these informations for a student. I want to use conditional formatting method for ...
- Jul 08, 2020
Tollyver , Subodh_Tiwari_sktneer
I'd modify a bit. If we shall exclude notes let consider as duplicates only cells where first two lines of text are the same. When we may apply conditional formatting rules to entire columns
with formula
=(A1<>"")*COUNTIF($A:$B,LEFT(A1,IFERROR(FIND(CHAR(10),A1,FIND(CHAR(10),A1)+1)-1,LEN(A1)))&"*")>1
or similar if we take another range.
SergeiBaklan
Jul 08, 2020Diamond Contributor
Tollyver , Subodh_Tiwari_sktneer
I'd modify a bit. If we shall exclude notes let consider as duplicates only cells where first two lines of text are the same. When we may apply conditional formatting rules to entire columns
with formula
=(A1<>"")*COUNTIF($A:$B,LEFT(A1,IFERROR(FIND(CHAR(10),A1,FIND(CHAR(10),A1)+1)-1,LEN(A1)))&"*")>1
or similar if we take another range.
- TollyverJul 08, 2020Copper Contributor
SergeiBaklan thanks! That's worked for me.
- SergeiBaklanJul 08, 2020Diamond Contributor
Tollyver , you are welcome