nniedzielski
Well-known Member
- Joined
- Jan 8, 2016
- Messages
- 598
- Office Version
- 2019
- Platform
- Windows
I am running a dynamic range over the last 45 days of data in a worksheet, however some days the number entered is a Zero, for example on a Sunday. How can I use the formula below, but also have the formula remove the zeroes from the calculated average? It can consider a zero one of the 45 days, but just doesn't calculate the zero.
thank you,
Code:
=AVERAGE(INDEX(B:B,MATCH(9.99999999999999E+307,B:B)-44):INDEX(B:B,MATCH(9.99999999999999E+307,B:B)))
thank you,