Conditional Formatting Based on Number of Characters

Is it possible to apply Conditional Formatting to a cell based on the number of characters in the cell? I can think of how to do it using a helper column, but I'm curious if there's a way without adding an additional column.
Best Answer
-
Genevieve P. Employee Admin
Hey@Ben B.
Conditional Formatting does not currently have way of evaluating a cell to see how many characters are in it; I would also suggest using a helper column witha LEN formulato count the characters, then base the formatting off of that column instead.
Cheers,
Genevieve
Answers
-
Genevieve P. Employee Admin
Hey@Ben B.
Conditional Formatting does not currently have way of evaluating a cell to see how many characters are in it; I would also suggest using a helper column witha LEN formulato count the characters, then base the formatting off of that column instead.
Cheers,
Genevieve
-
Ben B. ✭✭
@Genevieve P.Thanks! I ended up using helper columns and the LEN function.
Categories
=IF(NOT(ISBLANK(PARENT(Primary@row))), \"Child\", \"Parent\") For a text Column<\/p>
=IF(NOT(ISBLANK(PARENT(Primary@row))), 1, 0) For a flag Column<\/p>"}]}},"status":{"statusID":3,"name":"Accepted","state":"closed","recordType":"discussion","recordSubType":"question"},"bookmarked":false,"unread":false,"category":{"categoryID":321,"name":"Smartsheet Basics","url":"https:\/\/community.smartsheet.com\/categories\/smartsheet-basics%2B","allowedDiscussionTypes":[]},"reactions":[{"tagID":3,"urlcode":"Promote","name":"Promote","class":"Positive","hasReacted":false,"reactionValue":5,"count":0},{"tagID":5,"urlcode":"Insightful","name":"Insightful","class":"Positive","hasReacted":false,"reactionValue":1,"count":0},{"tagID":11,"urlcode":"Up","name":"Vote Up","class":"Positive","hasReacted":false,"reactionValue":1,"count":0},{"tagID":13,"urlcode":"Awesome","name":"Awesome","class":"Positive","hasReacted":false,"reactionValue":1,"count":0}],"tags":[{"tagID":334,"urlcode":"automations","name":"Automations"}]},{"discussionID":111867,"type":"question","name":"Conditional Formatting Based on Number of Characters","excerpt":"Is it possible to apply Conditional Formatting to a cell based on the number of characters in the cell? I can think of how to do it using a helper column, but I'm curious if there's a way without adding an additional column.","snippet":"Is it possible to apply Conditional Formatting to a cell based on the number of characters in the cell? I can think of how to do it using a helper column, but I'm curious if…","categoryID":321,"dateInserted":"2023-10-18T20:19:42+00:00","dateUpdated":null,"dateLastComment":"2023-10-20T14:32:27+00:00","insertUserID":167431,"insertUser":{"userID":167431,"name":"Ben B.","title":"Business Process Manager","url":"https:\/\/community.smartsheet.com\/profile\/Ben%20B.","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/defaultavatar\/nWRMFRX6I99I6.jpg","dateLastActive":"2023-10-20T19:01:10+00:00","banned":0,"punished":0,"private":false,"label":"✭✭"},"updateUserID":null,"lastUserID":167431,"lastUser":{"userID":167431,"name":"Ben B.","title":"Business Process Manager","url":"https:\/\/community.smartsheet.com\/profile\/Ben%20B.","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/defaultavatar\/nWRMFRX6I99I6.jpg","dateLastActive":"2023-10-20T19:01:10+00:00","banned":0,"punished":0,"private":false,"label":"✭✭"},"pinned":false,"pinLocation":null,"closed":false,"sink":false,"countComments":2,"countViews":39,"score":null,"hot":3395473929,"url":"https:\/\/community.smartsheet.com\/discussion\/111867\/conditional-formatting-based-on-number-of-characters","canonicalUrl":"https:\/\/community.smartsheet.com\/discussion\/111867\/conditional-formatting-based-on-number-of-characters","format":"Rich","tagIDs":[437],"lastPost":{"discussionID":111867,"commentID":400953,"name":"Re: Conditional Formatting Based on Number of Characters","url":"https:\/\/community.smartsheet.com\/discussion\/comment\/400953#Comment_400953","dateInserted":"2023-10-20T14:32:27+00:00","insertUserID":167431,"insertUser":{"userID":167431,"name":"Ben B.","title":"Business Process Manager","url":"https:\/\/community.smartsheet.com\/profile\/Ben%20B.","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/defaultavatar\/nWRMFRX6I99I6.jpg","dateLastActive":"2023-10-20T19:01:10+00:00","banned":0,"punished":0,"private":false,"label":"✭✭"}},"breadcrumbs":[{"name":"Home","url":"https:\/\/community.smartsheet.com\/"},{"name":"Get Help","url":"https:\/\/community.smartsheet.com\/categories\/get-help"},{"name":"Smartsheet Basics","url":"https:\/\/community.smartsheet.com\/categories\/smartsheet-basics%2B"}],"groupID":null,"statusID":3,"attributes":{"question":{"status":"accepted","dateAccepted":"2023-10-20T14:31:38+00:00","dateAnswered":"2023-10-20T13:07:08+00:00","acceptedAnswers":[{"commentID":400902,"body":"
Conditional Formatting does not currently have way of evaluating a cell to see how many characters are in it; I would also suggest using a helper column with a LEN formula<\/a> to count the characters, then base the formatting off of that column instead. <\/p>