Copy visible cells

Peter100

Well-known Member
Joined
Apr 21, 2002
Messages
765
I have a database which i have used subtotals on. Can I copy just the subtotals to another sheet without selecting the individual cells ie close the subtotal view to only show the subtotal values , highlight them all then copy and paste ?
 

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).
Select the area you want to copy. Press F5 click Special, click visible cells only click OK. Copy, then paste where you want.

There is a toolbar button for visible cells only if you use it lots.

HTH
 
Upvote 0
after I choose "visible cells only" nothing happens.i.e. the paste does not show anything
 
Upvote 0
after I choose "visible cells only" nothing happens.i.e. the paste does not show anything
Welcome to the MrExcel board!

The steps are:

1. Select the (collapsed) Subtotals range.

2. Alt+; (or Blacky's method) to select the visible cells only.

3. Copy

4. Move to where you want and Paste.
 
Upvote 0
Note: This only works if you paste into a worksheet that was opened in the SAME INSTANCE of Excel. If you try to paste into a worksheet in a new instance of Excel it will paste all the cells, not only the visible ones (for Excel 2007).
 
Upvote 0
Note: This only works if you paste into a worksheet that was opened in the SAME INSTANCE of Excel. If you try to paste into a worksheet in a new instance of Excel it will paste all the cells, not only the visible ones (for Excel 2007).
Sure, but I guess that wouldn't be such a common occurrance. :)
In any case a few extra steps should achieve the same result.

After copying to the second instance of Excel ..

1. Apply AutoFilter
2. (Custom) Filter the relevant column for 'does not end with' ' Total' (or ' Count', ' Average' etc - depending on your type of SubTotal)
3. Select & delete all the rows below the heading row
4. Remove the AutoFilter
 
Upvote 0

Forum statistics

Threads
1,214,646
Messages
6,120,715
Members
448,985
Latest member
chocbudda

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top