ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   What function do I use to calculate a Sum of Digits? (https://www.excelbanter.com/excel-worksheet-functions/226260-what-function-do-i-use-calculate-sum-digits.html)

NikL

What function do I use to calculate a Sum of Digits?
 
I need to get Excel to calculate the formula n(n+1) e.g. for the number 5
entered into a cell it would calculate 1+2+3+4+5=15. This is to enable a Sum
of Digits calculation relating to interest payments.

Jacob Skaria

What function do I use to calculate a Sum of Digits?
 
=A1*(A1+1)/2
--
If this post helps click Yes
---------------
Jacob Skaria


"NikL" wrote:

I need to get Excel to calculate the formula n(n+1) e.g. for the number 5
entered into a cell it would calculate 1+2+3+4+5=15. This is to enable a Sum
of Digits calculation relating to interest payments.


NikL

What function do I use to calculate a Sum of Digits?
 
Perfect. Thank you Jacob.

"Jacob Skaria" wrote:

=A1*(A1+1)/2
--
If this post helps click Yes
---------------
Jacob Skaria


"NikL" wrote:

I need to get Excel to calculate the formula n(n+1) e.g. for the number 5
entered into a cell it would calculate 1+2+3+4+5=15. This is to enable a Sum
of Digits calculation relating to interest payments.


Gord Dibben

What function do I use to calculate a Sum of Digits?
 
=(A1^2+A1)/2


Gord Dibben MS Excel MVP

On Wed, 1 Apr 2009 00:25:01 -0700, NikL
wrote:

I need to get Excel to calculate the formula n(n+1) e.g. for the number 5
entered into a cell it would calculate 1+2+3+4+5=15. This is to enable a Sum
of Digits calculation relating to interest payments.




All times are GMT +1. The time now is 11:23 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com