Help

Formula: Track progress of checklists in a rich text field

131 1
cancel
Showing results for 
Search instead for 
Did you mean: 
Martin_Malinda
6 - Interface Innovator
6 - Interface Innovator

Hi! here's a formula that I used for tracking progress in a rich text field, maybe someone will find it useful, cheers!

( (LEN({Checklist}) - LEN(SUBSTITUTE({Checklist}, "[x]", ""))) / LEN("[x]") + (LEN({Checklist}) - LEN(SUBSTITUTE({Checklist}, "[X]", ""))) / LEN("[X]") ) / (LEN({Checklist}) - LEN(SUBSTITUTE({Checklist}, "[", "")))

https://www.linkedin.com/feed/update/urn:li:activity:7266910744263168000/

1 Reply 1

Hi,
similar topic discussed somewhere in the past, but it was several years ago, so it's a good time to review and remember simple but useful formula.
I just curious - what is the purpose of part  with 'upper X' ? To be honest, I didn't remember text sequence for enabled checkbox, just tried and get [x]. Do you know when [X] can be returned?


Anyway, I would simplify it from one side, but check for list to avoid NaN

 

IF(FIND('[',Checklist),
(LEN(Checklist) - LEN(SUBSTITUTE(LOWER(Checklist), '[x]', '[]'))) /
(LEN(Checklist) - LEN(SUBSTITUTE(Checklist, '[', ''))))