Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Teebee
 
Posts: n/a
Default Does such a function exist ?


I have 2 cells containing a number, A1 (1) and B1 (10)

What i want is that it makes a sum of all the numbers from 1 to 10.
1+2+3+4+5+6+7+8+9+10 equals 55 and this is the result in C1

I'm not sure how to call this function, but i found something simular
on wikipedia:


Code:
--------------------

If a sum has too many terms to write them all out individually, the sum may be written with an ellipsis
to mark out the missing terms.
Thus, the sum of all the natural numbers from 1 to 100 is 1 + 2 + … + 99 + 100 = 5050.

Sums can be represented by the summation symbol, a capital Sigma. This is defined as:

\sum_{i=m}^n x_i = x_m + x_{m+1} + x_{m+2} +\cdots+ x_{n-1} + x_n.

--------------------

http://en.wikipedia.org/wiki/Summation#Notation


--
Teebee
------------------------------------------------------------------------
Teebee's Profile: http://www.excelforum.com/member.php...o&userid=30353
View this thread: http://www.excelforum.com/showthread...hreadid=500100

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Niek Otten
 
Posts: n/a
Default Does such a function exist ?

=SUM(ROW(INDIRECT("d"&A1&":d"&B1)))

Enter as Array formula, that is, commit with CTRL+SHIFT+ENTER instead of
just with ENTER

--
Kind regards,

Niek Otten

"Teebee" wrote in
message ...

I have 2 cells containing a number, A1 (1) and B1 (10)

What i want is that it makes a sum of all the numbers from 1 to 10.
1+2+3+4+5+6+7+8+9+10 equals 55 and this is the result in C1

I'm not sure how to call this function, but i found something simular
on wikipedia:


Code:
--------------------

If a sum has too many terms to write them all out individually, the sum
may be written with an ellipsis
to mark out the missing terms.
Thus, the sum of all the natural numbers from 1 to 100 is 1 + 2 + …
+ 99 + 100 = 5050.

Sums can be represented by the summation symbol, a capital Sigma. This is
defined as:

\sum_{i=m}^n x_i = x_m + x_{m+1} + x_{m+2} +\cdots+ x_{n-1} + x_n.

--------------------

http://en.wikipedia.org/wiki/Summation#Notation


--
Teebee
------------------------------------------------------------------------
Teebee's Profile:
http://www.excelforum.com/member.php...o&userid=30353
View this thread: http://www.excelforum.com/showthread...hreadid=500100



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Teebee
 
Posts: n/a
Default Does such a function exist ?


Thx, that did the job.


--
Teebee
------------------------------------------------------------------------
Teebee's Profile: http://www.excelforum.com/member.php...o&userid=30353
View this thread: http://www.excelforum.com/showthread...hreadid=500100

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
 
Posts: n/a
Default Does such a function exist ?

Hi Niek,

what about
=(B1*(B1+1)-A1*(A1-1))/2

Regards,
Bernd

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
COUNTIF function when 2 conditions exist? Inquiring Minds Excel Worksheet Functions 1 November 29th 05 06:09 PM
Date & Time mully New Users to Excel 4 May 23rd 05 11:56 AM
Hyperlinks using R[1]C[1] and offset function in its cell referenc Elijah-Dadda Excel Worksheet Functions 0 March 5th 05 03:31 AM
Conversion SVC Excel Worksheet Functions 9 February 28th 05 02:29 PM
HOW CAN I GET OFFICE 2003 EXCEL BASIC TO NEST FUNCTIONS LIKE EXCE. Robert AS Excel Worksheet Functions 4 December 2nd 04 10:49 AM


All times are GMT +1. The time now is 10:17 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"