how to do vlookup by not putting the forumula in modern activities write cell
without writing the actual formula in write cell how to do vlookup without modern activities if the reference and lookup column is same
the refernce and lookup value is same so if i use this iam not getting output
sheet1.xlsx (5.6 MB)
sheet2.xlsx (11.7 KB)
from sheet2 i have to get number
in sheet one odn number is reference
in sheet2 number is reference
I have to get number in classification column of sheet1
I have used the same but I didnt get the data because reference is the same and lookup value is same
If both are aame why do you need a look up?
Directly use the value you are looking up for…
Do you want to check if value is present in a datatable?
Cheers
but the number of line items are more but I just want to get the common line items by vlookup
I have done but its taking more time because I have 3 lakh line items how to do it fastly
I have done this but the code is slow because data is huge
So what is the final outcome you need?
How do you think lookup will solve the problem?
Try using linq for filtwring dt.AsEnumerable.Where(function(x) x("ColumnName").ToString.Equals("ValueToFilter"))
For this first do a .Count>0 if yes then there are rows…to get rows you can do .CopyToDataTable
Cheers
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.