How do I run vlookup on a workbook using values from two other workbooks,
I am trying to fetch phone numbers using matching names but the phone numbers are in more than one workbook?
what to do?
How do I run vlookup on a workbook using values from two other workbooks,
I am trying to fetch phone numbers using matching names but the phone numbers are in more than one workbook?
what to do?
Hi @JoshuaOke,
You can use the Run Macro activity or Invoke VBA to run a macro, in a macro/vba you can have any excel formula or anything related with excel. That’s one solution, another one could be to download an Uipath package that does a vlookup but honestly, I prefer the first one. Good Luck!
First step if you are not comfortable with macros as @rmunro has suggested is to maybe get the data out of excel. Simply read the various files into datatables.
Then you can use the Lookup DataTable activity. Much less painful than trying to get UiPath to start writing excel formulas into your workbooks.
Hi,
May I know if the above steps could be performed in workbook .
I am trying to avoid excel application scope for retaining cell format
Yes, we have write cell activity available with the system.file as well
Hi,
I have a following requirement where excel-1 will have Name and excel-2 will have Name,Designation and package. as follows:
and .
i want to use vlookup to search in excel-2 to find the vpackage value of peter with senior software engineer as designation. basically I want to use vlookup for filtering the excel -2 based on two column.
Thanks.
Dasharath ND
Read both tables into datatable objects then you can complete using the lookup datatable activity
but i want to validate both the columns in excel-2.both Name,Designation column needs to satisfy.
please note i have designation column in excel-1 also.
IF dt2value_name = row.item(“Name”).tostring and dt2value_designation = row.item(“Designation”).tostring THEN
Lookup Datatable, target the Package column
can you provide any sample xaml file??
Lookup datatable example