I have rows of dates with tasks measured in hours. These tasks are assigned to different team leaders whose names are also included on each row. I would like create a multiple criteria Google sheet formula that returns the sum of hours based on the date range and the name of the team leader.
These are the data input cells I would be entering to produce the sum:
| Date Start: | Date End: | Team Leader Name: |
|---|
Ideally if the Team Leader name was not entered, the formula would sum the hours for all of the rows selected by the date range.
Here are some sample rows:
| Job Date | Hours | Team Leader |
|---|---|---|
| 03/25/2022 | 8 | John |
| 04/22/2022 | 7 | Hannah |
| 04/23/2022 | 6 | John |
| 05/01/2022 | 6 | Hannah |
Thank you in advance for your help with this!
