you can get unique account numbers manually by using advanced filter
if you want the VBA to do that try this
Dim OO_Dic As Object
Dim Col_ID As Integer
Dim ST_RW As Long, Last_RW As Long
Dim i As Long
Dim Ac_No As String
Set OO_Dic = CreateObject("Scripting.Dictionary")
Col_ID = 1 ' set the column of account numbers
ST_RW = 2 'starting row no
Last_RW = Cells(Rows.Count, Col_ID).End(xlUp).Row 'get last row no
For i = ST_RW To Last_RW
Ac_No = Trim(Cells(i, Col_ID).Value)
If Ac_No <> "" Then
If OO_Dic.exists(Ac_No) = False Then
OO_Dic.Add Ac_No, Ac_No
End If
End If
Next i
MsgBox OO_Dic.Count 'Unique count
Set OO_Dic = Nothing