Hi @myangh860 ,
My understand is you have excel file with 2 columns
1 columns is “No. name hobby”, 1 column is “value translate”
you want to translate each row in No. then paste translate to value
that’s right?
You can follow this step
1.read range to get data table
Oh, your topic is edited 6th, when I reply I don’t see your table hahaa
No problem
Can please you tell more about case duplicate in columns “name” , what value we need get at column “habobby”
or you can share your desired result
regards,
Hi @myangh860 ,
Yes, I see, we can filter or check before search
you can see, green is rows will search
red is not search because duplicate with above
that’s right?
regards,
There is no need to repeat each line when looking up a Name.
If you repeat each row in Excel, you will get duplicate ‘names’.
I want to get non-duplicate values without getting duplicate names.
Then just use this to get dt = dt.AsEnumerable.GroupBy(function(x) x("Name").ToString + x("habobby").ToString).Select(function(x) x.First).CopyToDataTable
Hi @myangh860 ,
my newest output
but in now way, I search all then check output if
eg:
A->A (X) no search
A->B(O) search
if your input is too large I think we can use other way is filter before search
regards,