Hi,
I'm currently using the following formula to give me a total number of units for a given month (Named data range=DATE_2012 & Month=July), based on the sum of total units for each user within a department (Archive)...
=SUMPRODUCT((UNITS_2012)*(MONTH(DATE_2012)=7)*(DEPARTMENT_2012="Archive"))
Does anyone know what I would use to find the total number of units for a given day of the year based on the same criteria? i.e. Sum for 'Archive' on specific date.
DAY seems to only refer to a day within a month, and not a day within a year;
DAY360 seems to only return a day between 2 given dates;
DATE seems to return the MS date/time code but I can't see how to get this into the formula.
Any ideas?
Thanks.
I'm currently using the following formula to give me a total number of units for a given month (Named data range=DATE_2012 & Month=July), based on the sum of total units for each user within a department (Archive)...
=SUMPRODUCT((UNITS_2012)*(MONTH(DATE_2012)=7)*(DEPARTMENT_2012="Archive"))
Does anyone know what I would use to find the total number of units for a given day of the year based on the same criteria? i.e. Sum for 'Archive' on specific date.
DAY seems to only refer to a day within a month, and not a day within a year;
DAY360 seems to only return a day between 2 given dates;
DATE seems to return the MS date/time code but I can't see how to get this into the formula.
Any ideas?
Thanks.