Let's say I wanted to find the average number of calls per day. Normally, I can use the formula =COUNT(A2:A15)/SUM(1/(COUNTIF(A2:A15,A2:A15))) for the table below, but if I wanted to find the average for a specific person such as George, how would I go about passing the filtered range in the above formula?
I have tried using =FILTER(A2:A15,B2:B15="George") but that gives an error because from my understanding, =COUNT() takes in a range, not an array, which =FILTER() returns.
| Call Date | Rep Name |
|---|---|
| 2022-01-02 | George |
| 2022-01-02 | George |
| 2022-01-02 | Katie |
| 2022-01-04 | Craig |
| 2022-01-04 | George |
| 2022-01-05 | George |
| 2022-01-05 | Craig |
| 2022-01-05 | George |
| 2022-01-05 | George |
| 2022-01-09 | Katie |
| 2022-01-14 | George |
| 2022-01-14 | George |
| 2022-01-15 | Katie |
| 2022-01-15 | George |

