Can someone please help me how to filter data excel and save it to a new excel file

from this one
to this one

@jovarie.inoc
Could you please elaborate on your requirement?

Hi,

If your input is as the following,

image

Is the result the following right?

image

If so, the following will work.

  dict = dtSrc.AsEnumerable.GroupBy(Function(r) r("Employee ID").ToString).ToDictionary(Function(g) g.Key,Function(g) g.ToArray)

Ssample20221216-3.zip (10.8 KB)

Regards,

Thank you for your fast response. It is working.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.