Hello,
I’ve really appreciated the support this board has given me as I learn VBA. I have three columns – Q, R, and S. I only need to see columns R and S if the cell values don’t equal those in column Q or each other. So if I have cell values like the ones listed in the example below, then I don’t need to see columns R and S.
[TABLE="width: 287, align: center"]
<tbody>[TR]
[TD]Q Header[/TD]
[TD]R Header[/TD]
[TD]S Header[/TD]
[/TR]
[TR]
[TD]50[/TD]
[TD]50[/TD]
[TD]50[/TD]
[/TR]
[TR]
[TD]50[/TD]
[TD]50[/TD]
[TD]50[/TD]
[/TR]
[TR]
[TD]50[/TD]
[TD]50[/TD]
[TD]50[/TD]
[/TR]
[TR]
[TD]25[/TD]
[TD]25[/TD]
[TD]25[/TD]
[/TR]
[TR]
[TD]20[/TD]
[TD]20[/TD]
[TD]20[/TD]
[/TR]
[TR]
[TD]50[/TD]
[TD]50[/TD]
[TD]50[/TD]
[/TR]
</tbody>[/TABLE]
I’ve been stumped on this for a while, and I hope I’ve explained it clearly. Thanks for your help!
I’ve really appreciated the support this board has given me as I learn VBA. I have three columns – Q, R, and S. I only need to see columns R and S if the cell values don’t equal those in column Q or each other. So if I have cell values like the ones listed in the example below, then I don’t need to see columns R and S.
[TABLE="width: 287, align: center"]
<tbody>[TR]
[TD]Q Header[/TD]
[TD]R Header[/TD]
[TD]S Header[/TD]
[/TR]
[TR]
[TD]50[/TD]
[TD]50[/TD]
[TD]50[/TD]
[/TR]
[TR]
[TD]50[/TD]
[TD]50[/TD]
[TD]50[/TD]
[/TR]
[TR]
[TD]50[/TD]
[TD]50[/TD]
[TD]50[/TD]
[/TR]
[TR]
[TD]25[/TD]
[TD]25[/TD]
[TD]25[/TD]
[/TR]
[TR]
[TD]20[/TD]
[TD]20[/TD]
[TD]20[/TD]
[/TR]
[TR]
[TD]50[/TD]
[TD]50[/TD]
[TD]50[/TD]
[/TR]
</tbody>[/TABLE]
I’ve been stumped on this for a while, and I hope I’ve explained it clearly. Thanks for your help!