Trying to Copy and Paste a Filtered Column

ctackett6407

Board Regular
Joined
Mar 18, 2018
Messages
66
Office Version
  1. 365
Platform
  1. Windows
I know I cannot be the first to try this; however, I cannot figure out the search terms to find something that helps me.

I have filtered column K and L so that only blanks show.

I want to take all the values of column J and copy them into column L

the problem is that it only pastes hit and miss values.

Any solution that anyone know of to fix this?
 

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.
Run this macro:

Code:
Sub Copy_Paste_Filtered_Column()
  Dim i As Long
  For i = 2 To Range("J" & Rows.Count).End(xlUp).Row
    If Cells(i, "K").Value = "" And Cells(i, "L").Value = "" Then
      Cells(i, "L").Value = Cells(i, "J").Value
    End If
  Next
End Sub
 
Upvote 0

Forum statistics

Threads
1,224,874
Messages
6,181,510
Members
453,048
Latest member
engkinooi

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