Compare two columns text
Closed
Zak
-
Jun 28, 2012 at 03:13 AM
venkat1926 Posts 1863 Registration date Sunday June 14, 2009 Status Contributor Last seen August 7, 2021 - Jun 28, 2012 at 06:55 AM
venkat1926 Posts 1863 Registration date Sunday June 14, 2009 Status Contributor Last seen August 7, 2021 - Jun 28, 2012 at 06:55 AM
Related:
- Compare two columns text
- Beyond compare - Download - File management
- Display two columns in data validation list but return only one - Guide
- Tweetdeck larger columns - Guide
- Excel compare two sheets - Guide
- How to delete rows and columns in word - Guide
1 response
venkat1926
Posts
1863
Registration date
Sunday June 14, 2009
Status
Contributor
Last seen
August 7, 2021
811
Jun 28, 2012 at 06:55 AM
Jun 28, 2012 at 06:55 AM
Sub test() Dim r As Range, filt As Range Worksheets("sheet2").Cells.Clear With Worksheets("sheet1") Set r = .Range("a1").CurrentRegion r.AutoFilter field:=1, Criteria1:="private" r.AutoFilter field:=2, Criteria1:="car" Set filt = r.Offset(1, 0).Resize(r.Rows.Count - 1).SpecialCells(12) filt.Copy With Worksheets("sheet2") .Cells(Rows.Count, "A").End(xlUp).Offset(1, 0).PasteSpecial End With .AutoFilterMode = False End With Application.CutCopyMode = False End Sub