i need to extract a paticular column in a excel where in that column i need to fetch particular value like if column contains

i need to get particular jasmine alone how can put conditions?any suggestions?
i need to extract a paticular column in a excel where in that column i need to fetch particular value like if column contains

i need to get particular jasmine alone how can put conditions?any suggestions?
Use below code in try catch and catch invalid operation exception
Try{
Dt =dt.select(ācolumnname= ājasmineāā).copytodatatable
Dt = dt.totable.defaultview(false,ācolumnnameā) (just check dt.totable or dt.table)![]()
Catch{
Column dose not contain jasmin
}
Let me know if i can assist you further.
Regards
Aditya
can u please explain bit moreā¦on this or share xml?
Use assign stage like below
dt = dt.select(āyourcolumnname=ājasmineāā).copytodatatable
This will return exception if there is no record (cell in this case) in column.
So if above equation is successful then
Use
dt = dt.totable.defalutview(false, āyourcolumnNameā)
Above equation will return datatable with single column
This is your answer ![]()
@priyankavivek Here you go ExcelCondition.zip (24.8 KB)
@priyankavivek
Have you tried lookup Range which will provide you with the found cell. Pass it to Read Column and take it from there.
iwasnt able to open them
@priyankavivek What error you are getting
loads on restoring dependent
@priyankavivek Which version of uipath you are using
2019.6.0
@priyankavivek Try this
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.