birkoracing
New Member
Hi
I am having difficulty creating a formula that automatically assigns tasks to staff based on who is best suited to the task until they have a full schedule which is greater than 8.5 hours. Unfortunately the way I have written the formula results in a circular reference and I can’t find a way around it.
I have a table named (WorkOrders) which has Column A as where I need to populate from the formula or macro, Column B which is a job number, Column C which has a list of material numbers and Column D which is the remaining work needed in hours.
In another table named (SkillsMatrix) I have a skills matrix which has a preference of which staff member to use based on different material numbers.
I’m trying to find a formula or macro that assigns the preference 1 staff member for that corresponding material number until they exceed the “Max Work Hours” of accumulative work then assign priority 2 staff, until they exceed 8 hours and so on and so on.
I tried having a SUMIF running total and then having an IF formula look at this but I ended up in a circular reference which I understand.
Any help or suggestions would be much appreciated. I have seen a previous post and solution under the below link which is very similar to what I need however I wasn’t able to modify the macro in a way to make it work.
http://forum.chandoo.org/threads/allocating-work-based-on-sum-of-numbers.26299/
Thanks
I am having difficulty creating a formula that automatically assigns tasks to staff based on who is best suited to the task until they have a full schedule which is greater than 8.5 hours. Unfortunately the way I have written the formula results in a circular reference and I can’t find a way around it.
I have a table named (WorkOrders) which has Column A as where I need to populate from the formula or macro, Column B which is a job number, Column C which has a list of material numbers and Column D which is the remaining work needed in hours.
In another table named (SkillsMatrix) I have a skills matrix which has a preference of which staff member to use based on different material numbers.
I’m trying to find a formula or macro that assigns the preference 1 staff member for that corresponding material number until they exceed the “Max Work Hours” of accumulative work then assign priority 2 staff, until they exceed 8 hours and so on and so on.
I tried having a SUMIF running total and then having an IF formula look at this but I ended up in a circular reference which I understand.
Any help or suggestions would be much appreciated. I have seen a previous post and solution under the below link which is very similar to what I need however I wasn’t able to modify the macro in a way to make it work.
http://forum.chandoo.org/threads/allocating-work-based-on-sum-of-numbers.26299/
Thanks