View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bob Phillips Bob Phillips is offline
external usenet poster
 
Posts: 1,726
Default summing last values in column

=SUM(LARGE(A2:A20,ROW(INDIRECT("1:"&MIN(COUNT(A:A) ,25)))))

which is an array formula, so commit with Ctrl-Shift-Enter, not just Enter.

--
---
HTH

Bob

(change the xxxx to gmail if mailing direct)


"gotta know" wrote in message
ps.com...
1. I would like to sum the last 25 days values in a column
automatically once the data are input


example:


a. I want to add the sum of the last 25 values in column A
b. the cell that provides me the figure will be cell A1
c. as soon as the data are entered at the bottom of the worksheet, A1
updates automatically
d. some cells in column A are blank

- How do I keep a running total of the last 25, or any values?

Biff, I rewrote for better explanation.

Thanks in advance,
E