Re: summing numbers with in a cell



On Wed, 6 Jul 2005 11:57:49 -0500, the-charles
<the-charles.1rrcil_1120669560.9455@xxxxxxxxxxxxxxxxxxxxx> wrote:

>
>in cell a1 i have 4099227911503, i know that if i add these numbers up,
>the sum would be 52. how do i write a formula that will do the same
>thing. i need to add the numbers with in the cell so that i can do a
>mod 10 to get the check digit. i am creating a data base for merging
>with envelopes and i need to put the planet code "a1" with a check
>digit

You may use this array formula:

=SUM(--MID(A1,ROW(INDIRECT("1:"&LEN(A1))),1))

To enter an array formula, after typing or pasting it into the formula bar,
hold down <ctrl><shift> while hitting <enter>. Excel will place braces {...}
around the formula.


--ron
.



Relevant Pages

  • Re: Worksheet Formula Returning Sum of a Series
    ... The following is a failed attempt for the sum of a simple series: ... The series formula is: ... lower limit in cell $B$7:: 1 ... Your suggestion to fix the above array formula would be greatly ...
    (microsoft.public.excel.worksheet.functions)
  • Re: Worksheet Formula Returning Sum of a Series
    ... could be done with this array formula as you have noted. ... For Series with Real Coefficients and Real X value ... lower limit in cell $B$7:: 1 ... Retuned Sum value in cell I34::should be -7.071 ... ...
    (microsoft.public.excel.worksheet.functions)
  • Re: Worksheet Formula Returning Sum of a Series
    ... and the PRODUCT function or the SUM / PRODUCT combination! ... lower limit in cell $B$7:: 1 ... Excel seems to display the message for evaluating any array ... could be done with this array formula as you have noted. ...
    (microsoft.public.excel.worksheet.functions)
  • Re: Use of Offset function in array formula
    ... I am struggling trying to get offset to work in an array formula. ... I have been using array formulas in order to sum the like ... Essentially i want the formula to look in a cell, ...
    (microsoft.public.excel.worksheet.functions)
  • Re: Worksheet Formula Returning Sum of a Series
    ... lower limit in cell $B$7:: 1 ... Retuned Sum value in cell I34::should be -7.071 ... ... For Series with Complex Coefficients and Complex X value ... The array formula entered in I34: ...
    (microsoft.public.excel.worksheet.functions)