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
Excel Insights – A Microsoft MVP Guide to the Best Parts of Excel

There are fewer than 100 Excel MVPs worldwide. 24 of them have contributed to this book. Written, edited, reviewed and printed by Excel MVPs, this is practical Excel passion undiluted, with each MVP highlighting some of their favorite topics.