lakshmi.mp
(Lakshmi Mp)
October 25, 2022, 12:33pm
1
Hi All,
Excel file has some unwanted rows of data need to remove those particular rows. By taking one column (Sl. No) as condition how to do this, please help.
Below attached file is the sample file, please look on it.
test_file.xlsx (8.8 KB)
Input data:
Expected output:
How to do this. Please help me.
Regards,
Lakshmi
Gokul001
(Gokul Balaji)
October 25, 2022, 12:37pm
2
Hi @lakshmi.mp
You can try with Filter datatable activity
Regards
Gokul
lakshmi.mp
(Lakshmi Mp)
October 25, 2022, 12:39pm
3
hi @Gokul001 ,
i tried but its deleting whole excel file. What to do.
Regards,
Lakshmi
postwick
(Paul Ostwick)
October 25, 2022, 12:40pm
4
Read Range into a datatable. Remove the rows you don’t want, from the datatable. Write to a new Excel file. Delete old Excel file.
Hi @lakshmi.mp ,
You can filter your excel like this.
After, you can write filtered table to the excel.
Regards.
Ömer
1 Like
lakshmi.mp
(Lakshmi Mp)
October 25, 2022, 1:00pm
6
Hi @omer.ozturk ,
Thanks a lot helping. I tried using “SI. No” = “PW980”, its was deleting all the rows.
Thanks & Regards,
Lakshmi
1 Like
@lakshmi.mp ,
I’m glad this activity works, i thought you need to specify the rows start with PW
Have a nice day.
Regards.
Ömer
1 Like
postwick
(Paul Ostwick)
October 25, 2022, 1:02pm
8
lakshmi.mp:
“Sl no.” = “PW980”
That column name is wrong. It’s “SI. No”
1 Like
system
(system)
Closed
October 28, 2022, 1:02pm
9
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.