UiPath How to loop through rows and columns in Excel sort search inputbox


image
image

How to loop through rows and columns in Excel sort search input box. This is similar like seach specified value in A column data.

Please help, I stuck a lot of time

Hi @Pru follow the below screenshot to get the column values from excel sheet.

1 Like

Hi @Pru

Welcome to Uipath community

As @Tapan_Behera1 Suggestion You can use For Each Row in DataTable activity to loop through all the row.

Regards
Gokul

2 Likes

Yes, after reading the excel A column data, I need to input the search box so that I can search the specified data row.

image

Finally, user who can get the specified result

Okay, you can use the type into activity and provide currentrow(“column name”).tostring

image

Hi @Pru

We can use 2 method

  1. dt = dt.Select(“[StaffID]=‘S13’”).CopyToDataTable

  2. Use “Filter Data Table” Activity

Thanks,
HariVishnu

I click the indicate on screen button and then to choose search box, but it disappearing.

Hi @Pru

What about below Xaml

test.xaml (8.3 KB)

Thanks,
HariVishnu

1 Like

And I have another question. How can I make the data such as “S13” save to Sheet2?

You can use the activity like write range or append range or write cell activity for this.

1 Like

Hi,
You Just Need to Change Write Range Activity and Mention Sheet Name

image

If you want that Sheet as Datatable
U have Build one Datatable and mention in FilterDatatable Activity

Thanks,
HariVishnu

1 Like

BlankProcess.zip (13.0 KB)
Is it something wrong???
How can I get the “S13” row to generate in Sheet2? :smiling_face_with_tear:

Hi @Pru
Kindly Check below
you have mentioned “<” instead of “=”

Thanks,
HariVishnu

Filter Data Table error, noooo

Hi @Pru

Kindly Check Below Xaml

Test.zip (136.9 KB)

in WriteRange Activity
Note: Add Header in the property Panel
image

Thanks
Harivishnu

Hello @Pru

As per my understanding based on the screenshot that you have shared, you are trying to implement UI based automation on Excel. But UiPath is providing default packages to automate Excel without using the UI activities.

Thank you for helping me !!!

1 Like

Is your issue resolved?

Thanks