Calculate Employee Work Days? Accumulate unique employees per day

General Ledger

Active Member
Joined
Dec 31, 2007
Messages
460
Looking for a way to calculate employee work days. It is the sum of distinct employees for each day in a file of transactions.

The file has all the transactions (each with a date and time stamp) entered by every employee.

If on a single day an employee posts one transaction, then I know that employee worked. That is 1 employee day.
If on a single day an employee posts ten transactions, then I know that employee worked. This is still 1 employee day.
If on a single day ten employees post any number of transactions, that is ten employee days.
If one employee posts one transaction each day for five days, that is five employee days.
If ten employees each post at least one transaction each per day for five days, that is 50 employee days.

My ultimate goal is to calculate sales per employee day. If I can calculate how many employees worked each day, add them up for a time period (week, month, etc.), I can calculates sales per employee days worked. This is a better measure than sales per week or sales per month because the number of employees working on a given day fluctuates.

Thanks,

G/L
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
Could it be as simple as creating a calculated column [eday] = [employee] & [Day], then defining a measure of distinctcount([eday]) ???
 
Upvote 0

Forum statistics

Threads
1,224,045
Messages
6,176,062
Members
452,702
Latest member
Gulzar Hussain Chisti

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