I want to have conditional formating based on the length of the chars of the cells in the column.
- if the length>100 then mark it red and possibly in another cell, count how many reds or how many cells are length > 100.
How can i do it?
I want to have conditional formating based on the length of the chars of the cells in the column.
How can i do it?
The LEN
function allows you to get the length of a string in a cell. For example if the cell A3 contained "hello", LEN(A3)
would output 3.
To make the cell red, you can right-click on the cell and select conditional formatting. Then under the "Format cells if" select custom formula. You can then use =LEN(CELL_NUMBER)>100
as the formula and select red as the color to set it as.
You can also use the COUNTIF()
to get the total count of cells with length greater than 100. Example usage is here: https://support.google.com/docs/answer/3093480?hl=en