How do you count occurances of something over a period of time?

Claudius02

New Member
Joined
Oct 16, 2019
Messages
1
I have a spread sheet with the following columns:


User name
Date
Time
Time of Day
Error Code
Status
John Doe11/1/201612:25:01AM123Success
John Doe11/1/20168:25:00PM123Success
Jane Doe11/1/20178:25:00AM234Failure

<tbody>
</tbody>

So I want to count how many times during a specific time period John Doe, Jane Doe, or another person used something. So, for example how many times a person used something for a 24 hour period, or used it during a month, day, year, etc.

Another issue would be how many times the status over a specific time period was a success, or failure.

EDIT:
the specific time periods would be 24 hours, week, month, year
 
Last edited by a moderator:

Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.
Welcome to the Board!

Take a look at using the COUNTIFS formula, which allows you to count records meeting certain criteria.
See here for an example on how to do a date/time range: https://exceljet.net/formula/count-cells-between-dates
To add the person, just add another set of criteria (which name range and name value).
 
Upvote 0

Forum statistics

Threads
1,214,943
Messages
6,122,369
Members
449,080
Latest member
Armadillos

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