Back

About MrExcel
Consulting Services
Learn Excel Resources
Challenge of the Month
MrExcel Seminars

Message Board

MrExcel Store
Podcast
Search
Contact
Home

 

 

Past Tip of the Day

 

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 http://www.mrexcel.com/tip003.shtml

By Bill Jelen on 03-Dec-2001

MrExcel.com Consulting can be hired to implement this concept, or many other cool applications, with your data.

MrExcel.com provides examples of Visual Basic procedures for illustration only, without warranty either expressed or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose. The Visual Basic procedures on this web site are provided "as is" and we do not guarantee that they can be used in all situations.

 

Excel is a registered trademark of the Microsoft® Corporation.

All contents Copyright 1998-2008 by MrExcel Consulting.