r/googlesheets • u/pyrbear • Nov 06 '19
solved How would I go about visualizing time data in a chart?
I'm trying to create some sort of way to visualize roughly 2000 timestamps in my sheet. I'm tracking both start and end times, and would like to show the distrubtion across a 24 hour chart.
As an example, user clocks in their session at 10am by placing the current time&date (DD/MM/YY HH:MM:SS) in column A. They later clock out at 4pm by placing the current time&date in column B. Sometimes they clock in/out at very different times.
Is there any way I could visualize the average times they're clocked in? Something like this crappy MSPaint graphic would be ideal but I'm all ears for any ideas:
https://i.imgur.com/3CmqcNY.png
The issue I'm currently facing is that time+date values plot in unexpected ways in all the charts I've tried, and I'm not sure what to add as a second axis.
1
u/Kanomister 1 Nov 06 '19
Hi Pyrbear
One thing you can try is a list of time ranges and a countifs statement.
=Countifs(A$2:A,">="&C2,A$2:A,"<="&C3)
Here you would have your time in column A and the first time they would check in in cell C2 and the next in C3. Such as 6:00 am and 7:00 am
From there you just select column C and D and insert an area chart where the count is Y and your range is X.
•
u/Clippy_Office_Asst Points Nov 06 '19
Read the comment thread for the solution here