LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #8   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,651
Default formula to sum LAST five (5) values in column

On Tue, 27 Apr 2004 21:56:03 -0700, "rleonard" wrote:

Ron,
Thanks for help,formula does the job of finding the last 5 golf score totals.

you said:
Also, if there are less than five numeric entries, the above formula will give
an error. If this is a problem, let me know.

How would I handle this problem, as it might occur?


It depends on what you want to do if the problem should occur?

=IF(COUNT(score)<5,"Less than five entries",SUM(TRANSPOSE(INDIRECT(ADDRESS(
LARGE(ISNUMBER(score)*ROW(score),{1,2,3,4,5}),COLU MN(score))))))



Also where can I get more info re *array-entered* formula's? This was first time in writing excell code that I had to use an *array-entered* formula!



I started with Excel HELP and the excel newsgroups. I'm not sure where else it
is written about.


--ron
 
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
*** Urgent help formula * Need to sum values in a column if all .. Alpha Bravo Charlie Excel Worksheet Functions 2 November 18th 07 01:11 AM
I want to copy a column of values, NOT the formula Joe G Excel Discussion (Misc queries) 2 April 20th 06 05:42 PM
AFTER REPLACING FORMULA WITH VALUES, HOW DO I ADD THE COLUMN? dyfrog Excel Discussion (Misc queries) 5 April 6th 06 07:20 PM
Move column values w/o formula Greg Excel Worksheet Functions 1 February 1st 05 10:01 PM
formula to sum LAST five (5) values in column R Doornbosch Excel Programming 0 April 27th 04 04:41 PM


All times are GMT +1. The time now is 04:19 AM.

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"