I need to pull the first and last login for each employee for each date listed. There are about 40 employees and 365 days (give or take).
This formula works but I would have to enter every employee in cell E2 and every date in F2 in order to get the first and last login times.
Is there any way I can do this in one fell swoop and get all first and last for all dates and all employees?
You do not need any code to achieve this, a basic Pivot Table would solve your problem:
Being on a cell on your data table, select Insert | Pivot Table
Your Pivot data should be automatically selected, and Pivot table should be created as a template.
You may now drag and drop the requested fields from top right to bottom right drawers. In your case Employee and Date fields should go to Rows drawer.
After dragging Time field to Values drawer, you should click on the Time field in the drawer and:
You should now re-drag the Time field to Values and this time summarize the new value as "Max"
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.