The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
 All Forums
 Origin Forum
 Origin Forum
 Formula for average of few cells in column

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
Robbe Degroote Posted - 11/29/2024 : 1:59:36 PM
Hi

I'm looking for a formula to obtain the average of every 4 cells.
Currently I'm doing it manualy by typing mean(B1:B4) in cell C1, then in cell C5 I type mean(C5:C8), and so on.

I am hoping there is a formula to enter in the F(x) that calculates the average of a cell and the 3 consecutive cells.

Can someone help me?
1   L A T E S T    R E P L I E S    (Newest First)
snowli Posted - 11/29/2024 : 10:49:12 PM
In F(X) of C, you can enter ave(B, 4) to get the average of every 4 cells.
But it will be put to C1, C2, C3, instead of C1, C5, C9, ....

If you really want results on C1, C5, C9,... only, you can enter the following F(x) of C.

if(mod(i-1,4)==0, Movavg(B,0,3), --)


Thanks, Snow

The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000