How to Show Multiple Hour Categories in an Excel Employee Tracker
Question details
The user needs a way to display a complete breakdown of daily hours by category (billable, internal, non-working) for each employee, instead of only showing the category with the highest hour value.

- Product
- Excel
- Device & OS
- not provided
- Scenario
- Creating or modifying an employee time tracker spreadsheet to accurately reflect the distribution of different types of work hours each day.
- Observed behavior
- The current tracker configuration only displays the hour category with the highest numerical value for each employee and day, hiding the rest of the categorized hours.
Ensure your raw data is organized in a flat, tabular layout without empty rows or columns, making sure each row represents a single category entry for a specific date and employee.
Restructure Data and Build a Detailed PivotTable
By creating individual records for each hour category per day and summarizing them in a PivotTable, you can display all categories simultaneously rather than just the maximum value.
To properly categorize and visualize multiple hour types, the underlying data structure must be formatted as a database table. Once structured correctly, a PivotTable can easily break down the totals by employee, date, and category.
Applying Conditional Formatting on top of the PivotTable will visually separate billable hours from non-working or internal hours, making the tracker much easier to read.
Ensure your source sheet has clear headers: 'Employee', 'Date', 'Category', and 'Total Hours'. Create one dedicated row for every category of hours an employee works in a single day.
Highlight your entire data range, navigate to the 'Insert' tab on the ribbon, and click 'PivotTable'. Choose to place the PivotTable on a new worksheet and click 'OK'.
In the PivotTable Fields pane on the right, drag 'Employee' into the Rows area, 'Date' into the Columns area, and 'Total Hours' into the Values area. Ensure the value field setting is set to 'Sum of Total Hours'.
Drag the 'Category' field into the Rows area, placing it directly below 'Employee'. This will nest the categories under each employee's name, showing the breakdown of billable, internal, and non-working hours.
Highlight the hours values inside your PivotTable. Go to the 'Home' tab, click 'Conditional Formatting', and set up 'Highlight Cells Rules' to apply specific text and background colors based on the category names or values.

Track Employee Hours Easily with WPS Spreadsheet
WPS Spreadsheet provides powerful data analysis tools, including intuitive PivotTables and rich Conditional Formatting, allowing you to easily track and categorize employee hours for free.
- 1. Open Your Tracker: Launch WPS Office and open your employee hours tracker workbook.
- 2. Insert a PivotTable: Select your standardized data table, go to the Insert tab, and choose PivotTable to generate a new analysis view.
- 3. Organize Tracking Fields: Using the task pane, drag 'Employee' and 'Category' into the Row Labels area, and 'Hours' into the Values area.
- 4. Format for Clarity: Select the categorized data, navigate to the Home tab, and use Conditional Formatting to apply color scales or highlight rules.

Frequently Asked Questions
Why does my tracker only show the highest hour value?
This typically occurs if your PivotTable Value Field Settings are set to 'Max' instead of 'Sum', or if you lack a 'Category' field in the Rows area to break down the totals. Ensure the 'Category' field is active so the table doesn't collapse into a single summarized high value.
How can I group daily hours by week or month in a PivotTable?
Right-click any date header in the PivotTable's Column area and select 'Group'. You can then choose to group the data by 'Months', 'Quarters', or 'Days'. If you choose Days, you can set the number of days to 7 to create weekly groupings.
Is it possible to display categories in columns instead of rows?
Yes. If you prefer a wider layout, you can drag the 'Category' field into the Columns area below the 'Date' field. This will create side-by-side columns for billable, internal, and non-working hours for every date.




