I have an excel cell that contains the number 58391. Is there a formula that can count (calculate the amount) the numbers (5+8+3+9+1) in another cell?
Use SUMPRODUCT:
=SUMPRODUCT(--MID(A1,ROW($ZZ$1:INDEX($ZZ:$ZZ,LEN(A1))),1))
The Mid returns an array of the numbers, by iterating the start position from the array of numbers that the ROW returns.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With