How to add values under the same group in Pivot Table?

Abstract: Group multiple items in an Excel Pivot Table to summarize data under a single category without modifying the source file.

Created: 2026-10-21 by

To add values under the same group in an Excel Pivot Table, select the specific items you wish to combine within the pivot field, right-click, and choose Group. This action merges the selected rows or columns into a single category for summarization without altering your underlying source data.

Understanding Pivot Grouping

Pivot Tables are designed to summarize large datasets, but sometimes the raw data contains too many distinct categories for a clear overview. For instance, if you have daily sales data for an entire year, displaying every single date can clutter the view. Grouping allows you to aggregate these individual entries into broader categories, such as months, quarters, or custom ranges. This feature is available for both row labels and column labels within the Pivot Table interface.

The grouping process is non-destructive. It does not modify the original spreadsheet cells from which the Pivot Table draws its data. Instead, it creates a temporary layer of organization within the Pivot Table structure itself. If you need to revert the changes, you can ungroup the items, returning them to their original individual states. This flexibility makes grouping an essential tool for data analysis when you need to shift between granular details and high-level summaries.

Grouping Date Fields Automatically

When your source data contains dates, Excel often detects this automatically and offers to group by years, months, days, hours, minutes, or seconds. This is the most common use case for grouping in financial and operational reports.

  1. Select a Date Field: Click on any cell within the Pivot Table that displays the date hierarchy you want to adjust. Ensure you are clicking inside the Pivot Table area, not the source data sheet.
  2. Access the Group Menu: Right-click the selected cell. From the context menu, hover over the Group option. A submenu will appear listing potential time intervals such as Years, Quarters, Months, Days, Hours, Minutes, and Seconds.
  3. Choose Your Interval: Click on the desired interval. Excel will collapse all individual dates into the selected time period. For example, selecting "Months" will merge all Jan 1st, Jan 2nd, etc., into a single "January" row.

If multiple intervals are selected (e.g., both Years and Months), Excel will create a hierarchical structure. You can expand or collapse these levels using the plus and minus buttons that appear next to the grouped fields. To remove a level, simply right-click the header of that level and select Ungroup, then re-select the appropriate interval.

Combine Rows in Excel Using Pivot Table

Creating Custom Groups for Text or Numbers

Grouping is not limited to dates. You can also group text strings or numerical values manually. This is particularly useful for categorizing products, regions, or price ranges that do not follow a standard calendar pattern.

For Numerical Data: Select two or more numeric cells in the Pivot Table that represent the range you wish to define. Right-click and choose Group. In the dialog box that appears, ensure the "Starting at" and "Ending at" values are correct, and set the "By" value to determine the step size. For example, to group sales figures into brackets of $50, you might start at 0, end at 1000, and set By to 50. This creates buckets like 0-49, 50-99, 100-149, and so on.

For Text Data: Select multiple text items that you want to merge into a single label. Right-click and select Group. Excel will create a new group named after the first item selected. You cannot specify a custom name directly in the group creation dialog; the name defaults to the first item. To rename the group, double-click the group header label in the Pivot Table and type the new name. Press Enter to confirm. This method is ideal for combining similar product names or regional variations into unified categories.

Important Note on Renaming

Unlike some other Excel features, the initial Group dialog does not ask for a name for text groups. The name is derived from the first selected item. Therefore, the renaming step via double-clicking the label is mandatory if you want a descriptive title for your new group. Failure to rename will result in generic labels that may confuse report readers.

Hide the 100% column when using the "Show value as % Of another base item" in Excel Pivot Chart

Troubleshooting Grouping Issues

Sometimes, the Group option may be grayed out or unavailable. This usually happens if only a single item is selected. Grouping requires at least two items to create a relationship or range. Additionally, ensure that the cells you are selecting are part of the Pivot Table's row or column labels, not the value fields themselves. Value fields cannot be grouped directly because they contain aggregated numbers, not categorical labels.

If you encounter errors when grouping dates, verify that the source data format is strictly recognized as a date. Mixed formats, such as some cells being text representations of dates, can prevent automatic grouping. Cleaning the source data to ensure consistent date formatting is the best preventive measure.

Best Practices for Pivot Grouping

Use grouping to simplify complex data views. Avoid creating too many nested groups, as this can make the Pivot Table difficult to navigate. Regularly review your groups to ensure they still align with your reporting needs. If your business logic changes, such as a new fiscal quarter definition, you may need to recreate your groups. Remember that grouping is a display feature; always keep your source data intact for accurate long-term analysis.

Frequently Asked Questions

Can I group non-contiguous items in a Pivot Table?

No, Excel requires contiguous selection for manual grouping. You must select adjacent cells in the row or column label area to create a custom group. If you need to combine non-adjacent items, consider adding a helper column in your source data to assign them to the same category before refreshing the Pivot Table.

Why is the Group option grayed out?

The Group option is typically disabled if only one item is selected or if you have clicked on a value field rather than a label field. Ensure you have selected at least two adjacent items in the row or column headers of the Pivot Table to activate the grouping function.

Does grouping change my original source data?

No, grouping is purely a visual and analytical transformation within the Pivot Table. Your underlying worksheet data remains unchanged. You can safely group and ungroup items without risking any modification to your primary dataset.

How do I remove a group I created?

To remove a group, right-click any cell within the grouped range and select Ungroup from the context menu. This will restore the individual items to their original state. If you grouped by date intervals, you may need to repeat the process to switch back to a different interval or remove the hierarchy entirely.

Can I group items across different Pivot Tables?

No, grouping is specific to the individual Pivot Table instance where the action is performed. Each Pivot Table maintains its own independent grouping structure. You cannot link groups between separate Pivot Tables directly, even if they share the same source data.

Latest News

How to Display Output of xterm Command in Terminal Screen using Cron

Resolve the inability to display xterm output in a terminal screen from cron by redirecting logs or using wall instead of insecure X11 workarounds.

Read More
Expose Local Server on VPS Preserving Real Client IPs (OS Level)

Resolve VPS logging showing only gateway IPs by configuring reverse proxies to forward real client addresses via X-Forwarded-For headers.

Read More
How to Clear Recent Files History in Linux without Deleting Actual Files?

Clear recent files history in Linux by deleting ~/.local/share/recently-used.xbel without removing the actual files.

Read More
Best HDD Copy Strategy: Manually Syncing and Rewriting Scratch

Resolve data drift between two 4TB hard drives by using rsync with the --delete flag to manually sync and rewrite scratch data for an exact mirror.

Read More
Understanding Bash Prompt Abbreviations: An Overview

Resolve repetitive typing errors by creating and persisting Bash aliases in the .bashrc file for improved command-line efficiency.

Read More
Free Tools and Methods to Log Real-Time Performance Details in Task Manager

Log real-time CPU and memory metrics to CSV files using Windows Performance Monitor Data Collector Sets to troubleshoot system slowness.

Read More
Contact Qatar Airways Customer Service: Phone Number, Help Center, and More

Resolve urgent Qatar Airways reservation issues like flight changes and baggage claims using the US phone number +1801-855-5905 or online self-service tools.

Read More
Windows 11: Alt Codes Displaying Wrong Characters - Solutions

Resolve Windows 11 Alt codes showing wrong characters by verifying the US keyboard layout and enabling Num Lock.

Read More
Run Programs with Elevated Privileges: A Comprehensive Guide

Eliminates the need to type sudo for frequent administrative tasks by configuring .bashrc aliases or functions.

Read More
Dynamically Changing Dates in Excel Formulas Using Cells

Eliminate manual date updates in Excel by using cell references to create dynamic formulas that automatically adjust calculations when input dates change.

Read More
Granting Edit Access to a Specific Excel Sheet in an Office 365 User Email ID-Based Login

Excel Online lacks native sheet-level permissions, so users must split workbooks or use worksheet protection to isolate edit access for specific tabs.

Read More
Creating Network Load on Local Wi-Fi from One PC

Generate sustained Wi-Fi bandwidth load from a single PC using a VM SFTP server to test router stability and throughput.

Read More
Changing the Default Editor for Batch Files in Windows 11's File Explorer

Resolve the issue of batch files opening in Notepad by changing the default editor to a preferred application like VS Code.

Read More
Gain WiFi Connection Minutes Before Losing it by Changing MAC Address

Bypass MAC address filtering to restore WiFi connectivity temporarily when a device is blocked by network administrators.

Read More
Photos Folders Turned Black: Troubleshooting Picture Applications on Windows

Resolve black screens in Windows Photos by resetting the app, updating graphics drivers, and repairing system files.

Read More
Troubleshooting High CPU Temperature Values: A Step-by-Step Guide

Resolve high CPU temperatures and thermal throttling by monitoring with Speedfan, cleaning dust from cooling components, and replacing degraded thermal paste.

Read More
Make cURL establish TLS connection with CA unknown

Resolve cURL TLS connection failures with unknown or self-signed certificates by using the --insecure flag to bypass CA validation.

Read More
Troubleshooting Incorrect Network Metrics Values in Grafana, Prometheus, InfluxDB, and Telegraf

Fix incorrect network metrics in Grafana, Prometheus, InfluxDB, and Telegraf by verifying interface selection, resolving unit mismatches, and handling counter resets.

Read More
Start Another Terminal Window (cmd.exe) Windows Repair/Troubleshoot

Provides step-by-step instructions to access the Windows Command Prompt via bootable media for advanced system repair and troubleshooting.

Read More
Thinkpad P1 Gen 6: Sudden Thunderbolt 3 Dock USB-C Charging Stopped Working

Resolve sudden Thunderbolt 3 dock USB-C charging and internet failure on ThinkPad P1 Gen 6 by updating firmware, resetting the dock, and adjusting power settings.

Read More
ASUS Windows 11 Laptop: Internet Connection Issue with Hotspot

Resolve ASUS Windows 11 laptop spinning wheel issue when connecting to mobile hotspot by resetting network stack, disabling IPv6, and adjusting power settings.

Read More
Developing iOS Project with Firebase: Logging in and Sending Push Notifications

Integrates Firebase to enable secure user authentication and push notifications in iOS applications.

Read More
Troubleshooting Bash Script with Suspected Issues of Spaces, Dashes, Filenames and Quoting

Resolve Bash script failures caused by word splitting, globbing, and special characters in filenames by applying proper quoting techniques.

Read More
Populating OneDrive Folder for Local Backup without Affecting Remote Files

Prevent OneDrive from deleting remote files during Windows reinstallation by unlinking the account or using symbolic links to isolate local data.

Read More
Force First Frame as Keyframe Without Re-encoding: A Quick Solution

Resolve inaccurate seeking and playback glitches by re-encoding video to ensure the first frame is a valid keyframe.

Read More
Find Information in Database Using WSL (Ubuntu) on Windows-10

Resolve database connection issues from WSL Ubuntu on Windows 10 by configuring client tools and network access to query remote or local servers.

Read More
Configuring a New Router with Different Networks: One Family, One Guest

Resolve IP conflicts and isolate guest traffic by configuring a second router with a distinct subnet via its WAN port.

Read More
Quickly Open Multiple Stock Websites with a Single Command

Solve the problem of manually opening multiple stock research websites by creating a single command to launch them simultaneously on Windows, macOS, or Linux.

Read More
Improved Adobe Acrobat Search Experience: Access Advanced Search with Ease

Access advanced search filters like case sensitivity and regex in Adobe Acrobat by clicking More Options in the Find bar.

Read More
Port Forwarding VM via OpenVPN: A Comprehensive Guide

Configure OpenVPN server and iptables to forward specific ports from VPN clients to a virtual machine's internal IP address.

Read More
Understanding Partitions in the 1980s: A Look Back at MS-DOS and Master Boot Record

Explains how the Master Boot Record and partition table enabled MS-DOS to manage multiple disk volumes on a single physical drive.

Read More
Windows 10 Enterprise: Keyboard Not Detected in Managed Organization with Admin Privileges

Resolve Windows 10 Enterprise keyboard detection failures caused by Group Policy restrictions, driver corruption, or USB enumeration errors.

Read More
Can't Find x86_64 Versions of Applications on MacOS arm64 (M1)

Resolve missing x86_64 app issues on M1 Macs by installing Rosetta 2 and reinstalling apps as universal binaries.

Read More
How to Hide Installation Source for an Android App

Manage Android app installation source visibility by using USB transfers or file managers to reduce browser traces and isolate data via work profiles.

Read More
Connecting Momentus 4200.2 ST9808210A Hard Drive via USB Cable

Resolve inability to access Seagate Momentus 4200.2 ST9808210A hard drive by connecting it via USB using a compatible SATA-to-USB adapter and configuring the disk in Windows.

Read More