What I want the robot to do is check through the data table for these conditions;
If there is a date in column I that is BEFORE todays date.
If there is only a 0 in column N. (not completely necessary, since if condition 1 is met then condition 2 is always true)
If there is a number leading with “23000” in column R.
If all of these conditions are met, I need it to create a csv file that contains all of the lines for each unique value in column R. So, 2300011111 would have a csv, 2300022222 would have a csv, etc. It needs to only make csvs that meet the conditions above.
What is the best way to do this? A For Each statement? I’m unsure how to set the conditions and then have it loop for each unique value in column R. Any help is appreciated!
It works great on the sample data, thank you very much! I was wondering, is it possible to do the same for a generated data table? I get the following error when I am using my data table instead of the read range. My data table is what is used to generate that sample file.
I made a slight adjustment to my process and it is working now! I had a few items in the wrong sequence when I moved it from the sample to the project. Thank you so much! This helps me move on to my next step. I need to Filter column R by unique values, save the rows to a csv, and iterate for each unique value in R.