I am trying to create a formula which will count all rows (duplicates as one) based on a value in another column.