Count the number of times a user has logged in

kristell

New Member
Joined
Dec 12, 2014
Messages
40
Office Version
  1. 365
Platform
  1. Windows
Hi can somebody please help me with columns E F and G for this?

Each individual log in for a person is in A & B and I am looking for the earliest date they logged in and the latest date and then the total number of times they have logged in, and the number of days since they last logged in?
Col D is the list with duplicates removed to make it easy to see - so I will hide A & B in my report. This is a short example - there are around 60598 actual values in col A.

The formulas I have tried are in the first graphic - but they don't seem to work - think I am not putting some $ in were I should! The green in H is where they are over 60 days - conditional formatting.

I hope this makes sense to you!
Screenshot 2024-06-25 085908.png


Screenshot 2024-06-25 090933.png
 

Attachments

  • Screenshot 2024-06-25 085041.png
    Screenshot 2024-06-25 085041.png
    52.4 KB · Views: 12
Last edited:

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
Sorry - that should say Col C is the list with duplicates removed
 
Upvote 0
Minimum: =MINIFS(B$2:B$60598,A$2:A$60598,C2)
Maximum: =MAXIFS(B$2:B$60598,A$2:A$60598,C2)

Your COUNTIF formulas look OK?
 
Upvote 0
Solution

Forum statistics

Threads
1,224,817
Messages
6,181,149
Members
453,021
Latest member
Justyna P

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