Hi,
I have a filter applied on column F based on a criteria (>1)
where rng is set for the data via VBA earlier.
Now from the filtered rows I want to apply another filter on Col E (5) and cycle through each of the unique visible values in Col E and perform some comparisons on the data and determine whether to keep it or delete those rows- but I don't know what values would be shown - that depends on the first filter - how do I accomplish this?
Here is a screenshot of the data with the first filter applied on Col F, now I would like to cycle through the 2 unique values (in this case) in Col E based on this filter:
If there is a more elegant solution than filter then I am open to that - I have tried Pivots and advanced filters but could not figure out a solution.
Thanks in advance and all help is appreciated.
I have a filter applied on column F based on a criteria (>1)
Code:
rng.AutoFilter Field:=6, Criteria1:=">1"
Now from the filtered rows I want to apply another filter on Col E (5) and cycle through each of the unique visible values in Col E and perform some comparisons on the data and determine whether to keep it or delete those rows- but I don't know what values would be shown - that depends on the first filter - how do I accomplish this?
Here is a screenshot of the data with the first filter applied on Col F, now I would like to cycle through the 2 unique values (in this case) in Col E based on this filter:

If there is a more elegant solution than filter then I am open to that - I have tried Pivots and advanced filters but could not figure out a solution.
Thanks in advance and all help is appreciated.