Hello there! Hope you can help me....
I want to be able to find the total miles traveled for a group of employees during a particular date range. I like the use of the "Month" function for ease of use in up dateing the results on the fly.
The group of employees would be stored in a named range.
A16:A38 has the list of Employees.
B16:B38 has the Dates.
Q16:Q38 has the Miles.
E7 is the date range I want to sum.
E8 is the employee or group of employees I want to sum.
This formula gives me the sum of miles for a date range for a single employee but wont work with a named range for a group of employees.
=SUMPRODUCT((A16:A38=E8)*(MONTH(B16:B38)=E7),Q16:Q38)
This formula give me the sum of miles for a whole group of employees but I cant figure out how to add a date range.
=SUMPRODUCT(SUMIFS(Q16:Q38,A16:A38,INDIRECT(E3)))
Can you suggest a way to combine these 2 formulas or perhaps something similar that would meet the desired results?
Thank you in advance.
Bookmarks