I have an excel sheet where there are 7 columns. I need to get unique count of users(in column A) based on filtering column C(Active - A, Inactive - I). Example
User_ID Status
A1 A
A2 I
A1 A
A3 I
A2 I
Currently, I am using below code to get total count of the column but I need to first filter Status=A, then get unique count of column User_ID if any duplicates are there in column A. I searched on the internet but was not able to find any proper solution, I am very new to VBA so kindly help.
DSheet.Range("A2").End(xlDown).Row