I have an excel sheet with a consistent format of columns like address, name, date, email, and phone. But I can’t just do a for each activity because after all of the data there is a Totals row, a blank row, another Total row, and a summary row that is in between the data I need.
How can I parse through the rows to only get the rows with the data I need (address, name, date, email, and phone)?
Hi Paul and thanks for getting back to me so quickly.
So you’re saying to do a For Each, with an If statement inside and a break?
I figured out a pattern. All of the rows with data I need start with an address which always starts with white space and an integer. What would my condition be to check if column 1 has an int?
Hello, i have an idea, why don’t you use a filter data table activity ? with this you can easly choose which data to keep and which data to delete… like keeping only the rows that contains “True”…
Get everything and then just use “Filter DataTable” activity to remove all except the ones that meet your criteria in this case that all 5 columns are not empty.
@mz3bel@rmunro This is what I am troubleshooting now. I am trying to figure out what I need to put for the value in the Filter Wizard. I want to check if column 0 Contains any integer.
But this wont take into account the rows that are headers. Thats why I was thinking instead of deleting all of those possible cases, I can filter by only including rows where column 0 contains integer. I just have to figure out the code for that!