Hi,
I have a table in a range (A2:D100) with fruit names.
I would like a macro that hides all rows that have value = "pear" in column A and at the same time value "apple" in column C (in same row).
If cell in column A has "pear" (e.g. in cell A4) but value in cell C4 does not have "apple" then the row is NOT hidden.
For row to be hidden cell A4 must have "pear" and cell C4 must have "apple" so both conditions must be met.
How do I do that?
Thanks,
N.
I have a table in a range (A2:D100) with fruit names.
I would like a macro that hides all rows that have value = "pear" in column A and at the same time value "apple" in column C (in same row).
If cell in column A has "pear" (e.g. in cell A4) but value in cell C4 does not have "apple" then the row is NOT hidden.
For row to be hidden cell A4 must have "pear" and cell C4 must have "apple" so both conditions must be met.
How do I do that?
Thanks,
N.