Count/Rank

zinah

Active Member
Joined
Nov 28, 2018
Messages
321
Office Version
  1. 365
Platform
  1. Windows
Hi,

I have file which has all employees with their objectives. What I need is to count how many objectives per employee, then assign number from 1 to 5 so I will end up by including up to 5 objectives per employee.

Column A (EE ID) Column B (Objectives)


Thank you!
Z
 

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.
Hi,

Do you mean:

EE IDObjective
1do 1
1do 2
1do 3
2do 1

<tbody>
</tbody>


If so, =COUNTIF(A:A,A2,B:B) will count the objectives per employee.

What do you mean by assign a number?

Maybe provide an example of the data, and what result you want.
 
Upvote 0
Hi, thank you for your respond.
I wish I know how to add the table here or even snapshot of what I have, but what I have is a file that has more than 1400 rows, includes employees with their yearly objectives. Some employees have more than 5 objectives and what I need is to:
- First: rank all objectives (1,2,3,...,10) with no conditions.
- Then: select only 1 to 5 objectives.
Does that make sense?
 
Upvote 0
Not really, you can add a table through the advanced reply option.

Or, use a sharing service like dropbox to upload the sheet, or a similar sheet with fake data if you have sensitive information.
 
Upvote 0
Hi,

This is the example of what I need, I have EE ID which is employee ID and each employee has several objectives, what I need is to count how many objective for each employee (which is easy by counting how many ID for employee). However, what I need in Objective Count column is to put number of each objective, i.e. EE ID 1111 has 2, so 1 & 2, EE ID 777777 has 6 objectives, so 1 to 6.
Am I clear now?


EE IDObjectiveObjectives Count
11111AAAAA1
11111BBBBB2
33333CCCC1
33333DDDDDDDDD2
33333FFFFFFFF3
555555EEEEEE1
555555GGGGGG2
555555TTTTTTT3
777777ANNNNN1
777777MMMMM2
777777UUUUU3
777777GUUUUU4
777777OOOOOO5
777777JJJJJ6

<colgroup><col span="2"><col></colgroup><tbody>
</tbody>
 
Upvote 0
THANK YOU!!!! I really appreciate your time and help, it worked perfectly great!
 
Upvote 0
Hi,
What if I have a new condition which count only the "Active"?

EE IDObjectiveObjectives CountStatus
11111AAAAA1Active
11111BBBBB2Active
33333CCCC1Active
33333DDDDDDDDD2Deleted
33333FFFFFFFF3Active
555555EEEEEE1Deleted
555555GGGGGG2Active
555555TTTTTTT3Active
777777ANNNNN1Active
777777MMMMM2Active
777777UUUUU3Active
777777GUUUUU4Deleted
777777OOOOOO5Deleted
777777JJJJJ6Active

<colgroup><col><col><col><col></colgroup><tbody>
</tbody>
 
Upvote 0

Forum statistics

Threads
1,203,071
Messages
6,053,371
Members
444,658
Latest member
lhollingsworth

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top