In my previous company, we had a full-time Excel Guru who would do crazy coding to simplify our analysis job and she created an analysis sheet which had prepopulated items which may or may not be useful for a particular project. The ones which are NOT useful will remain zero, and can be hidden by pressing Hide Button.
For ex: If any cell in Column E is Zero, there can be a button to Hide the whole row which is E4 row and E9 row. If i remember right, it was a combination of Conditional Formatting and VBA.
[TABLE="width: 489"]
<tbody>[TR]
[TD]A1[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[TD]E[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]Item[/TD]
[TD]Cost[/TD]
[TD]Qty[/TD]
[TD]Total[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]Product X[/TD]
[TD] $5.00[/TD]
[TD]5[/TD]
[TD] $25.00[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]Product Y[/TD]
[TD] $ -[/TD]
[TD]0[/TD]
[TD] $-[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]Product Z[/TD]
[TD] $4.00[/TD]
[TD]1[/TD]
[TD] $4.00[/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD]Subtotal[/TD]
[TD][/TD]
[TD][/TD]
[TD] $29.00[/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD]Product A[/TD]
[TD] $2.00[/TD]
[TD]4[/TD]
[TD] $8.00[/TD]
[/TR]
[TR]
[TD]8[/TD]
[TD]Product B[/TD]
[TD] $1.00[/TD]
[TD]6[/TD]
[TD] $6.00[/TD]
[/TR]
[TR]
[TD]9[/TD]
[TD]Product A[/TD]
[TD] $ -[/TD]
[TD]0[/TD]
[TD] $-[/TD]
[/TR]
[TR]
[TD]10[/TD]
[TD]Subtotal[/TD]
[TD][/TD]
[TD][/TD]
[TD] $14.00[/TD]
[/TR]
</tbody>[/TABLE]
Any help or assistance is appreciated.
For ex: If any cell in Column E is Zero, there can be a button to Hide the whole row which is E4 row and E9 row. If i remember right, it was a combination of Conditional Formatting and VBA.
[TABLE="width: 489"]
<tbody>[TR]
[TD]A1[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[TD]E[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]Item[/TD]
[TD]Cost[/TD]
[TD]Qty[/TD]
[TD]Total[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]Product X[/TD]
[TD] $5.00[/TD]
[TD]5[/TD]
[TD] $25.00[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]Product Y[/TD]
[TD] $ -[/TD]
[TD]0[/TD]
[TD] $-[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]Product Z[/TD]
[TD] $4.00[/TD]
[TD]1[/TD]
[TD] $4.00[/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD]Subtotal[/TD]
[TD][/TD]
[TD][/TD]
[TD] $29.00[/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD]Product A[/TD]
[TD] $2.00[/TD]
[TD]4[/TD]
[TD] $8.00[/TD]
[/TR]
[TR]
[TD]8[/TD]
[TD]Product B[/TD]
[TD] $1.00[/TD]
[TD]6[/TD]
[TD] $6.00[/TD]
[/TR]
[TR]
[TD]9[/TD]
[TD]Product A[/TD]
[TD] $ -[/TD]
[TD]0[/TD]
[TD] $-[/TD]
[/TR]
[TR]
[TD]10[/TD]
[TD]Subtotal[/TD]
[TD][/TD]
[TD][/TD]
[TD] $14.00[/TD]
[/TR]
</tbody>[/TABLE]
Any help or assistance is appreciated.