Stephanie
New Member
Hello,
I'm trying to pull back data from a supervisor tracking table - it simply keeps track of employees and who they reported to during certain times of the year with report start and end dates. I am comparing this to a project table which includes project start and end dates. I thought I could do this in Excel 2007 with SUMIFS, but ran into some trouble towards the end of the formula. I know my formula problably won't help a lot, but the gist of it is this:
- Pull back the Supervisor Name during the time period that corresponds to the Project Start and End date
- This is done in the Projects Table and is matched Employee Name to Employee Name
- Basically if the Project Start & Stop Date are 1/15/2013 - 5/1/2013, and you were reporting to Jane Doe 1/1/2013 - 8/31/2013, I would like that to pull back Jane Doe.
- We are not supposed to have individuals move supervisors mid-project - in fact, if something happens, the project is supposed to be re-started just for logging sake, so an error message if, say, the person reported to Jane Doe until 4/30/2013 and then started reporting to another supervisor on 5/1/2013 would be perfect - it would mean that someone forgot to restart the project with the new supervisor split on 5/1!
=SUMIFS(SupervisingHistory[Supervisor],SupervisingHistory[Employee Name],Project_Details[[#This Row],[Employee Name]],(AND(Project_Details[[#This Row],[Start Date]],">"(SupervisingHistory[Start Date],Project_Details[[#This Row],[Start Date]],"<="&SupervisingHistory[End Date]),AND((Project_Details[[#This Row],[Start Date]],">="&SupervisingHistory[Start Date],SupervisingHistory[Start Date]"<="Project_Details[[#This Row],[Start Date]])
I'm trying to pull back data from a supervisor tracking table - it simply keeps track of employees and who they reported to during certain times of the year with report start and end dates. I am comparing this to a project table which includes project start and end dates. I thought I could do this in Excel 2007 with SUMIFS, but ran into some trouble towards the end of the formula. I know my formula problably won't help a lot, but the gist of it is this:
- Pull back the Supervisor Name during the time period that corresponds to the Project Start and End date
- This is done in the Projects Table and is matched Employee Name to Employee Name
- Basically if the Project Start & Stop Date are 1/15/2013 - 5/1/2013, and you were reporting to Jane Doe 1/1/2013 - 8/31/2013, I would like that to pull back Jane Doe.
- We are not supposed to have individuals move supervisors mid-project - in fact, if something happens, the project is supposed to be re-started just for logging sake, so an error message if, say, the person reported to Jane Doe until 4/30/2013 and then started reporting to another supervisor on 5/1/2013 would be perfect - it would mean that someone forgot to restart the project with the new supervisor split on 5/1!
=SUMIFS(SupervisingHistory[Supervisor],SupervisingHistory[Employee Name],Project_Details[[#This Row],[Employee Name]],(AND(Project_Details[[#This Row],[Start Date]],">"(SupervisingHistory[Start Date],Project_Details[[#This Row],[Start Date]],"<="&SupervisingHistory[End Date]),AND((Project_Details[[#This Row],[Start Date]],">="&SupervisingHistory[Start Date],SupervisingHistory[Start Date]"<="Project_Details[[#This Row],[Start Date]])