I am having one excel with header as “car, name and purchase”.
So we have to write purchase value “40000” in front of name. But is it possible to filter “name” column and then update rather than updating each row.
For ex. “name column having value Andrew” so BOT have to pick all “andrew” and update purchase value in front of that row which having name as “andrew”. test.xlsx (11.0 KB)
Read the data into datatable and then perform your actions and write the data back to excel
For example if you want to update all rows with name as ANDREW then use a for loop and write a if condition to check the name andrew ans if yea then update the respective column
You can do the same by using for eqch row in excel also and use a if condition like currentrow(“name”).ToString.equals(“Andrew”)