LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #9   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,572
Default in Excel: how can I make excel count 5 as 15 (5+4+3+2+1)

Found that link!
Here it is:

http://mathworld.wolfram.com/ArithmeticSeries.html

--

Regards,

RD
-----------------------------------------------------------------------------------------------
Please keep all correspondence within the Group, so all may benefit !
-----------------------------------------------------------------------------------------------

"Gord Dibben" <gorddibbATshawDOTca wrote in message
...
RD

I will ponder this for a while then quietly drift off to whatever planet I
currently reside on. Depends upon which set of meds I'm on<g

But I am improving.....honestly!

Thanks for the work you put into this explanation.

Saved for future regurgitation.


Gord

On Sat, 21 Oct 2006 12:56:31 -0700, "RagDyeR" wrote:

Well Gord, with no intention of implying that I'm well versed in
mathematics, I just happen to take a liking to this "Arithmetic Series".

A year or so ago, Dana put me on to a link (which I can't find at the
moment) that described how Gauss formulated this "truth".

In words it's:

<<<"The count of sequential numbers times the average of the first and last
number."

=A1*(A1+1)/2

So, the formula I posted is supposed to be "intuitive" for *ALL*
possibilities.

Here, the OP's request was for a sum of a series starting (or ending) with
1, therefore, the last (or first) number in this series is the *actual*
amount (count) of numbers in the sequential series, so your A1^2 works.

BUT ... what if the we're looking for, say 5 to 15?
A1 = 15
B1 = 5

In the original formula, A1 now has to become (A1-B1+1)
And the balance becomes (A1+B1)/2

So we now have:
=(A1-B1+1)*(A1+B1)/2

Taking it a step further, there's *no* stipulation that the sequential
series must have an increment or decrement constant of *1*.

Let's take the same 5 to 15, but here we want an increment constant of 5,
the SUM of the sequential series of 5, 10, &15.
A1 = 15
B1 = 5
C1 = 5

=((A1-B1)/C1+1)*(A1+B1)/2

So, that's why:
<<<"The count of sequential numbers times the average of the first and last
number."
=A1*(A1+1)/2

Is probably easier to relate to.


Gord Dibben MS Excel MVP


 
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
Help With Excel Formulas exxon99 New Users to Excel 2 June 5th 06 10:30 AM
Multiple Excel versions. Naveen Mukkelli Excel Discussion (Misc queries) 0 May 16th 06 12:55 AM
Count consecutive dates only [email protected] Excel Discussion (Misc queries) 0 May 4th 06 03:58 PM
How to make Excel 2003, not IE 6, open Excel files from a web? Dmitry Excel Discussion (Misc queries) 2 March 23rd 06 02:01 PM
excel should have a function to count sheets carlos sosa Excel Worksheet Functions 7 April 24th 05 08:29 PM


All times are GMT +1. The time now is 05:54 PM.

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

About Us

"It's about Microsoft Excel"