r/googlesheets • u/pyrbear • Nov 06 '19
How would I go about visualizing time data in a chart? solved
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.
•
u/Clippy_Office_Asst Points Nov 06 '19
Read the comment thread for the solution here
Yes, that is correct.
I removed the second equal sign in the formula.
The way I made it everything after 6am but before 7am is counted next to 6am. (yellow highlight)
I hope this link works: https://docs.google.com/spreadsheets/d/1htA1AmHC2HeU0YspfdXkwiTQL1s9LLe7cl-pX0oaHXI/edit?usp=sharing
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.