Solved

Number of occurences by date

Posted on 2014-03-13
6
134 Views
Last Modified: 2014-04-25
Hi All,

I have spreadsheet in column "A" I have a date/time stamp formatted like below,

1/13/14 12:00 AM


I need to count the number of occurrences for each day,

Thanks,
0
Comment
Question by:J_Drake
6 Comments
 
LVL 39

Accepted Solution

by:
nutsch earned 134 total points
ID: 39928337
The easiest way is to select your data, insert pivot table, put the day as a row field, and as a data fields, then right click the row field and Group by day. This will give you a table with a count of occurrences by day.

Thomas
0
 
LVL 39

Expert Comment

by:nutsch
ID: 39928339
If you don't have different times and only days, you can skip the grouping part.
0
 
LVL 19

Assisted Solution

by:regmigrant
regmigrant earned 133 total points
ID: 39928380
this formula will count only the day elements
=COUNTIFS($A$1:$A$36,">="&INT(A1),$A$1:$A$36,"<"&INT(A1+1))

but it will repeat the count for each date entry
0
 
LVL 31

Assisted Solution

by:Rob Henson
Rob Henson earned 133 total points
ID: 39928768
Assuming list of dates and times in column A andseparate list of individual dates in column D:

=COUNTIFS($A$3:$A$37,"<"&$D3+1,$A$3:$A$37,">="&$D3)

D3 being day to be counted.

Counts entries where value is less than next day and greater than or equal to current day. Time in excel is recognised as a decimal part of a day so does same as INT part of regmigrant's suggestion but puts date in separate column so no repeats.

Alternative, get round repeats using an IF statement comparing the date parts for movement to next day:

=IF(INT($A4)=INT($A3),"",COUNTIFS($A$1:$A$38,">="&INT(A3),$A$1:$A$38,"<"&INT(A3+1)))

Puts count against last entry of each day.

Thanks
Rob H
0
 
LVL 45

Expert Comment

by:Martin Liss
ID: 40022142
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
The viewer will learn how to simulate a series of sales calls dependent on a single skill level and learn how to simulate a series of sales calls dependent on two skill levels. Simulating Independent Sales Calls: Enter .75 into cell C2 – “skill leve…
Graphs within dashboards are meant to be dynamic, representing data from a period of time that will change each time the dashboard is updated with new data. Rather than update each graph to point to a different set within a static set of data, t…

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now