How to count number of employees from joing date

Hossam Ahmed

New Member
Joined
Mar 11, 2022
Messages
5
Office Version
  1. 2016
Platform
  1. Windows
Dear gents,

Can you please help me to find an equation to count the number of employees from joining date.

For example i have 2 columns first one includes names of employees and second column contain the joining date, i need to add third column to count the number of employees when i reach to specific date, so the equation should count the new hired employee in addition to the previous, so if the last cell count that we have 5 employees so next cell should count 6 1 new + 5 previous).

Here is an example:

Columns will be

Name.joining date. count

X1 . 1/1/2021 . 1

X2 . 2/1/2021 . 2 (1 previous +1new)

X3 . 3/1/2021 . 3 (2 previous + 1 new)


Thanks alot
 
You asked for a COUNT, so that's all the formula is doing.
One way I can think of is using RANK, but if you have people who joined on the same day, it'll throw the numbers off:

Book3.xlsx
ABC
1NameJoin Date
2X11/1/20211
3X21/2/20212
4X31/3/20213
5X41/4/20214
6X51/5/20215
7X61/6/20216
8X71/7/20217
9X81/8/20218
10X91/9/20219
11X101/10/202110
12X11 
13x121/1/202211
14 
15X131/3/202212
16 
17 
Sheet1050
Cell Formulas
RangeFormula
C2:C17C2=IFERROR(RANK(B2,B$2:B$15,2),"")
 
Upvote 0

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.

Forum statistics

Threads
1,223,270
Messages
6,171,102
Members
452,379
Latest member
IainTru

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