I am trying to create a macro that looks at two different columns and hides all the other data if these two match.
For example:
Say is Column A we have fruit:
Strawberries
Bananas
Watermellon
Strawberries
Say in Column B we have the amount of each fruit:
15
12
4
6
I want to filter through column A and look for strawberries but ONLY display strawberries when there are 15 of them (rather just both 15 and 6). So I need to check column B for the value as well. and then hide everything else.
I am completely stuck so any sample code would be incredibly helpful!
Bookmarks