Hi a beginner here, My VBA filter code seems to duplicate when only one row of the range meets the criteria
Function FilterData(x As Range, c As Variant, d As Variant) As Variant
Dim filtered_nrows As Long
Dim filtered_Data() As Variant
Dim Numrows As Long
Dim Rows As Long
Dim i As Long