Paste Filtered Date from one Column to another Filtered Column

snaplink22

Board Regular
Joined
Jul 6, 2018
Messages
129
Hello,

I've research this issue, but haven't found a simple explanation so I'm hoping someone can assist me. How do I paste filtered data from one column into another filtered column? No this is not as simple as selecting the "visible cells" in one column and then selecting paste in the second column. I have several rows filtered out and need to copy the filtered data from column B to column A so it ignores all the filtered out data.

Example: My sheet contains rows 1 - 50, but the filter has removed lines 16-32 leaving lines 1-15 & 33-50 visible. I want to copy the date in column B to those cells right next to each other in column A.

Thank you.
 

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.
How about
Code:
Sub CopyDate()
   Dim Rng As Range
   For Each Rng In Range("B:B").SpecialCells(xlVisible).Areas
      Rng.Offset(, -1).Value = Rng.Value
   Next Rng
End Sub
 
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,323
Members
452,635
Latest member
laura12345

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