A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

7 previous days average



 
 
Thread Tools Display Modes
  #1  
Old October 27th, 2007, 05:12 PM posted to microsoft.public.excel.worksheet.functions
Carlee
external usenet poster
 
Posts: 51
Default 7 previous days average

Hi All,

Question: What function can i use to create an average value of the
previous 7 days?

Column AJ contains data, which is added to everyday
Column B contains the date

In Column AK, I want to have a value, which calculates the average value, of
the 7 previous values entered in column AJ.

Data starts in row 3 for all columns.
--
Carlee
  #2  
Old October 27th, 2007, 05:17 PM posted to microsoft.public.excel.worksheet.functions
Don Guillett
external usenet poster
 
Posts: 6,167
Default 7 previous days average

Change column to suit

=AVERAGE(OFFSET($F$1,COUNT($F$1:$F$1000),,-7,))
--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Carlee" wrote in message
...
Hi All,

Question: What function can i use to create an average value of the
previous 7 days?

Column AJ contains data, which is added to everyday
Column B contains the date

In Column AK, I want to have a value, which calculates the average value,
of
the 7 previous values entered in column AJ.

Data starts in row 3 for all columns.
--
Carlee


  #3  
Old October 27th, 2007, 05:47 PM posted to microsoft.public.excel.worksheet.functions
Carlee
external usenet poster
 
Posts: 51
Default 7 previous days average

Hi there,

So, I pasted your function into my column and it worked well, however, how
can i adjust this function so that it is dynamic. That is, regardless of
where the formula is placed in the row for Oct 1, it calculates 7 days
average prior to Oct 1. If i place it in row with date Sep 5, it will
calculate 7 days average prior to Sep 5.

Thanks in advance for your help. It is really appreciated.

--
Carlee


"Don Guillett" wrote:

Change column to suit

=AVERAGE(OFFSET($F$1,COUNT($F$1:$F$1000),,-7,))
--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Carlee" wrote in message
...
Hi All,

Question: What function can i use to create an average value of the
previous 7 days?

Column AJ contains data, which is added to everyday
Column B contains the date

In Column AK, I want to have a value, which calculates the average value,
of
the 7 previous values entered in column AJ.

Data starts in row 3 for all columns.
--
Carlee



  #5  
Old October 27th, 2007, 10:52 PM posted to microsoft.public.excel.worksheet.functions
Carlee
external usenet poster
 
Posts: 51
Default 7 previous days average

hi there,

Still no luck. Here is the code that exists in the column now.

=SUM($R$10:R78)/(3.785/1000*SUM($AJ$10:AJ78))

Problem is that this function does not average, AND it does look at only the
previous 7 days of data in column AJ. Can you assist me?
--
Carlee


"Don Guillett" wrote:

Place anywhere on the sheet except in column aj to average the last 7 rows
of column aj.
=AVERAGE(OFFSET($aj$1,COUNT($aj$1:$aj$1000),,-7,))


--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Carlee" wrote in message
news
Hi there,

So, I pasted your function into my column and it worked well, however, how
can i adjust this function so that it is dynamic. That is, regardless of
where the formula is placed in the row for Oct 1, it calculates 7 days
average prior to Oct 1. If i place it in row with date Sep 5, it will
calculate 7 days average prior to Sep 5.

Thanks in advance for your help. It is really appreciated.

--
Carlee


"Don Guillett" wrote:

Change column to suit

=AVERAGE(OFFSET($F$1,COUNT($F$1:$F$1000),,-7,))
--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Carlee" wrote in message
...
Hi All,

Question: What function can i use to create an average value of the
previous 7 days?

Column AJ contains data, which is added to everyday
Column B contains the date

In Column AK, I want to have a value, which calculates the average
value,
of
the 7 previous values entered in column AJ.

Data starts in row 3 for all columns.
--
Carlee




  #6  
Old October 27th, 2007, 11:40 PM posted to microsoft.public.excel.worksheet.functions
Bob Phillips
external usenet poster
 
Posts: 5,994
Default 7 previous days average

How about this

=AVERAGE(INDEX($AK$1:$AK$1000,ROW()):INDEX($AK$1:$ AK$1000,MAX(1,ROW()-6)))

--
---
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)



"Carlee" wrote in message
...
hi there,

Still no luck. Here is the code that exists in the column now.

=SUM($R$10:R78)/(3.785/1000*SUM($AJ$10:AJ78))

Problem is that this function does not average, AND it does look at only
the
previous 7 days of data in column AJ. Can you assist me?
--
Carlee


"Don Guillett" wrote:

Place anywhere on the sheet except in column aj to average the last 7
rows
of column aj.
=AVERAGE(OFFSET($aj$1,COUNT($aj$1:$aj$1000),,-7,))


--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Carlee" wrote in message
news
Hi there,

So, I pasted your function into my column and it worked well, however,
how
can i adjust this function so that it is dynamic. That is, regardless
of
where the formula is placed in the row for Oct 1, it calculates 7 days
average prior to Oct 1. If i place it in row with date Sep 5, it will
calculate 7 days average prior to Sep 5.

Thanks in advance for your help. It is really appreciated.

--
Carlee


"Don Guillett" wrote:

Change column to suit

=AVERAGE(OFFSET($F$1,COUNT($F$1:$F$1000),,-7,))
--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Carlee" wrote in message
...
Hi All,

Question: What function can i use to create an average value of the
previous 7 days?

Column AJ contains data, which is added to everyday
Column B contains the date

In Column AK, I want to have a value, which calculates the average
value,
of
the 7 previous values entered in column AJ.

Data starts in row 3 for all columns.
--
Carlee






  #7  
Old October 28th, 2007, 12:05 AM posted to microsoft.public.excel.worksheet.functions
Carlee
external usenet poster
 
Posts: 51
Default 7 previous days average

HI Bob,

Can you do the same thing to this function:

=SUM($R$10:R78)/(3.785/1000*SUM($AJ$10:AJ78))

Essentially, I need to have this calculation listed in Column AK. Whatever
the row this calculation is placed in column AK, I need the function to run
based on the seven prior days for columns r and aj. Make sense?
--
Carlee


"Bob Phillips" wrote:

How about this

=AVERAGE(INDEX($AK$1:$AK$1000,ROW()):INDEX($AK$1:$ AK$1000,MAX(1,ROW()-6)))

--
---
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)



"Carlee" wrote in message
...
hi there,

Still no luck. Here is the code that exists in the column now.

=SUM($R$10:R78)/(3.785/1000*SUM($AJ$10:AJ78))

Problem is that this function does not average, AND it does look at only
the
previous 7 days of data in column AJ. Can you assist me?
--
Carlee


"Don Guillett" wrote:

Place anywhere on the sheet except in column aj to average the last 7
rows
of column aj.
=AVERAGE(OFFSET($aj$1,COUNT($aj$1:$aj$1000),,-7,))


--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Carlee" wrote in message
news Hi there,

So, I pasted your function into my column and it worked well, however,
how
can i adjust this function so that it is dynamic. That is, regardless
of
where the formula is placed in the row for Oct 1, it calculates 7 days
average prior to Oct 1. If i place it in row with date Sep 5, it will
calculate 7 days average prior to Sep 5.

Thanks in advance for your help. It is really appreciated.

--
Carlee


"Don Guillett" wrote:

Change column to suit

=AVERAGE(OFFSET($F$1,COUNT($F$1:$F$1000),,-7,))
--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Carlee" wrote in message
...
Hi All,

Question: What function can i use to create an average value of the
previous 7 days?

Column AJ contains data, which is added to everyday
Column B contains the date

In Column AK, I want to have a value, which calculates the average
value,
of
the 7 previous values entered in column AJ.

Data starts in row 3 for all columns.
--
Carlee







  #8  
Old October 28th, 2007, 12:12 PM posted to microsoft.public.excel.worksheet.functions
MartinW
external usenet poster
 
Posts: 848
Default 7 previous days average

Hi Carlee,

Unless I'm missing something here (quite probable!)

All you need to do is put this in AK9
=IF(AJ9="","",AVERAGE(AJ3:AJ9))
and drag it down as far as your future needs require.

The references update as you drag to give you
a rolling 7 cell average.

HTH
Martin


"Carlee" wrote in message
...
Hi All,

Question: What function can i use to create an average value of the
previous 7 days?

Column AJ contains data, which is added to everyday
Column B contains the date

In Column AK, I want to have a value, which calculates the average value,
of
the 7 previous values entered in column AJ.

Data starts in row 3 for all columns.
--
Carlee



  #9  
Old October 28th, 2007, 05:46 PM posted to microsoft.public.excel.worksheet.functions
Carlee
external usenet poster
 
Posts: 51
Default 7 previous days average

it worked !! It worked!! It worked!!!

Thank you so very much for all of your help.
--
Carlee


"MartinW" wrote:

Hi Carlee,

Unless I'm missing something here (quite probable!)

All you need to do is put this in AK9
=IF(AJ9="","",AVERAGE(AJ3:AJ9))
and drag it down as far as your future needs require.

The references update as you drag to give you
a rolling 7 cell average.

HTH
Martin


"Carlee" wrote in message
...
Hi All,

Question: What function can i use to create an average value of the
previous 7 days?

Column AJ contains data, which is added to everyday
Column B contains the date

In Column AK, I want to have a value, which calculates the average value,
of
the 7 previous values entered in column AJ.

Data starts in row 3 for all columns.
--
Carlee




  #10  
Old October 28th, 2007, 09:02 PM posted to microsoft.public.excel.worksheet.functions
MartinW
external usenet poster
 
Posts: 848
Default 7 previous days average

Glad to hear that Carlee!

Regards
Martin

"Carlee" wrote in message
...
it worked !! It worked!! It worked!!!

Thank you so very much for all of your help.
--
Carlee


"MartinW" wrote:

Hi Carlee,

Unless I'm missing something here (quite probable!)

All you need to do is put this in AK9
=IF(AJ9="","",AVERAGE(AJ3:AJ9))
and drag it down as far as your future needs require.

The references update as you drag to give you
a rolling 7 cell average.

HTH
Martin


"Carlee" wrote in message
...
Hi All,

Question: What function can i use to create an average value of the
previous 7 days?

Column AJ contains data, which is added to everyday
Column B contains the date

In Column AK, I want to have a value, which calculates the average
value,
of
the 7 previous values entered in column AJ.

Data starts in row 3 for all columns.
--
Carlee






 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 10:41 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.