Using Average and vlookup together

Copper Contributor

I have 14 solar panels on the roof of my house and I get a daily reading for the days production. I have created a spreadsheet showing that daily production for each day. I have a running total using the =SUM(C3:C368) formula but I want to divide that with the number of days that have actually been read. See example attached

3 Replies

@blackey 

That's easy: the AVERAGE function ignores blank cells. In C370:

 

=AVERAGE(C3:C368)

 

Fill to the right.

@Hans Vogelaar 

 

Thank You. I thought I had to use the date or actual cell numbers

 

@blackey 

You may try to play with PivotTable, simple variant is attached.