Fraserkitchell
New Member
- Joined
- May 21, 2010
- Messages
- 47
Hi all, Trying to do a couple things. I want to track predict monthly spending by searching for a match on two values in two columns (one is a project name, another is an employee name). For every employee tied to the project, I want to move across an array to find the percent of employee time per month, and multiple that by the monthly wage of the employee (stored in another table, also by employee name. I'm attaching a picture to make some sense of this. |
<colgroup><col><col><col><col><col><col><col><col span="2"></colgroup><tbody>
</tbody>
Monthly Hours % | January | February | ||||||
Budget | Actual | Predicted | Actual | |||||
Project 1 | Eric | 70% | 70% | |||||
Project 1 | Kerry | 0% | 0% | |||||
Project 1 | Fraser | 15% | 15% | |||||
Project 2 | Eric | 0% | 0% | Employee | Rate | |||
Project 2 | Kerry | 0% | 0% | |||||
Project 2 | Fraser | 20% | 20% | Eric | $ 40.00 | |||
Project 2 | Dan | 100% | 100% | Kerry | $ 40.00 | |||
Dan | $ 50.00 |
<colgroup><col><col><col><col><col><col><col><col span="2"></colgroup><tbody>
</tbody>
So, for example, I want to find all the values in Project 1 that have names, find the percent associated with that name each month, and then multiply it by the employee rate of the same name, and sum that together for all the names in the project.
Make sense?