I want to average the cells in third column (c) based on the dates in first column (A) being less than the date in the top left cell (A1). However, since there is a blank cell within the range, I am getting a divide by zero error. How do I get around this?
column A column B column C
column A column B column C
3/23/2024 | ||
Boston | ||
Date | Team | PCT |
2/12/24 | New York (A) | .381 |
2/17/24 | Toronto | .556 |
1 Day Off | ||
2/21/24 | Baltimore | .619 |
3/3/24 | San Francisco | .333 |
3/14/24 | Cleveland | .286 |
1 Day Off | ||
3/23/24 | Texas | .667 |
3/24/24 | Arizona | .476 |
3/31/24 | Kansas City | .429 |
4/7/24 | New York (N) | .571 |