Results 1 to 5 of 5

Thread: Understanding the Formula

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #5
    Forum Guru Rick Rothstein's Avatar
    Join Date
    Feb 2012
    Posts
    662
    Rep Power
    14
    Quote Originally Posted by excel_learner View Post
    I have attached a worksheet wherein i have given an example of the calculation and in that there is a formula in Column E starting from E8 and down. I want to understand that what does this formula calculate. (not giving here more description of the question as it can be understood from the attached file)
    The formula is this... =D8*(D8+1)/2 I do not know how it fits into the data in the workbook, but that is the formula for the sum of the first N digit where cell D8 contains the value for N. So, for example, if D8 contained the number 5, then the formula would evaluate to this...

    Code:
    =5*(5+1)/2
       
    =5*6/2
      
    =5*3
      
    =15
    The sum of the first 5 digits is 15 (=1+2+3+4+5). This will work for any positive value N in cell D8.
    Last edited by Rick Rothstein; 12-27-2013 at 02:01 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •