An excel time tracker is a spreadsheet set up to log start and stop times for tasks and automatically calculate how long each task took. Instead of purchasing dedicated time-tracking software or switching between apps, you can build a time tracker in Excel using tools you already have.
Professionals who organize their lives in Excel often wish it included a built-in timer for common tasks like tracking time spent on specific projects or monitoring an hourly rate. A quick look, however, reveals that Excel does not offer an easy start/stop timer feature out of the box. But Excel does offer features for storing and working with time data. If we put a few of these familiar tools together, we can create a timer in Excel that comes very close to a dedicated start/stop tool without complex VBA programming.
Common use cases for an excel time log include:
This guide walks you through building a simple Time Log that:
To follow along using our example, download the Time Tracking Worksheet.
Before you begin setting up your excel time tracking spreadsheet, make sure you have the following in place:
Here is a quick overview of what you will build:
| Feature | How It Works |
|---|---|
| Start time logging | NOW() function inserts the current time |
| Stop time logging | NOW() function inserts the current time |
| Elapsed time calculation | Subtraction formula (Stop - Start) |
| One-click button entry | Macro assigned to a Form Control button |
To get started, create a Table with the three columns you'll need: Start Time, Stop Time, and Total Time. Format the cells in each column to the Time format.
To follow using our example, download Time Tracking Worksheet
Then, create a Macro that will enter the current time into a cell. The time used will be based on the clock time of the computer running Excel:
This is the shortcut key for entering the time. You'll get something like this:
Step 3: Edit the Macro to Use the Current Time
This gives us a starting place, but we'll need to edit the macro a bit to get it to work the way we want. To edit the macro:
Range("A2").Select
Note: The specific time shown will differ based on when you recorded the macro.
If left, this would simply put the text "1:22 PM" into any cell the macro runs on. Instead, we need to replace "1:22 PM" with the NOW function that tells Excel to enter the current time. Replace the above with:
ActiveCell.Value = Now()
The Now() function inserts the current date and time. Because you formatted the cells as Time, Excel will display only the time portion.
Now, when you run the macro, it will insert the current time into the active cell.
Step 4: Assign the Macro to a Button
Next, let's assign the macro to a button so you can record your Start/Stop times with a simple click:
You now have a quick way to enter time into your spreadsheet without typing a command or copy/pasting from another stopwatch tool on your desktop. Once the times are in the table, you can work with them in any way you might need. Our example Total Time subtracts Start Time from End Time to calculate elapsed time.
HINT: Set the format for the Total Time cells to type 13:30:55 in the Format Cells dialog box, or type 37:30:55 if your time totals ever total more than 24 hours.
Once your excel macro timer is created, you can begin integrating start/stop times into your spreadsheets. Create any number of Excel formulas to help you track time, manage projects and maintain budgets.
Or, you can chart elapsed times to help you improve scores.
Here are several ways to put your new time tracker to work:
If your excel timer isn't working as expected, check these common issues:
This time tracker is just one example of what you can accomplish when you understand Excel's core features. Pryor Learning offers live and On-Demand Excel training courses designed for every skill level, from spreadsheet basics to advanced automation. Explore our full catalog of Excel courses to keep building practical skills you can use right away.