"non-zero, non-blank rows" sound like you have a complicated structure.
Are there blank rows between non-blank rows?
What is a "zero row"? A row with one zero somewhere in the row or a row where all the cells contain 0?
How many columns are in your data set? If it varies, what is the maximum?
Yes. some rows might be blank if I neglected to put anything in it that day. Non-zero doesn't really apply since it'll either have a number > 0, or be blank.
Let me also clarify - I currently have several hundred rows. Theoretically, there is no maximum. In each row is various data such as date and time, and three cells (consecutive columns) in each row contain the values I wish to average over the last 10 days.
It looks like this ... Columns E, F, and G are the ones I want to display the last 10 day average for. As you can see, there are blanks. So, to simplify it, three cells at the top of the sheet will
display the average for the last 3 values in E, F, and G. So E's average would be (116+110)/2, F's would be (86+88+112) / 3, and G's would be (100+108)/2.
A B C D E F G
[TABLE="width: 565"]
<colgroup><col><col><col><col><col span="3"></colgroup><tbody>[TR]
[TD]3/7/17[/TD]
[TD]192.0[/TD]
[TD]8:00 AM[/TD]
[TD]8:00 AM[/TD]
[TD]118[/TD]
[TD]106[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]3/8/17[/TD]
[TD]191.0[/TD]
[TD]8:00 AM[/TD]
[TD]8:00 AM[/TD]
[TD]125[/TD]
[TD]94[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]3/9/17[/TD]
[TD]189.0[/TD]
[TD]8:00 AM[/TD]
[TD]8:00 AM[/TD]
[TD]124[/TD]
[TD]95[/TD]
[TD]96[/TD]
[/TR]
[TR]
[TD]3/10/17[/TD]
[TD]189.0[/TD]
[TD]8:00 AM[/TD]
[TD]8:00 AM[/TD]
[TD]120[/TD]
[TD]118[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]3/11/17[/TD]
[TD]190.0[/TD]
[TD]8:00 AM[/TD]
[TD]8:00 AM[/TD]
[TD]126[/TD]
[TD]118[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]3/12/17[/TD]
[TD]191.0[/TD]
[TD]8:00 AM[/TD]
[TD]8:00 AM[/TD]
[TD] [/TD]
[TD]90[/TD]
[TD]106[/TD]
[/TR]
[TR]
[TD]3/13/17[/TD]
[TD]189.0[/TD]
[TD]8:00 AM[/TD]
[TD]8:00 AM[/TD]
[TD]134[/TD]
[TD] [/TD]
[TD]114[/TD]
[/TR]
[TR]
[TD]3/14/17[/TD]
[TD]190.0[/TD]
[TD]8:00 AM[/TD]
[TD]8:00 AM[/TD]
[TD]116[/TD]
[TD]88[/TD]
[TD]116[/TD]
[/TR]
[TR]
[TD]3/15/17[/TD]
[TD]190.0[/TD]
[TD]8:00 AM[/TD]
[TD]8:00 AM[/TD]
[TD]116[/TD]
[TD]86[/TD]
[TD]100[/TD]
[/TR]
[TR]
[TD]3/16/17[/TD]
[TD]190.0[/TD]
[TD]8:00 AM[/TD]
[TD]8:00 AM[/TD]
[TD]110[/TD]
[TD]88[/TD]
[TD]108[/TD]
[/TR]
[TR]
[TD]3/17/17[/TD]
[TD]191.0[/TD]
[TD]8:00 AM[/TD]
[TD]8:00 AM[/TD]
[TD] [/TD]
[TD]112[/TD]
[TD] [/TD]
[/TR]
</tbody>[/TABLE]
I hope I made that clear. I'm starting to wonder if it's even possible to do what I want
Thanks.
"non-zero, non-blank rows" sound like you have a complicated structure.
Are there blank rows between non-blank rows?
What is a "zero row"? A row with one zero somewhere in the row or a row where all the cells contain 0?
How many columns are in your data set? If it varies, what is the maximum?
Yes. some rows might be blank if I neglected to put anything in it that day. Non-zero doesn't really apply since it'll either have a number > 0, or be blank.
Let me also clarify - I currently have several hundred rows. Theoretically, there is no maximum. In each row is various data such as date and time, and three cells (consecutive columns) in each row contain the values I wish to average over the last 10 days.
It looks like this ... Columns E, F, and G are the ones I want to display the last 10 day average for. As you can see, there are blanks. So, to simplify it, three cells at the top of the sheet will
display the average for the last 3 values in E, F, and G. So E's average would be (116+110)/2, F's would be (86+88+112) / 3, and G's would be (100+108)/2.
A B C D E F G
[TABLE="width: 565"]
<colgroup><col><col><col><col><col span="3"></colgroup><tbody>[TR]
[TD]3/7/17[/TD]
[TD]192.0[/TD]
[TD]8:00 AM[/TD]
[TD]8:00 AM[/TD]
[TD]118[/TD]
[TD]106[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]3/8/17[/TD]
[TD]191.0[/TD]
[TD]8:00 AM[/TD]
[TD]8:00 AM[/TD]
[TD]125[/TD]
[TD]94[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]3/9/17[/TD]
[TD]189.0[/TD]
[TD]8:00 AM[/TD]
[TD]8:00 AM[/TD]
[TD]124[/TD]
[TD]95[/TD]
[TD]96[/TD]
[/TR]
[TR]
[TD]3/10/17[/TD]
[TD]189.0[/TD]
[TD]8:00 AM[/TD]
[TD]8:00 AM[/TD]
[TD]120[/TD]
[TD]118[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]3/11/17[/TD]
[TD]190.0[/TD]
[TD]8:00 AM[/TD]
[TD]8:00 AM[/TD]
[TD]126[/TD]
[TD]118[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]3/12/17[/TD]
[TD]191.0[/TD]
[TD]8:00 AM[/TD]
[TD]8:00 AM[/TD]
[TD] [/TD]
[TD]90[/TD]
[TD]106[/TD]
[/TR]
[TR]
[TD]3/13/17[/TD]
[TD]189.0[/TD]
[TD]8:00 AM[/TD]
[TD]8:00 AM[/TD]
[TD]134[/TD]
[TD] [/TD]
[TD]114[/TD]
[/TR]
[TR]
[TD]3/14/17[/TD]
[TD]190.0[/TD]
[TD]8:00 AM[/TD]
[TD]8:00 AM[/TD]
[TD]116[/TD]
[TD]88[/TD]
[TD]116[/TD]
[/TR]
[TR]
[TD]3/15/17[/TD]
[TD]190.0[/TD]
[TD]8:00 AM[/TD]
[TD]8:00 AM[/TD]
[TD]116[/TD]
[TD]86[/TD]
[TD]100[/TD]
[/TR]
[TR]
[TD]3/16/17[/TD]
[TD]190.0[/TD]
[TD]8:00 AM[/TD]
[TD]8:00 AM[/TD]
[TD]110[/TD]
[TD]88[/TD]
[TD]108[/TD]
[/TR]
[TR]
[TD]3/17/17[/TD]
[TD]191.0[/TD]
[TD]8:00 AM[/TD]
[TD]8:00 AM[/TD]
[TD] [/TD]
[TD]112[/TD]
[TD] [/TD]
[/TR]
</tbody>[/TABLE]
I hope I made that clear. I'm starting to wonder if it's even possible to do what I want
Thanks.