Yikes! Totaling by color is usually more trouble than it's worth.
So...Here's what I'm proposing (see attached workbook)
• Change the last time period to 8:30:00 PM, so it calcs as a Time Value
• In each colored cell, enter an "x" (unless it contains a name)
(If you don't want to "see" the x's, change the font color to match the background)
Now, we can calculate the hours worked based on the earliest and latest
non-blank cells using this formula:
Copy that formula down as far as you need
Is that something you can work with?
Bookmarks