Finding strings in an excel cell and deleting the entire row
1 view (last 30 days)
Show older comments
Hi,
i have an excel sheet that contains plethora of cells, I want to check the complete sheet for the cells with strings eg:"0.66ttw" or "ter" like that and delete the complete row. can anyone help me with that?
0 Comments
Answers (1)
dpb
on 15 Nov 2021
Hint for future -- check out the "SEE ALSO" links Answers pops up to your Q?.
Of course, you'll still have to identify the row(s) to be deleted which means reading the sheet anyway.
Remember that when you delete a one row, the row numbers from that point on change so if deleting more than one row you'll need to work from rear to front.
0 Comments
See Also
Categories
Find more on Data Import from MATLAB in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!