SFCChase
Board Regular
- Joined
- Jun 25, 2013
- Messages
- 110
- Office Version
- 2016
- Platform
- Windows
I'm trying to figure out a way to rank candidates for a competition based off a couple of data points.
Ranking will be based of the number of points found in the shortest time. A minimum of 3 points must be found (5 max) and the maximum time allowed is 4:00:00. If the minimum requirements aren't met, points found are weighed heavier than the time for completion (i.e. Williams ranks higher than Rogers because they found more points even though both missed the minimum.....Smith ranks higher than Duggan because they both met 3 point criteria and Smith was faster).
I thought I was close with this equation but it's not ranking the time correctly (it put Michaels in 3rd instead of Adams)
=IF(D2<4,RANK(D2,D2:D9,1),RANK(C2,C2:C9,0))
I will be looking to put the formula in cell E2 and pasting down a large data sheet.
Willing to use helper cells if I need to but I have no experience with VBA.
Unit | Name | Points Found | Time | Rank |
A Co | Smith | 5 | 3:45:00 | 2 |
A Co | Jones | 5 | 3:38:33 | 1 |
B Co | Adams | 4 | 3:58:44 | 3 |
B Co | Michaels | 5 | 4:08:23 | 5 |
C Co | Williams | 2 | 3:31:40 | 7 |
C Co | Smith | 3 | 2:29:45 | 4 |
D Co | Duggan | 4 | 4:38:38 | 6 |
D Co | Rogers | 0 | 3:22:30 | 8 |
Ranking will be based of the number of points found in the shortest time. A minimum of 3 points must be found (5 max) and the maximum time allowed is 4:00:00. If the minimum requirements aren't met, points found are weighed heavier than the time for completion (i.e. Williams ranks higher than Rogers because they found more points even though both missed the minimum.....Smith ranks higher than Duggan because they both met 3 point criteria and Smith was faster).
I thought I was close with this equation but it's not ranking the time correctly (it put Michaels in 3rd instead of Adams)
=IF(D2<4,RANK(D2,D2:D9,1),RANK(C2,C2:C9,0))
I will be looking to put the formula in cell E2 and pasting down a large data sheet.
Willing to use helper cells if I need to but I have no experience with VBA.