Situation: I have a column, A, consisting of several hundred entries of data in consecutive order from A1 through A:500. What I would like to be able to do is average the last (i. e., bottom-most) 12, 18, 24, etc. entries. For example, if the data is entered in cells A1:A100, I would like a formula in cell A101 that would average the last 12 entries in the column, i. e., cells A89:A100, and likewise for, say the last 18, 24, 36, etc. entries. Any help?
Thanks,
Jeff
![]() |
There are isolated problems with current patches, but they are well-known and documented on this site. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |
-
Average Last # Entries (2000)
Home » Forums » AskWoody support » Productivity software by function » MS Excel and spreadsheet help » Average Last # Entries (2000)
- This topic has 8 replies, 5 voices, and was last updated 19 years, 10 months ago.
AuthorTopicWSjlkirk
AskWoody LoungerMay 27, 2005 at 8:54 am #420068Viewing 1 reply threadAuthorReplies-
WSsdckapr
AskWoody Lounger -
WSRudi
AskWoody Lounger -
WSHansV
AskWoody Lounger -
WSAladin Akyurek
AskWoody LoungerMay 31, 2005 at 2:55 am #950498Adding to Hans’s observation, see my contrib in:
-
WSRudi
AskWoody Lounger
-
-
-
WSAladin Akyurek
AskWoody LoungerMay 27, 2005 at 6:46 pm #950206If the formula needs to be in the cell immediately after the last cell of the range of interest (which is A1:A100 in your example)…
In A101 enter:
=AVERAGE(OFFSET(INDEX(A:A,ROW()),-1,0,-N,1))
where N is a value like 12, meaning “last 12”.
If you’d want to enter the formula in a cell outside column A….
=AVERAGE(OFFSET($A$1,MATCH(9.99999999999999E+307,$A$1:$A$100)-N,0,N))
or with a bit control:
=IF(COUNT($A$1:$A$100)<=N,AVERAGE($A$1:$A$100),AVERAGE(OFFSET($A$1,MATCH(9.99999999999999E+307,$A$1:$A$100)-N,0,N)))
where N is the same as above.
-
WSsdckapr
AskWoody Lounger -
WSRudi
AskWoody LoungerMay 30, 2005 at 11:02 am #950404Some great formulas you guys!
Just something very simple thats worth mentioning to any new excel users who may consider taking advantage of these formula’s. Of stead of using the value inside the formula where Aladin has placed the N, use a empty cell reference in the spreadsheet, say $E$1 (NB to have absolute reference on it!) Then all you need to do is type 10, or 15, or 20 etc… in the cell E1 to average the last 10, or 15 or 20 rows! It makes it nice and dynamic…and you do not need to fuss with the formula if the row numbers to average change!
Just my
worth!
Viewing 1 reply thread -

Plus Membership
Donations from Plus members keep this site going. You can identify the people who support AskWoody by the Plus badge on their avatars.
AskWoody Plus members not only get access to all of the contents of this site -- including Susan Bradley's frequently updated Patch Watch listing -- they also receive weekly AskWoody Plus Newsletters (formerly Windows Secrets Newsletter) and AskWoody Plus Alerts, emails when there are important breaking developments.
Get Plus!
Welcome to our unique respite from the madness.
It's easy to post questions about Windows 11, Windows 10, Win8.1, Win7, Surface, Office, or browse through our Forums. Post anonymously or register for greater privileges. Keep it civil, please: Decorous Lounge rules strictly enforced. Questions? Contact Customer Support.
Search Newsletters
Search Forums
View the Forum
Search for Topics
Recent Topics
-
Does anyone know how can we convert OST to Office 365? (Awaiting moderation)
by
Sanchit Tandon
16 minutes ago -
Installing Feature Update Windows 11 24H2
by
geekdom
14 hours ago -
Windows 11 Insider Preview build 27823 released to Canary
by
joep517
14 hours, 24 minutes ago -
Windows 11 Hotpatch
by
Hackmuss
9 hours, 16 minutes ago -
System Guard service error still won’t be fixed
by
Susan Bradley
15 hours, 3 minutes ago -
Operation ForumTroll: APT attack with Google Chrome zero-day exploit chain
by
Alex5723
9 hours, 14 minutes ago -
Troy Hunt of HaveIBeenPwned Phished
by
Lars220
6 hours, 15 minutes ago -
Microsoft Windows security auditing Code 5061
by
mpw
1 day, 3 hours ago -
Can’t display images in incoming Outlook 365 emails
by
WScopwriter
11 hours, 12 minutes ago -
Windows 11 Insider Preview Build 26200.5510 early builds of 25H2
by
Alex5723
12 hours, 40 minutes ago -
0Patch : Micropatches released for SCF File NTLM Hash Disclosure Vulnerability
by
Alex5723
12 hours, 9 minutes ago -
Select multiple emails and they all open up!
by
CeeJay
2 days, 4 hours ago -
How to remove an update preview
by
Gunny
7 hours, 33 minutes ago -
Third party add ins reminder
by
Susan Bradley
3 hours, 8 minutes ago -
OTF, which backs Tor, Let’s Encrypt and more, sues to save its funding
by
Nibbled To Death By Ducks
1 day, 22 hours ago -
Updating Windows 10 to Windows 11: 23H2 or 24H2?
by
Still Anonymous
2 days, 9 hours ago -
How can I update “Explorer Patcher”
by
WSplanckster
2 days, 11 hours ago -
Check out the home page for Signal
by
CAS
2 days, 8 hours ago -
Windows 11 and Trial version of MS Office
by
Tex265
2 days, 7 hours ago -
Windows 11 Insider Preview build 26120.3585 (24H2) released to BETA
by
joep517
2 days, 15 hours ago -
Windows 11 Insider Preview build 26200.5510 released to DEV
by
joep517
2 days, 15 hours ago -
Windows 11 Insider Preview Build 26100.3624 (24H2) released to Release Preview
by
joep517
2 days, 15 hours ago -
Limits on User Names
by
CWBillow
2 days, 12 hours ago -
MS-DEFCON 4: Mixed bag for March
by
Susan Bradley
12 hours, 14 minutes ago -
Non Apple Keyboards
by
pmcjr6142
13 hours, 31 minutes ago -
How to delete your 23andMe data – The Verge
by
AJNorth
2 days, 10 hours ago -
7 common myths about Windows 11 (Microsoft AD)
by
EyesOnWindows
2 days, 7 hours ago -
Error updating to Win11 0x8024a205
by
bmeacham
7 hours, 34 minutes ago -
default apps
by
chasfinn
1 day, 15 hours ago -
Will MS Works 4 work in MS Win 11?
by
MileHighFlyer
7 hours, 19 minutes ago
Recent blog posts
- System Guard service error still won’t be fixed
- Third party add ins reminder
- MS-DEFCON 4: Mixed bag for March
- Classic and Extended Control Panel — no need to say goodbye
- Things you can do in 2025 that you couldn’t do in 2024
- Revisiting Windows 11’s File Explorer
- Planning ahead for migration
- Woody Leonhard (1951–2025)
Key Links
Want to Advertise in the free newsletter? How about a gift subscription in honor of a birthday? Send an email to sb@askwoody.com to ask how.
Mastodon profile for DefConPatch
Mastodon profile for AskWoody
Home • About • FAQ • Posts & Privacy • Forums • My Account
Register • Free Newsletter • Plus Membership • Gift Certificates • MS-DEFCON Alerts
Copyright ©2004-2025 by AskWoody Tech LLC. All Rights Reserved.