3G
Member
Hello-
I have a list of project numbers, resource names, hours and months.
What I'd like to do is assign a resource number to each resource (i.e. 1, 2, 3) per project. The column for Resource names has mulitiple entries per name, based on the number of months of the project. For example:
Project Resource Name Resource Number Month
3 Doug 1 01/2012
3 Doug 1 02/2012
3 Steve 2 01/2012
3 Steve 2 02/2012
4 James 1 01/2012
My problem is the resource number column...It keeps increasing the number, and, not starting over at 1 like I'd like it to above (note, James is "1" of new project, on my sheet he shows up as "3"). Here's my formula:
=IF(AND(A4=A3,B4=B3),C3,C3+1)
So, I need 2 criteria, and, not sure if I should do a nested IF, or, if the AND is throwing the wrench.
Thoughts?
3G
I have a list of project numbers, resource names, hours and months.
What I'd like to do is assign a resource number to each resource (i.e. 1, 2, 3) per project. The column for Resource names has mulitiple entries per name, based on the number of months of the project. For example:
Project Resource Name Resource Number Month
3 Doug 1 01/2012
3 Doug 1 02/2012
3 Steve 2 01/2012
3 Steve 2 02/2012
4 James 1 01/2012
My problem is the resource number column...It keeps increasing the number, and, not starting over at 1 like I'd like it to above (note, James is "1" of new project, on my sheet he shows up as "3"). Here's my formula:
=IF(AND(A4=A3,B4=B3),C3,C3+1)
So, I need 2 criteria, and, not sure if I should do a nested IF, or, if the AND is throwing the wrench.
Thoughts?
3G