I'm doing some data analysis on mouse sleep data. Basically, i have a 24-hour recording in 10-second increments, with each labeled as "NR," "R," or "W" (non-REM sleep, REM sleep, or wake). Using COUNTIF, it's relatively easy to go down the column and count the total number of each stage, but I...