79491042

Date: 2025-03-07 01:30:22
Score: 1.5
Natty:
Report link

Here is a recursive let/lambda function that works:

=LET(f, LAMBDA(f,n, IF(LEN(n)=1, n, LEFT(n) + f(f, RIGHT(n, LEN(n)-1)))), f(f,B2))

And here is non-recursive function that will do the same thing:

=SUM(--MID(B2, SEQUENCE(LEN(B2)),1))

enter image description here

Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Bam