Averaging the last 5 entries in a row

G

Geo

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).
 
P

Peo Sjoblom

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)
 
J

John Mansfield

Geo,

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

Bob Phillips

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

--

HTH

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

Peo Sjoblom

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)
 
Top