Chrisdoc1984
New Member
- Joined
- Apr 19, 2013
- Messages
- 1
Hi,
Can anyone help me with this problem, its just a little beyond me...
I have been using the formula below to Rank a set of results
=IF(AND(EW2>0),SUMPRODUCT((U$4:U$99987=U2)*(A$4:A$99987=A2)
*(EW$4:EW$99987>0)*(DQ2 < DQ$4:DQ$99987)) +1,9999)<DQ$4:dq$99987))+1,9999)<dq$4:dq$3000))+1,9999)
EW contains employee "logged in hours"
U contains the employee department
A contains the week number (the weeks are stacked on top of each other)
DQ contains the Sales Per Hour
The formula above groups the employees into departments and ranks them based on their Sales per Hour as long as their logged in hours are greater than zero. The problem I have is that a lot of the employees have No Sales per Hour, meaning that about 50% of the data set are given the same ranking. I need these employees to then be ranked based on their logged in hours, so those who have done the most hours but still not sold anything are ranked lower.
Can anyone help please??</DQ$4:dq$99987))+1,9999)<dq$4:dq$3000))+1,9999)
Can anyone help me with this problem, its just a little beyond me...
I have been using the formula below to Rank a set of results
=IF(AND(EW2>0),SUMPRODUCT((U$4:U$99987=U2)*(A$4:A$99987=A2)
*(EW$4:EW$99987>0)*(DQ2 < DQ$4:DQ$99987)) +1,9999)<DQ$4:dq$99987))+1,9999)<dq$4:dq$3000))+1,9999)
EW contains employee "logged in hours"
U contains the employee department
A contains the week number (the weeks are stacked on top of each other)
DQ contains the Sales Per Hour
The formula above groups the employees into departments and ranks them based on their Sales per Hour as long as their logged in hours are greater than zero. The problem I have is that a lot of the employees have No Sales per Hour, meaning that about 50% of the data set are given the same ranking. I need these employees to then be ranked based on their logged in hours, so those who have done the most hours but still not sold anything are ranked lower.
Can anyone help please??</DQ$4:dq$99987))+1,9999)<dq$4:dq$3000))+1,9999)
Last edited: