Copy_Paste filtered data using F5

Neets

Board Regular
Joined
Mar 18, 2010
Messages
70
Hi, I know how to copy & paste filtered data using "Visible Cells Only", but it only seems to work when you are pasting to an "unfiltered" spreadsheet. Is there a way to copy a filtered selection then paste that data back into the same filtered spreadsheet in a different column?

When I try this it only pastes the first cell in the range.

Thanks!
 

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.
I think you'll have to loop through visible cell by visible cell, probably using .offset.
 
Upvote 0
I'm assuming that would be macro oriented? This is for a user who just wants to do the copy/paste visible cells on the fly.

Thanks!
 
Upvote 0
I'm assuming that would be macro oriented? This is for a user who just wants to do the copy/paste visible cells on the fly.

Thanks!
Right… if it's only values you want to copy across and the filter doesn't change between the copying and subsequent pasting, try this:
Filter the range
Select the destination range
Tweak with f5 visible cells
type in the formula:
=
(yes, just an equal sign)
then use the cursor keys to the left or right to the source column (no holding the shift key down or anything, just one cell),
then hold the Control key down while pressing Enter.
Then you'll have the problem of copy/paste-values of non-contiguous ranges unless it doesn't matter if the whole destination column is values.
 
Upvote 0
Brilliant! It works and does not mess with the existing filter.

Thanks so much, will pass on to others!
 
Upvote 0

Forum statistics

Threads
1,224,518
Messages
6,179,248
Members
452,900
Latest member
LisaGo

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