Hi,
I am really struggling to find an answer. I am creating a Dashboard and have the following data on the Data sheet:
Manager (A)
Month (B)
Year (D)
Sickness Hours (G)
On the Dashboard sheet I have the same
Manager (C)
Year (D4)
Sickness Hours
But above I have a Validation List with the Year in. What I am trying to do is get it to search by whatever year and by the manager to calculate the total cost of hours. Here is what I have tried:
=SUMPRODUCT(--((Data!A4:A15=C10)+(Data!E4:E15=D4)),--(Data!G4:G15))
But this just calculates all hours by said manager. Any help would be great. Using Excel 2003
I am really struggling to find an answer. I am creating a Dashboard and have the following data on the Data sheet:
Manager (A)
Month (B)
Year (D)
Sickness Hours (G)
On the Dashboard sheet I have the same
Manager (C)
Year (D4)
Sickness Hours
But above I have a Validation List with the Year in. What I am trying to do is get it to search by whatever year and by the manager to calculate the total cost of hours. Here is what I have tried:
=SUMPRODUCT(--((Data!A4:A15=C10)+(Data!E4:E15=D4)),--(Data!G4:G15))
But this just calculates all hours by said manager. Any help would be great. Using Excel 2003