Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Geo
 
Posts: n/a
Default Averaging the last 5 entries in a row

I have 20 numbers in a row (G34:Z34) I would like to average the last 5
entries. So if I have 10 entries (G34:P34),I would only like to average
(L34:P34) Which is the last 5 entered and continue on averaging the last 5
all the way to (Z34).
--
Geo
  #2   Report Post  
Peo Sjoblom
 
Posts: n/a
Default

If there are no blank cells in-between you can use

=AVERAGE(OFFSET($G$34,,COUNT($G$34:$Z$34)-1,,-5))

--
Regards,

Peo Sjoblom

(No private emails please, for everyone's
benefit keep the discussion in the newsgroup/forum)



"Geo" wrote in message
...
I have 20 numbers in a row (G34:Z34) I would like to average the last 5
entries. So if I have 10 entries (G34:P34),I would only like to average
(L34:P34) Which is the last 5 entered and continue on averaging the last
5
all the way to (Z34).
--
Geo



  #3   Report Post  
JE McGimpsey
 
Posts: n/a
Default

One way:

=AVERAGE(OFFSET(G34,0,COUNTA(G34:Z34)-5,1,5))


In article ,
Geo wrote:

I have 20 numbers in a row (G34:Z34) I would like to average the last 5
entries. So if I have 10 entries (G34:P34),I would only like to average
(L34:P34) Which is the last 5 entered and continue on averaging the last 5
all the way to (Z34).

  #4   Report Post  
John Mansfield
 
Posts: n/a
Default

Geo,

In cell Q34, add the formula "=average(L34:P34)". Then copy that formula
across the range R34:Z34.

----
Regards,
John Mansfield
http://www.pdbook.com

"Geo" wrote:

I have 20 numbers in a row (G34:Z34) I would like to average the last 5
entries. So if I have 10 entries (G34:P34),I would only like to average
(L34:P34) Which is the last 5 entered and continue on averaging the last 5
all the way to (Z34).
--
Geo

  #5   Report Post  
Bob Phillips
 
Posts: n/a
Default

What is wrong with the answers given in your previous posting?

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Geo" wrote in message
...
I have 20 numbers in a row (G34:Z34) I would like to average the last 5
entries. So if I have 10 entries (G34:P34),I would only like to average
(L34:P34) Which is the last 5 entered and continue on averaging the last

5
all the way to (Z34).
--
Geo





  #6   Report Post  
Peo Sjoblom
 
Posts: n/a
Default

Just to make sure he posted again a third time and wasted Ken Wright's time
as well as

--
Regards,

Peo Sjoblom

(No private emails please, for everyone's
benefit keep the discussion in the newsgroup/forum)



"Bob Phillips" wrote in message
...
What is wrong with the answers given in your previous posting?

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Geo" wrote in message
...
I have 20 numbers in a row (G34:Z34) I would like to average the last 5
entries. So if I have 10 entries (G34:P34),I would only like to average
(L34:P34) Which is the last 5 entered and continue on averaging the last

5
all the way to (Z34).
--
Geo





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
2 part question on averaging Geo Excel Discussion (Misc queries) 4 January 2nd 05 10:35 PM
counting non occur entries excelFan Excel Discussion (Misc queries) 2 December 15th 04 07:15 PM
How do I take data entries and assign them to specific cells that. mike Excel Discussion (Misc queries) 1 December 14th 04 09:51 PM
Automatic changes in cell entries doco Excel Discussion (Misc queries) 3 December 12th 04 04:23 PM
Multiple Files, Duplicate Entries PMSunshine77 Excel Discussion (Misc queries) 1 December 10th 04 08:28 PM


All times are GMT +1. The time now is 03:31 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"