Count is similar names present in the list and save it as datatable

HI @Ray_Sha1

Try this instead of the above

(Function(r) r("Invoice Number").ToString.ToUpper="INV002")

Regards
Sudharsan