You can use the LINQ Expressions to store the required output in two variables called Value1 and Value2.
→ Use Read range workbook activity to read the excel and store in a datatable variable called DT.
→ Use the two assign activity to write the LINQ Expression,
- Assign -> Value1=(From X In DT.AsEnumerable
Where X(1).ToString().Equals(inputValue.ToString())
Select X(0)).FirstOrDefault().toString
- Assign -> Value2=(From X In DT.AsEnumerable
Where X(1).ToString().Equals(inputValue.ToString())
Select X(2)).FirstOrDefault().toString
Check the below workflow for better understanding, Sequence19.xaml (13.5 KB)
Use Generate Data Table to make it a proper datatable. Then you can easily use other activities like Filter Data Table, Lookup Data Table, etc to get what you want out of it.