How can I perform repeated CountIf()s on a range as efficiently (performance-wise) as possible?
CountIf()
Dim rowin as integer 'this is a counter for the row index For rowin = 2 To Sheets("Sheet1").UsedRange.Rows.Count Sheets("Sheet1").Range("D" & rowin).Value = WorksheetFunction.CountIf(Range("A:A"), Range("C" & rowin)) Next