Hi,
I have a table in a range (A2:D100) with fruit names.
I would like a macro that hides all rows in table range which do not satisfy one of these 3 conditions:
1. Cell in column A has value "pear" and equivalent cell in column C has value "apple" (e.g. cell A3 = "pear" and cell C3 ="apple")
or else
2. Cell in column A has value "kiwi" and equivalent cell in column C has value "cherry" (e.g. cell A4 = "kiwi" and cell C4="cherry")
or else
3. Cell in column A has value "melon" and equivalent cell in column C has value "fig" (e.g. cell A5 = "melon" and cell C5 ="fig")
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 in table range which do not satisfy one of these 3 conditions:
1. Cell in column A has value "pear" and equivalent cell in column C has value "apple" (e.g. cell A3 = "pear" and cell C3 ="apple")
or else
2. Cell in column A has value "kiwi" and equivalent cell in column C has value "cherry" (e.g. cell A4 = "kiwi" and cell C4="cherry")
or else
3. Cell in column A has value "melon" and equivalent cell in column C has value "fig" (e.g. cell A5 = "melon" and cell C5 ="fig")
How do I do that?
Thanks,
N.