PC Review


Reply
Thread Tools Rate Thread

average of different cell values (regular internval)

 
 
pickamovie
Guest
Posts: n/a
 
      16th Mar 2006

hello all,
i am new to excel.can somebody help me writing a formula fo
calculation the average of intermitnet values...

for example in a column C...
if i need average of c2,c4,c6,c8,c10 (at regular intervals) o
c1,c3,c5,c7,c9 ....

thanks in advanc

--
pickamovi
-----------------------------------------------------------------------
pickamovie's Profile: http://www.excelforum.com/member.php...fo&userid=3210
View this thread: http://www.excelforum.com/showthread.php?threadid=52300

 
Reply With Quote
 
 
 
 
Ardus Petus
Guest
Posts: n/a
 
      16th Mar 2006
Assuming your data lays in C1:C25:

SUMPRODUCT(C1:C25,--(MOD(ROW(X1:C25),2)=0))/COUNTA(C1:C25)

You can adjust the value of 2nd parameter of MOD (here:2)

HTH
--
AP

"pickamovie" <(E-Mail Removed)> a
écrit dans le message de
news(E-Mail Removed)...
>
> hello all,
> i am new to excel.can somebody help me writing a formula for
> calculation the average of intermitnet values...
>
> for example in a column C...
> if i need average of c2,c4,c6,c8,c10 (at regular intervals) or
> c1,c3,c5,c7,c9 ....
>
> thanks in advance
>
>
> --
> pickamovie
> ------------------------------------------------------------------------
> pickamovie's Profile:

http://www.excelforum.com/member.php...o&userid=32101
> View this thread: http://www.excelforum.com/showthread...hreadid=523008
>



 
Reply With Quote
 
pickamovie
Guest
Posts: n/a
 
      16th Mar 2006

hi AP first of all thanks for the reply..
i think u misunder stood my problem..
here is the example
column C..
i want the everage of c1,c3,c5,c7,c9 with an interval (here 2)..i wan
the average to be displayed in a specified cell...
thanks

--
pickamovi
-----------------------------------------------------------------------
pickamovie's Profile: http://www.excelforum.com/member.php...fo&userid=3210
View this thread: http://www.excelforum.com/showthread.php?threadid=52300

 
Reply With Quote
 
Ardus Petus
Guest
Posts: n/a
 
      16th Mar 2006
Sorry: I did not dvide by the proper number.

See example : http://cjoint.com/?dqm0KXjuq0

A1 contains my formula:
=SUMPRODUCT($C1:$C9,--(MOD(ROW($C1:$C9),2)=1))/SUMPRODUCT(--(MOD(ROW($C1:$C9
),2)=1))

As proof-ckecking, B1 contains =AVERAGE(C1,C3,C5,C7,C9)

HTH
--
AP

"pickamovie" <(E-Mail Removed)> a
écrit dans le message de
news(E-Mail Removed)...
>
> hi AP first of all thanks for the reply..
> i think u misunder stood my problem..
> here is the example
> column C..
> i want the everage of c1,c3,c5,c7,c9 with an interval (here 2)..i want
> the average to be displayed in a specified cell...
> thanks .
>
>
> --
> pickamovie
> ------------------------------------------------------------------------
> pickamovie's Profile:

http://www.excelforum.com/member.php...o&userid=32101
> View this thread: http://www.excelforum.com/showthread...hreadid=523008
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Average of cell values - Ignore if 0 Les Microsoft Excel Programming 3 27th Jun 2008 03:14 PM
select date range then find average of values in another cell rob117 Microsoft Excel Worksheet Functions 3 3rd May 2007 03:34 PM
UDF code to find specific text in cell comments, then average cell values bruch04 Microsoft Excel Programming 3 5th Dec 2005 10:01 PM
Error Handling #N/A with AVERAGE Function - Average of values in Row Sam via OfficeKB.com Microsoft Excel Worksheet Functions 13 31st Jul 2005 03:59 PM
Calculate the average by searching to cell values =?Utf-8?B?TWV0aW4=?= Microsoft Excel Programming 7 25th Jan 2005 03:45 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:20 AM.