I was recently asked for assistance with this request:
I am trying to make a hypnogram with data that we collected over the course of a day. I want the y-axis to denote wake (W), other (O), and sleep (s) with just three tick marks. The y-axis should represent the time spent in these states.
A hypnogram plots sleep patterns over time and is used to asses a person’s wake/sleep behavior at night (or during the day). It is used for diagnostic and treatment purposes for individuals with sleep disorders.
Some sample data:
The second set of numbers is when the state ended.
You can learn more about our Excel step chart solutions here:
Even though you can use the tutorials above to help with this Excel challenge, there is a trick to working with a Time Series in Excel. So it might not be a easy as it may first appear.
Give it a shot and let me know if you were able to solve this challenge. I was able to solve Anna’s request and she was able to automate it with the formulas you see in the tutorials above. I might even get a mention in her publication if it is accepted 🙂 Way cool!