MrExcel Publishing
Your One Stop for Excel Tips & Solutions

Copying Subtotaled Data

December 03, 2001 - by Bill Jelen

Geri wrote with today's question:

How can I copy a sheet that has been subtotaled and then condensed to totals, to another sheet without all of the underlying detail?

Great question. When you use the Group and Outline buttons (or even the AutoFilter) to hide certain rows and then try to copy them, you find that Excel copies all of the hidden rows as well. Luckily, there is an easy, if not intuitive, solution to the problem.

First, highlight all of the totals like you normally would.

Then, from the menu, choose Edit > GoTo. Click the Special button to open up the GoTo Special dialog box. In this dialog box, select Visible Cells Only from the right column.

You can now use Ctrl + C or Edit - Copy to copy the subtotals, then use Edit > PasteSpecial > Values to paste them in a new location.


This was one of the original tips of the week - you can check out an image of the dialog box at

Bill Jelen is the author / co-author of
Microsoft Excel 2019 Pivot Table Data Crunching

Use Excel 2019 pivot tables and pivot charts to produce powerful, dynamic reports in minutes instead of hours, to take control of your data and your business. Even if you’ve never created a pivot table before, this book will help you leverage all their remarkable flexibility and analytical power–including valuable improvements in Excel 2019 and Excel in Office 365.